taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit a40f6cb9e921d1ae13203a502bafe8ca5cf636d3
parent 60d8f62d8fa69faef0087b94cdccca865511e0af
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 13 Mar 2021 10:31:14 +0100

add timeout_ms arg to spec

Diffstat:
Manastasis.rst | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/anastasis.rst b/anastasis.rst @@ -529,6 +529,10 @@ In the following, UUID is always defined and used according to `RFC 4122`_. may attempt to upload the latest backup again, as this option will be checked before the ``304 Not modified`` case. + :query timeout_ms=NUMBER: *Optional.* If specified, the Anastasis server will + wait up to ``timeout_ms`` milliseconds for completion of the payment before + sending the HTTP response. A client must never rely on this behavior, as the + backend may return a response immediately. *If-None-Match*: This header MUST be present and set to the SHA512 hash (Etag) of the body by the client. The client SHOULD also set the "Expect: 100-Continue" header and wait for "100 continue" @@ -673,6 +677,15 @@ charge per truth operation using GNU Taler. Upload a TruthUploadRequest_-Object according to the policy the client created before (see RecoveryDocument_). If request has been seen before, the server should do nothing, and otherwise store the new object. + **Request:** + + :query timeout_ms=NUMBER: *Optional.* If specified, the Anastasis server will + wait up to ``timeout_ms`` milliseconds for completion of the payment before + sending the HTTP response. A client must never rely on this behavior, as the + backend may return a response immediately. + + **Response:** + :http:statuscode:`204 No content`: Truth stored successfully. :http:statuscode:`304 Not modified`: