taler-docs

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

commit 812afa3330b6049e1255ec97821eb1c8c11a1611
parent 389330545c4e18cc37f88b6cff011302e7490b52
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date:   Thu,  7 Jul 2022 20:27:02 +0200

fix api types

Diffstat:
Mcore/api-taldir.rst | 14++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/core/api-taldir.rst b/core/api-taldir.rst @@ -103,7 +103,7 @@ Configuration information name: "taler-directory"; // Supported registration methods - methods: string; + methods: Method[]; // fee for one month of registration monthly_fee: Amount; @@ -128,6 +128,7 @@ Address registration Endpoint to register, extend or modify the registration for an address in the directory. Here, $METHOD is the type of address to register, e.g. "email", or "phone". + Supported methods are listed in the VersionResponse. **Request** @@ -137,8 +138,8 @@ Address registration // Address, in $METHOD-specific format address: string; - // Public key of the user to register - public_key: EddsaPublicKey; + // Public key of the user to register. As string in Crockfor base32 encoding. + public_key: string; // (HTTPS) endpoint URL for the inbox service. inbox_url: string; @@ -230,7 +231,8 @@ Address registration // chosen by TalDir (encoded as string just as given in the URL, but // excluding the 0-termination) concatenated with the binary 32-byte // value representing the wallet's EdDSA public key. - solution: HashCode; + // The hash is provided as string in Crockford base32 encoding. + solution: string; } @@ -271,8 +273,8 @@ Address lookup interface MailboxDetailResponse { - // Registered public key of the user - public_key: EddsaPublicKey; + // Registered public key of the user. As string in Crockford base32 encoding. + public_key: string; // (HTTPS) endpoint URL for the inbox service. inbox_url: string;