This commit is contained in:
Bernhard Posselt 2016-04-26 20:50:00 +02:00
Родитель 4b60583daf
Коммит 94342765fc
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -103,12 +103,12 @@ Read the following notes carefully to prevent being subject to security exploits
## Syncing
All routes are given relative to the base API url, e.g.: **/sync** becomes **https://yourowncloud.com/index.php/apps/news/api/v2/sync**
There are three usecases for syncing:
There are two usecases for syncing:
* **Initial sync**: the user does not have any data at all
* **Syncing local and remote changes**: the user has synced at least once and wants submit and receive changes
### Initial Sync
The intial sync happens, when a user adds an ownCloud account in your app. In that case the user wants all folders, feeds and unread/starred items. To do this, make the following request:
The intial sync happens when a user adds an ownCloud account in your app. In that case you want to download all folders, feeds and unread/starred items. To do this, make the following request:
* **Method**: GET
* **Route**: /sync