From 2f9fa629636c2aa8a40083d6287c30c711c42ad9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 19 Aug 2021 11:34:05 +0200 Subject: -combine /terms and /config --- core/api-sync.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/core/api-sync.rst b/core/api-sync.rst index a6d65726..e3388cb7 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; } -- cgit v1.2.3