summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-26 16:23:37 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-26 16:23:37 +0100
commitdf1fecf0954b831e59b906f0aad3b9e3c9d8f494 (patch)
treeb072ae3d48b4a841734609054a073cb2cf8f9ea8 /core
parentf1ea2a18ea1e0dbe70b4259f4b02343aa2233858 (diff)
downloaddocs-df1fecf0954b831e59b906f0aad3b9e3c9d8f494.tar.gz
docs-df1fecf0954b831e59b906f0aad3b9e3c9d8f494.tar.bz2
docs-df1fecf0954b831e59b906f0aad3b9e3c9d8f494.zip
document new failure case
Diffstat (limited to 'core')
-rw-r--r--core/api-auditor.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/api-auditor.rst b/core/api-auditor.rst
index 74216bf..fd3803c 100644
--- a/core/api-auditor.rst
+++ b/core/api-auditor.rst
@@ -141,13 +141,18 @@ paid out first.
:http:statuscode:`200 Ok`:
The auditor responds with a `DepositAudited` object.
This request should virtually always be successful.
+ :http:statuscode:`403 Forbidden`:
+ The signature on the deposit confirmation is invalid.
+ :http:statuscode:`410 Gone`:
+ The public key used to sign the deposit confirmation
+ was revoked.
**Details:**
.. ts:def:: DepositAudited
interface DepositAudited {
- // TODO: do we care for the auditor to sign this?
+ // TODO: maybe change to ``204 No content`` instead?
}
.. ts:def:: DepositConfirmation