Ferndesk

Reorder a collection

Puts a collection’s articles and sub-collections in a new order, live right away, the same as dragging them in Ferndesk. List every item exactly once; to bring one in from elsewhere, move it there first. To stage the new order for review instead, add a change of type order to a review request.

PUT /v1/collections/{id}/order
Bearer token scope content:write

Path parameters

· 1
id string required

Identifier of the requested resource.

Body

required application/json
orderedIds array of string · min items: 1· max items: 500 required

Every item in it now (articles, collections and, at the top of a section, API references), each exactly once, in the new order. Read the current order with GET first.

Responses