taler-docs

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

commit e599a79cf60c53ecd616101fc30f9f11433eb969
parent 69ebb1a567a239cb299a43ef344374afd35cab65
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 15 Apr 2025 13:00:38 +0200

remove GET /challenge/ endpoint, feature just does not work nicely

Diffstat:
Mcore/api-challenger.rst | 33++-------------------------------
1 file changed, 2 insertions(+), 31 deletions(-)

diff --git a/core/api-challenger.rst b/core/api-challenger.rst @@ -101,7 +101,7 @@ Receiving Configuration .. http:get:: /config Obtain the key configuration settings of the storage service. - This specification corresponds to ``current`` protocol being version **6**. + This specification corresponds to ``current`` protocol being version **v6**. **Response:** @@ -133,7 +133,7 @@ Receiving Configuration // the user. See "ADDRESS_RESTRICTIONS" in the challenger configuration. restrictions: Object; - // @since **v6** + // @since **v6** // Defines the set of fields asked to the user. // The field names are registered via `GANA <https://git.taler.net/gana.git/tree/gnu-taler-form-attributes>`_ // email: CONTACT_EMAIL @@ -374,35 +374,6 @@ Challenge } - -.. http:get:: /challenge/$NONCE - - This endpoint is used when a user clicks on a link in their challenge - message. It re-opens the same form as the one returned by the - POST request to the same endpoint. The main difference is that it - will never change the address and also never actually send the PIN. - Since protocol **v5**. - - **Response:** - - :http:statuscode:`200 OK`: - The response is `ChallengeResponse`. - :http:statuscode:`400 Bad Request`: - The request does not follow the spec. - The response will include error - code, hint and detail. - :http:statuscode:`404 Not Found`: - The service is unaware of a matching challenge. - The response will include error - code, hint and detail. - :http:statuscode:`406 Not Acceptable`: - The client ask for "text/html" and the backend installation does - not include the required HTML templates. - :http:statuscode:`500 Internal Server Error`: - Server is not able to respond due to internal problems. - The response will include error - code, hint and detail. - .. _challenger-solve: -----