From 10b95e231acd49062283a15d01ef01b0001d04ac Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Tue, 5 Jul 2022 18:40:56 +0200 Subject: minor --- core/api-taldir.rst | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'core') diff --git a/core/api-taldir.rst b/core/api-taldir.rst index 9be435d8..51689927 100644 --- a/core/api-taldir.rst +++ b/core/api-taldir.rst @@ -133,22 +133,22 @@ Address registration .. ts:def:: IdentityMessage - interface IdentityMessage { - // Address, in $METHOD-specific format - address: string; + interface IdentityMessage { + // Address, in $METHOD-specific format + address: string; - // Public key of the user to register - public_key: EdDSAPublicKey; + // Public key of the user to register + public_key: EdDSAPublicKey; - // (HTTPS) endpoint URL for the inbox service. - inbox_url: string; + // (HTTPS) endpoint URL for the inbox service. + inbox_url: string; - // For how long should the registration last. - duration: Time; + // For how long should the registration last. + duration: Time; - // Order ID, if the client recently paid for this registration - order_id?: string; - } + // Order ID, if the client recently paid for this registration + order_id?: string; + } **Response** @@ -225,14 +225,14 @@ Address registration .. 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 - // value representing the wallet's EdDSA public key. - solution: Hash; + 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 + // value representing the wallet's EdDSA public key. + solution: Hash; - } + } **Response** @@ -268,12 +268,12 @@ Address lookup .. _MailboxDetailResponse: .. ts:def:: MailboxDetailResponse - interface MailboxDetailResponse { + interface MailboxDetailResponse { - // Registered public key of the user - public_key: EdDSAPublicKey; + // Registered public key of the user + public_key: EdDSAPublicKey; - // (HTTPS) endpoint URL for the inbox service. - inbox_url: string; + // (HTTPS) endpoint URL for the inbox service. + inbox_url: string; - } + } -- cgit v1.2.3