summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-11-18 14:43:52 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-11-18 14:43:52 +0100
commit8e4ab148200fdbd8f78f721bf2af5e9fccfa653f (patch)
treeb0001d1bfb394d500a5b9207d9591d264baf82cc /core
parent52d0ab03fc6e0f80424b1a50dae33b5ae19da358 (diff)
downloaddocs-8e4ab148200fdbd8f78f721bf2af5e9fccfa653f.tar.gz
docs-8e4ab148200fdbd8f78f721bf2af5e9fccfa653f.tar.bz2
docs-8e4ab148200fdbd8f78f721bf2af5e9fccfa653f.zip
sync: minor fix
Diffstat (limited to 'core')
-rw-r--r--core/api-sync.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/api-sync.rst b/core/api-sync.rst
index 9af48c88..8b8ce5e6 100644
--- 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"