commit 0a28a22ee956c71a4fbc62fb46ad11fd93b022e7
parent be1e2c9003d5b5f5bfa520c690361d791dcf7d46
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Tue, 5 Jul 2022 17:58:10 +0200
fix api taldir
Diffstat:
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/core/api-taldir.rst b/core/api-taldir.rst
@@ -131,7 +131,9 @@ Address registration
**Request**
- .. ts:def:: IdentityMessage {
+ .. ts:def:: IdentityMessage
+
+ interface IdentityMessage {
// Address, in $METHOD-specific format
address: string;
@@ -221,7 +223,9 @@ Address registration
**Request**
- .. ts:def:: IdentityConfirmation {
+ .. ts:def:: IdentityConfirmation
+
+ interface IdentityConfirmation {
// The solution is the SHA-512 hash of the challenge ($PINTAN) value
// chosen by TalDir (encoded as string just as given in the URL, but
// excluding the 0-termination) concatenated with the binary 32-byte
@@ -263,7 +267,8 @@ Address lookup
The address is unknown (original registration may have expired).
.. _MailboxDetailResponse:
- .. ts:def:: MailboxDetailResponse {
+ .. ts:def:: MailboxDetailResponse
+ interface MailboxDetailResponse {
// Registered public key of the user
public_key: EdDSAPublicKey;