Creating Content Items in Different States

You can create a document in a state other than draft by replacing the app:draft element in the Atom entry resource that you upload with a vaext:state element that specifies the required state. To create a document that is immediately published, for example, you would need to replace:

<app:control>
  <app:draft>yes</app:draft>
</app:control>

with:

<app:control>
  <vaext:state xmlns:vaext="http://www.vizrt.com/atom-ext">published</vaext:state>
</app:control>

The vaext namespace prefix must be declared somewhere in the Atom file (for example on the element itself as shown above).

For a list of the various states that you can specify in this way, see Example State Transitions Document.

The right to set content item states is governed by the Content Store's permissions system. You can only set a state if the user creating the document has sufficient access rights.