summaryrefslogtreecommitdiff
path: root/core/api-taldir.rst
diff options
context:
space:
mode:
Diffstat (limited to 'core/api-taldir.rst')
-rw-r--r--core/api-taldir.rst11
1 files changed, 8 insertions, 3 deletions
diff --git a/core/api-taldir.rst b/core/api-taldir.rst
index ebf783b6..9be435d8 100644
--- 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;