This commit is contained in:
Bernhard Posselt 2016-04-26 22:35:57 +02:00
Родитель c6ea930ef9
Коммит bec1e160a6
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -482,12 +482,12 @@ The API should be used in the following way:
* Clean up before the update
* Get all feeds and user ids
* For each feed and user id, run the update command
* For each feed and user id, run the update
* Clean up after the update.
The reference [implementation in Python](https://github.com/owncloud/news-updater) should give you a good idea how to design your own updater.
If the REST API is used, Authorization is required via Basic Auth and the user needs to be in the admin group. When using the ownCloud console API, no authorization is required.
If the REST API is used, Authorization is required via Basic Auth and the user needs to be in the admin group. If the ownCloud console API is used, no authorization is required.
### Clean Up Before Update
This is used to clean up the database. It deletes folders and feeds that are marked for deletion.