summaryrefslogtreecommitdiff
path: root/anastasis.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-03-13 10:31:14 +0100
committerChristian Grothoff <christian@grothoff.org>2021-03-13 10:31:14 +0100
commita40f6cb9e921d1ae13203a502bafe8ca5cf636d3 (patch)
tree5d6134694462e1fe8a9892aa8bcba7fa77e90d24 /anastasis.rst
parent60d8f62d8fa69faef0087b94cdccca865511e0af (diff)
downloaddocs-a40f6cb9e921d1ae13203a502bafe8ca5cf636d3.tar.gz
docs-a40f6cb9e921d1ae13203a502bafe8ca5cf636d3.tar.bz2
docs-a40f6cb9e921d1ae13203a502bafe8ca5cf636d3.zip
add timeout_ms arg to spec
Diffstat (limited to 'anastasis.rst')
-rw-r--r--anastasis.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/anastasis.rst b/anastasis.rst
index 61b0ed9d..a427de9d 100644
--- 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`: