summaryrefslogtreecommitdiff
path: root/core/api-sync.rst
diff options
context:
space:
mode:
Diffstat (limited to 'core/api-sync.rst')
-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;
}