Reorder Content Items

Reorder content items.

Resource Information

This service uses the tomcat application on port 8080 by default. To see a list of default ports click here

The context for this API is /studio, please prefix the API URLs with this context.

HTTP Verb
GET
URL
/api/1/services/api/1/content/reorder-items.json
Response Formats
JSON
Required Role
N/A

Parameters

Name
Type
Required
Description
site_id
String
✓
Site to use
path
String
✓
Path of the content
before
String
✓
Item before the item with given path
after
String
✓
Item after the item with given path

Example

Request

GET .../api/1/services/api/1/content/reorder-items.json?site_id=mysitet&path=/site/website/health/index.xml&before=/site/website/entertainment/index.xml&after=/site/website/technology/index.xml

Response

Status 200 OK

{
    "orderValue":10500.0
}

Responses

Status
Location
Response Body
200

See example above.