commit df1fecf0954b831e59b906f0aad3b9e3c9d8f494 parent f1ea2a18ea1e0dbe70b4259f4b02343aa2233858 Author: Christian Grothoff <christian@grothoff.org> Date: Sat, 26 Dec 2020 16:23:37 +0100 document new failure case Diffstat:
| M | core/api-auditor.rst | | | 7 | ++++++- |
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git 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