Services/Sync/Server/Archived/0.3/API: Difference between revisions

Line 106: Line 106:


Note that a POST response will return a 200 even if some or all of the objects are invalid. The body will contain lists of successful and failed individual objects.
Note that a POST response will return a 200 even if some or all of the objects are invalid. The body will contain lists of successful and failed individual objects.
If a wbo is submitted without a payload, the server will assume that the object contains metadata to be updated and will not touch fields that are not contained in the wbo object.


Optional '''GET''' parameters:
Optional '''GET''' parameters:
Line 127: Line 129:
| limit
| limit
| Caps the number of objects that will be returned.
| Caps the number of objects that will be returned.
|- valign="top"
| sort
| 'date' - Orders by modification date (oldest first)<br>
'index' - Orders by the sortindex (ordered lists)<br>
'depthindex' - Orders by depth, then by sortindex (ordered trees)
|- valign="top"
|- valign="top"
| offset
| offset
canmove, Confirmed users
1,173

edits