[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-anastasis] branch master updated: Status Codes and S
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-anastasis] branch master updated: Status Codes and Syntax |
Date: |
Wed, 14 Aug 2019 13:54:22 +0200 |
This is an automated email from the git hooks/post-receive script.
ds-meister pushed a commit to branch master
in repository anastasis.
The following commit(s) were added to refs/heads/master by this push:
new 45873f4 Status Codes and Syntax
45873f4 is described below
commit 45873f49d4e56514d2b9d3b4b11893198fbd667d
Author: Dominik Meister <address@hidden>
AuthorDate: Wed Aug 14 13:54:11 2019 +0200
Status Codes and Syntax
---
src/api/api-anastasis.rst | 40 +++++++++++++++++++++-------------------
1 file changed, 21 insertions(+), 19 deletions(-)
diff --git a/src/api/api-anastasis.rst b/src/api/api-anastasis.rst
index 3b7c127..5d4a07b 100644
--- a/src/api/api-anastasis.rst
+++ b/src/api/api-anastasis.rst
@@ -132,10 +132,15 @@ escrow provider.
:status 200 OK:
Key share stored successfully.
-
- FIXME: define error conditions (not supported key share method,
- payment required, out of service...)
-
+ :status 400 Bad Request:
+ Request wasn't built properly.
+ :status 402 Payment Required:
+ Payment Required.
+ :status 412 Precondition Failed:
+ The selected authentication Method is not supported on this provider.
+ :status 503 Service Unavailable:
+ Server is out of Service.
+
**Details:**
.. _KeyShare:
@@ -172,21 +177,18 @@ escrow provider.
**Response:**
:status 200 OK:
- The key provider responds with a `Recovery`_ object.
-
- :status 3xx :
- The key provider responds with a `EscrowChallenge`_ object.
-
- :status 304:
- Empty body, the escrow provider will respond out-of-band (i.e. SMS)
-
- :status 302 Redirect:
- Escrow provider redirects for authentication (i.e. video
identification/WebRTC).
-
- :status 402 :
- Pay.
-
- :status 404:
+ The key provider responds with a `Recovery`_ object.
+ :status 302 Found:
+ Escrow provider redirects for authentication (i.e. video
identification/WebRTC).
+ :status 303 See Other:
+ The key provider responds with a `EscrowChallenge`_ object.
+ :status 304 Not Modified:
+ Empty body, the escrow provider will respond out-of-band (i.e.
+ :status 402 Payment Required:
+ Payment Required
+ :status 404 Not Found:
+ The requested Ressource was not found
+
**Details:**
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-anastasis] branch master updated: Status Codes and Syntax,
gnunet <=