Set Item State
Set workflow state for item.
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
|
POST
|
URL
|
/api/1/services/api/1/content/set-item-state.json |
Response Formats
|
JSON |
Required Role
|
N/A
|
Parameters
Name
|
Type
|
Required
|
Description
|
---|---|---|---|
site_id
|
String
|
✓
|
Site to use
|
path
|
String
|
✓
|
Path to use
|
state
|
String
|
✓
|
State to set
|
systemprocessing
|
Boolean
|
✓
|
Set system processing to true or false
|
Example
Request
POST ../api/1/services/api/1/content/set-item-state.json?site_id=mysite&path=/config/studio/administration/config-list.xml&state=EXISTING_UNEDITED_UNLOCKED&systemprocessing=false
Response
Status 200 OK
{ "result" : "Success" }
Responses
Status
|
Location
|
Response Body
|
---|---|---|
200
|
See example above.
|