diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-31 16:27:43 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-31 16:27:43 +0100 |
commit | a875828acb66b96fdaa80f24a88ccc69abb29654 (patch) | |
tree | b79a3f7c0de70ef833d9788647ee0ef1f3670a3b /core/api-bank-access.rst | |
parent | f82d5092cdc8fa3a123404f680b43a937cc6ef11 (diff) | |
download | docs-a875828acb66b96fdaa80f24a88ccc69abb29654.tar.gz docs-a875828acb66b96fdaa80f24a88ccc69abb29654.tar.bz2 docs-a875828acb66b96fdaa80f24a88ccc69abb29654.zip |
clean up use of HTTP status codes
Diffstat (limited to 'core/api-bank-access.rst')
-rw-r--r-- | core/api-bank-access.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/api-bank-access.rst b/core/api-bank-access.rst index abd7d5c1..456211b7 100644 --- a/core/api-bank-access.rst +++ b/core/api-bank-access.rst @@ -118,8 +118,8 @@ name and account password, at least in the GNU Taler demo bank implementation. Abort a withdrawal operation. Has no effect on an already aborted withdrawal operation. - :status 200 OK: The withdrawal operation has been aborted. The response is an empty JSON object. - :status 409 Conflict: The reserve operation has been confirmed previously and can't be aborted. + :http:statuscode:`200 OK`: The withdrawal operation has been aborted. The response is an empty JSON object. + :http:statuscode:`409 Conflict`: The reserve operation has been confirmed previously and can't be aborted. .. http:POST:: ${BANK_API_BASE_URL}/accounts/${account_name}/withdrawals/${withdrawal_id}/confirm @@ -128,8 +128,8 @@ name and account password, at least in the GNU Taler demo bank implementation. **Response** - :status 200 OK: The withdrawal operation has been confirmed. The response is an empty JSON object. - :status 409 Conflict: The reserve operation has been aborted previously and can't be confirmed. + :http:statuscode:`200 OK`: The withdrawal operation has been confirmed. The response is an empty JSON object. + :http:statuscode:`409 Conflict`: The reserve operation has been aborted previously and can't be confirmed. @@ -157,4 +157,4 @@ Registration (Testing) **Response** - :status 200 OK: Registration was successful + :http:statuscode:`200 OK`: Registration was successful |