commit 8e4ab148200fdbd8f78f721bf2af5e9fccfa653f
parent 52d0ab03fc6e0f80424b1a50dae33b5ae19da358
Author: Florian Dold <florian.dold@gmail.com>
Date: Mon, 18 Nov 2019 14:43:52 +0100
sync: minor fix
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/api-sync.rst b/core/api-sync.rst
@@ -126,14 +126,14 @@ Receiving Terms of Service
// protocol version supported by the server,
// for now always "0.0".
- version: Integer;
+ version: string;
}
.. _sync:
-.. http:get:: /backups/$ACCOUNT-KEY
+.. http:get:: /backups/${ACCOUNT-KEY}
Download latest version of the backup.
The returned headers must include "Etags" based on
@@ -193,7 +193,7 @@ Receiving Terms of Service
signature validation.
-.. http:post:: /$ACCOUNT-KEY
+.. http:post:: /backups/${ACCOUNT-KEY}
Upload a new version of the account's database, or download the
latest version. The request SHOULD include the "Expect: 100 Continue"