Document processHTML
[tolino-api-docs.git] / api / usecase-sync.rst
index 38360c6ab3678d96969f4a9a8cd089f49e1e2836..fbc26ad453b370f5d8995f86c1b7abc15d930e88 100644 (file)
@@ -7,17 +7,19 @@ The user presses the synchronization button on the "My books" screen.
 2. Fetch the reseller configuration: `GET https://bosh.pageplace.de/bosh/rest/v2/resellerconfig`_
 3. Fetch the number of books/items in the cloud: `GET https://bosh.pageplace.de/bosh/rest/inventory/count`_
 4. Fetch cloud book information: `GET https://inventory.pageplace.de/v2/inventory`_
-5. FIXME: https://bosh.pageplace.de/bosh/rest/time
-6. Fetch changes since last sync: PATCH https://bosh.pageplace.de/bosh/rest/sync-data
-7. Get list of resellers: GET https://bosh.pageplace.de/bosh/rest/handshake/resellers
-8. Fetch advertisements for the main screen: GET https://bosh.pageplace.de/bosh/rest/recommendation/xyz
-9. Fetch family membership information: GET https://family.pageplace.de/v1/myself
+5. Fetch the current date/time: `GET https://bosh.pageplace.de/bosh/rest/time`_
+6. Fetch changes since last sync: `PATCH https://bosh.pageplace.de/bosh/rest/sync-data`_
+7. Get list of resellers: `GET https://bosh.pageplace.de/bosh/rest/handshake/resellers`_
+8. Fetch advertisements for the main screen: `GET https://bosh.pageplace.de/bosh/rest/recommendation/xyz`_
+9. Fetch family membership information: `GET https://family.pageplace.de/v1/myself`_
 
 When the user is part of a family:
 
-10. Fetch list of available dictionaries: GET https://bosh.pageplace.de/bosh/rest/dictionary/list
-11. Fetch list of family members: GET https://family.pageplace.de/v1/family
-12. Fetch list of shared books: GET https://family.pageplace.de/v1/shares
+10. Fetch list of available dictionaries: `GET https://bosh.pageplace.de/bosh/rest/dictionary/list`_
+11. Fetch list of family members: `GET https://family.pageplace.de/v1/family`_
+12. Fetch list of shared books: `GET https://family.pageplace.de/v1/shares`_
 
 
 FIXME: What happens if the inventory count is 0? Is the inventory not fetched then?
+
+FIXME: What happens if there is only one family member? Is the list of shared books fetched then?