[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: -formatting and document 204 case
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: -formatting and document 204 case |
Date: |
Fri, 06 Jan 2023 21:16:22 +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 c205465 -formatting and document 204 case
c205465 is described below
commit c205465852740973eca1055b6381a5cf272170ea
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Jan 6 21:16:18 2023 +0100
-formatting and document 204 case
---
core/api-wire.rst | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/core/api-wire.rst b/core/api-wire.rst
index 97021ad..5ac3a7a 100644
--- a/core/api-wire.rst
+++ b/core/api-wire.rst
@@ -161,6 +161,8 @@ Querying the transaction history
:http:statuscode:`200 OK`:
JSON object of type `IncomingHistory`.
+ :http:statuscode:`204 No content`:
+ There are not transactions to report (under the given filter).
:http:statuscode:`400 Bad request`:
Request malformed. The bank replies with an `ErrorDetail` object.
:http:statuscode:`401 Unauthorized`:
@@ -267,7 +269,7 @@ Querying the transaction history
* A value that is **smaller** than all other row IDs if *delta* is
**positive**.
* A value that is **larger** than all other row IDs if *delta* is
**negative**.
- **Request**
+ **Request:**
:query start: *Optional.*
Row identifier to explicitly set the *starting point* of the query.
@@ -280,12 +282,18 @@ Querying the transaction history
the bank may return a response immediately or after waiting only a fraction
of ``long_poll_ms``.
- **Response**
+ **Response:**
- :http:statuscode:`200 OK`: JSON object of type `OutgoingHistory`.
- :http:statuscode:`400 Bad request`: Request malformed. The bank replies with
an `ErrorDetail` object.
- :http:statuscode:`401 Unauthorized`: Authentication failed, likely the
credentials are wrong.
- :http:statuscode:`404 Not found`: The endpoint is wrong or the user name is
unknown. The bank replies with an `ErrorDetail` object.
+ :http:statuscode:`200 OK`:
+ JSON object of type `OutgoingHistory`.
+ :http:statuscode:`204 No content`:
+ There are not transactions to report (under the given filter).
+ :http:statuscode:`400 Bad request`:
+ Request malformed. The bank replies with an `ErrorDetail` object.
+ :http:statuscode:`401 Unauthorized`:
+ Authentication failed, likely the credentials are wrong.
+ :http:statuscode:`404 Not found`:
+ The endpoint is wrong or the user name is unknown. The bank replies with
an `ErrorDetail` object.
.. ts:def:: OutgoingHistory
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: -formatting and document 204 case,
gnunet <=