From df1fecf0954b831e59b906f0aad3b9e3c9d8f494 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 26 Dec 2020 16:23:37 +0100 Subject: document new failure case --- core/api-auditor.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/api-auditor.rst b/core/api-auditor.rst index 74216bf7..fd3803ce 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 -- cgit v1.2.3