From cb1e6871964bf3247cc12f325fc2c64f17ed10aa Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Fri, 31 Aug 2018 21:16:32 +0100 Subject: [PATCH] spec the format of an IS invite token --- api/identity/store_invite.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/api/identity/store_invite.yaml b/api/identity/store_invite.yaml index 89d437a4..69103294 100644 --- a/api/identity/store_invite.yaml +++ b/api/identity/store_invite.yaml @@ -84,10 +84,15 @@ paths: properties: token: type: string - description: The generated token. + description: | + The generated token. Must be a string consisting of the + characters ``[0-9a-zA-Z.=_-]``. Its length must not exceed + 255 characters and it must not be empty. public_keys: type: array - description: A list of [server's long-term public key, generated ephemeral public key]. + description: | + A list of [server's long-term public key, generated ephemeral + public key]. items: type: string display_name: