Get Item Orders
Get item orders.
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/get-item-orders.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
|
Example
Request
GET .../api/1/services/api/1/content/get-item-orders.json?site_id=mysite&path=/site/website/style/index.xml&edit=true
Response
Status 200 OK
1{
2 "order":
3 [
4 {
5 "name":"Style",
6 "id":"/site/website/style/index.xml",
7 "disabled":"false",
8 "order":8000.0,
9 "placeInNav":"true"
10 },
11 {
12 "name":"Health",
13 "id":"/site/website/health/index.xml",
14 "disabled":"false",
15 "order":9000.0,
16 "placeInNav":"true"
17 },
18 {
19 "name":"Entertainment",
20 "id":"/site/website/entertainment/index.xml",
21 "disabled":"false",
22 "order":10000.0,
23 "placeInNav":"true"
24 },
25 {
26 "name":"Technology",
27 "id":"/site/website/technology/index.xml",
28 "disabled":"false",
29 "order":11000.0,
30 "placeInNav":"true"
31 }
32 ]
33}
Responses
Status
|
Location
|
Response Body
|
---|---|---|
200
|
See example above.
|