[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: add missing http status codes
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: add missing http status codes |
Date: |
Tue, 03 Mar 2020 19:22:28 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new e41f6e4 add missing http status codes
e41f6e4 is described below
commit e41f6e4aaf3abf95f3da98409259d246aac93283
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Mar 3 19:22:26 2020 +0100
add missing http status codes
---
core/api-wire.rst | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/core/api-wire.rst b/core/api-wire.rst
index 5fdb405..98e0741 100644
--- a/core/api-wire.rst
+++ b/core/api-wire.rst
@@ -52,8 +52,9 @@ Making Transactions
:status 200 OK:
The request has been correctly handled, so the funds have been transferred
to
the recipient's account. The body is a `TransferResponse`
- :status 400 Bad Request: The bank replies with an `ErrorDetail` object.
+ :status 400 Bad Request: Request malformed. The bank replies with an
`ErrorDetail` object.
:status 401 Unauthorized: Authentication failed, likely the credentials are
wrong.
+ :status 404 Not found: The endpoint is wrong or the user name is unknown.
The bank replies with an `ErrorDetail` object.
:status 409 Conflict:
A transaction with the same ``transaction_uid`` but different transaction
details
has been submitted before.
@@ -156,6 +157,9 @@ Querying the transaction history
**Response**
:status 200 OK: JSON object of type `IncomingHistory`.
+ :status 400 Bad Request: Request malformed. The bank replies with an
`ErrorDetail` object.
+ :status 401 Unauthorized: Authentication failed, likely the credentials are
wrong.
+ :status 404 Not found: The endpoint is wrong or the user name is unknown.
The bank replies with an `ErrorDetail` object.
.. ts:def:: IncomingHistory
@@ -235,6 +239,9 @@ Querying the transaction history
**Response**
:status 200 OK: JSON object of type `OutgoingHistory`.
+ :status 400 Bad Request: Request malformed. The bank replies with an
`ErrorDetail` object.
+ :status 401 Unauthorized: Authentication failed, likely the credentials are
wrong.
+ :status 404 Not found: The endpoint is wrong or the user name is unknown.
The bank replies with an `ErrorDetail` object.
.. ts:def:: OutgoingHistory
@@ -294,7 +301,7 @@ exposed by bank gateways in production.
the recipient's account. The body is a `AddIncomingResponse`
:status 400 Bad Request: The request is malformed. The bank replies with an
`ErrorDetail` object.
:status 401 Unauthorized: Authentication failed, likely the credentials are
wrong.
- :status 404 Not found: The user name is unknown. The bank replies with an
`ErrorDetail` object.
+ :status 404 Not found: The endpoint is wrong or the user name is unknown.
The bank replies with an `ErrorDetail` object.
.. ts:def:: AddIncomingRequest
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: add missing http status codes,
gnunet <=