commit 92f634884c5d24c54ba2627bb917d6a1a3230f2e parent 79cb33f07bf4581a01ce7eadb548f1adf434ac0b Author: Christian Grothoff <christian@grothoff.org> Date: Fri, 22 Nov 2024 14:33:54 +0100 -document address passing to challenger Diffstat:
| M | core/api-challenger.rst | | | 11 | ++++++++++- |
1 file changed, 10 insertions(+), 1 deletion(-)
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 **3**. + This specification corresponds to ``current`` protocol being version **4**. **Response:** @@ -152,6 +152,15 @@ Setup ``client_secret`` from the registration of the client with the challenger service (which will also be used in the later ``/token`` request). + **Request:** + + The body can be an address in JSON encoding to pre-initialize the address to + be used by challenger for this process. If the body is absent, the user will + have to enter the full address details. The specific address format depends + on the address type. + + Passing an address in the ``/setup`` body is supported @since protocol **v4**. + **Response:** :http:statuscode:`200 OK`: