Example State Transitions Document

Following the vaext:name href URI shown in Change Content Item State will return a resource with the following content:

<state xmlns="http://xmlns.escenic.com/2013/content-state" xmlns:ui="http://xmlns.escenic.com/2008/interface-hints">
  <name>draft-published</name>
  <ui:label>Draft (with published)</ui:label>
  <ui:icon>http://host-ip-address/webservice/escenic/content/state/icon/draft-published.png</ui:icon>
  <actions>
    <action>published</action>
    <action>revert</action>
    <action>submitted-published</action>
    <action>approved-published</action>
    <action>un-publish-keep</action>
    <action>un-publish-revert</action>
    <action>deleted</action>
  </actions>
  <choices>
    ...
  </choices>
</state>

The actual allowed state values are listed in the /state/actions/action elements at the top of the file. Most of the rest of the file consists of a choices element containing a more detailed representation of the same information. (The choices element actually contains an abstract representation of the flow control user interface that would be displayed by Content Studio for this content item.)