summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-19 11:34:05 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-19 11:34:11 +0200
commit2f9fa629636c2aa8a40083d6287c30c711c42ad9 (patch)
tree5839e55fa1833743a186e33c92b71bd390918c17
parent9ae604eb977170916cf74d1e46b2bcd2db81c83e (diff)
downloaddocs-2f9fa629636c2aa8a40083d6287c30c711c42ad9.tar.gz
docs-2f9fa629636c2aa8a40083d6287c30c711c42ad9.tar.bz2
docs-2f9fa629636c2aa8a40083d6287c30c711c42ad9.zip
-combine /terms and /config
-rw-r--r--core/api-sync.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/core/api-sync.rst b/core/api-sync.rst
index a6d6572..e3388cb 100644
--- a/core/api-sync.rst
+++ b/core/api-sync.rst
@@ -107,7 +107,7 @@ keys.
Receiving Terms of Service
--------------------------
-.. http:get:: /terms
+.. http:get:: /config
Obtain the terms of service provided by the storage service.
@@ -118,14 +118,18 @@ Receiving Terms of Service
.. ts:def:: SyncTermsOfServiceResponse
interface SyncTermsOfServiceResponse {
+ // Name of the service
+ name: "sync";
+
// Maximum backup size supported.
storage_limit_in_megabytes: number;
// Fee for an account, per year.
annual_fee: Amount;
- // Protocol version supported by the server,
- // for now always "0.0".
+ // libtool-style representation of the Sync protocol version, see
+ // https://www.gnu.org/software/libtool/manual/html_node/Versioning.html#Versioning
+ // The format is "current:revision:age".
version: string;
}