plone.restapi/plone-only-login: docs
Roel Bruggink <jenkins-z4DKO/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Repository: plone.restapi Branch: refs/heads/plone-only-login Date: 2017-07-01T15:27:33+02:00 Author: Roel Bruggink (jaroel) <roel-Ttk/PUy0oENmR6Xm/[email protected]> Commit: https://github.com/plone/plone.restapi/commit/3e349b99f7185cb875029a6544a36fc31aadfb10 docs Files changed: M docs/source/content.rst diff --git a/docs/source/content.rst b/docs/source/content.rst index 396f0cf0..5595bc70 100644 --- a/docs/source/content.rst +++ b/docs/source/content.rst @@ -328,8 +328,12 @@ The resources contained within a resource can be reordered using the `ordering` Use the `obj_id` subkey to specify which resource to reorder. The subkey `delta` can be 'top', 'bottom', or a negative or positive integer for moving up or down. + Reordering resources within a subset of resources can be done using the `subset_ids` subkey. + A response 400 BadRequest with a message 'Client/server ordering mismatch' will be returned if the value is not in the same order as serverside. +A response 400 BadRequest with a message 'Content ordering is not supported by this resource' will be returned if the container does not support ordering. + .. http:example:: curl httpie python-requests :request: _json/content_reorder.req ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot