Services/Sync/Server/API/Storage/1.1: Difference between revisions

Line 148: Line 148:
|- valign="top"
|- valign="top"
| predecessorid
| predecessorid
| Returns the ids for objects in the collection that are directly preceded by the id given. Usually only returns one result.
| Returns the ids for objects in the collection that are directly preceded by the id given. Usually only returns one result. [DEPRECATED]
|- valign="top"
|- valign="top"
| parentid
| parentid
| Returns the ids for objects in the collection that are the children of the parent id given.
| Returns the ids for objects in the collection that are the children of the parent id given. [DEPRECATED]
|- valign="top"
|- valign="top"
| older
| older
Line 180: Line 180:
|}
|}


'''https://''server''/''pathname''/''version''/''username''/storage '''
Returns a list of the WBO objects contained in a set of collections, most recently modified first. This request has a required parameter (''collections'') and optional parameters:
{| width="100%" cellpadding="3"
|- style="background-color: #efefef;"
| '''Term'''
| style="background-color: #efefef; width: 100px" | '''Default'''
| '''Description'''
|- valign="top"
| collections
| required
| Select from the union of the collections specified.
|- valign="top"
| newer
| (optional)
| Returns only objects in the collection that have been last modified since the date given.
|- valign="top"
| limit
| (optional)
| Sets the maximum number of objects that will be returned.
|- valign="top"
| sort
| (optional)
| 'oldest' - Orders by modification date (oldest first)<br>
'newest' - Orders by modification date (newest first)<br>
'index' - Orders by the sortindex descending (highest weight first)<br>
|}




canmove, Confirmed users
1,173

edits