summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-07-05 17:58:10 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2022-07-05 17:58:10 +0200
commit0a28a22ee956c71a4fbc62fb46ad11fd93b022e7 (patch)
tree667f75d9ac26a74f1cb50a16976604d61c3376a5 /core
parentbe1e2c9003d5b5f5bfa520c690361d791dcf7d46 (diff)
downloaddocs-0a28a22ee956c71a4fbc62fb46ad11fd93b022e7.tar.gz
docs-0a28a22ee956c71a4fbc62fb46ad11fd93b022e7.tar.bz2
docs-0a28a22ee956c71a4fbc62fb46ad11fd93b022e7.zip
fix api taldir
Diffstat (limited to 'core')
-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;