gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: fix api types


From: gnunet
Subject: [taler-docs] branch master updated: fix api types
Date: Thu, 07 Jul 2022 20:27:04 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 812afa3  fix api types
812afa3 is described below

commit 812afa3330b6049e1255ec97821eb1c8c11a1611
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Thu Jul 7 20:27:02 2022 +0200

    fix api types
---
 core/api-taldir.rst | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/core/api-taldir.rst b/core/api-taldir.rst
index 03212cc..6ef9828 100644
--- 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;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]