summaryrefslogtreecommitdiff
path: root/doc/sphinx/rest.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sphinx/rest.rst')
-rw-r--r--doc/sphinx/rest.rst15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/sphinx/rest.rst b/doc/sphinx/rest.rst
index 7341992..b5ab50d 100644
--- a/doc/sphinx/rest.rst
+++ b/doc/sphinx/rest.rst
@@ -167,11 +167,18 @@ In the following, UUID is always defined and used according to `RFC 4122`_.
.. ts:def:: RecoveryMetaSummary
interface RecoveryMetaSummary {
- // Version numbers as a string (!) are used as keys,
- // the value being the base32-encoded encrypted meta data
- // for that version. A value can be NULL if the document
+ // Version numbers as a string (!) are used as keys.
+ "$VERSION": MetaData;
+ }
+
+ interface MetaData {
+ // The meta value can be NULL if the document
// exists but no meta data was provided.
- "$VERSION": EncryptedMetaData;
+ meta?: String;
+
+ // Server-time indicative of when the recovery
+ // document was uploaded.
+ upload_time: Timestamp;
}
.. http:get:: /policy/$ACCOUNT_PUB[?version=$NUMBER]