diff options
author | Linus Nordberg <linus@nordberg.se> | 2021-05-04 16:43:31 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2021-05-04 16:43:31 +0200 |
commit | 78c68e528517f157f29784f9dc87b3246f046e52 (patch) | |
tree | d8f48a349e5f7c98c007d64883e2b40adf0f18a2 /doc | |
parent | 866320e7cb3f8eee21f464cbc56d518f6eb66c72 (diff) |
no need for encoding SPACE
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -147,10 +147,10 @@ format as the input data, i.e. as ASCII key/value pairs on the format would send an HTTP message body consisting of `stlog-tree_size: 4711`. The HTTP status code is 200 OK to indicate success. A different HTTP -status code is used to indicate failure. The log should set the -"error" key to a human-readable value that describes what went wrong. -For example, `error=invalid+signature`, `error=rate+limit+exceeded`, -or `error=unknown+leaf+hash`. +status code is used to indicate failure. The log should set the value +value for the key `error` to a human-readable string describing what +went wrong. For example, `error: invalid signature`, `error: rate +limit exceeded`, or `error: unknown leaf hash`. ### get-tree-head-cosigned Returns the latest cosigned tree head. Used together with |