Private
clientGets content states that are available for the content to be set as.
Optional
callback: undefinedGets content states that are available for the content to be set as.
Gets the current page status of the draft or published version of content. To specify the draft version, set the parameter status to PUBLISHED, otherwise DRAFT.
Optional
callback: undefinedGets the current page status of the draft or published version of content. To specify the draft version, set the parameter status to PUBLISHED, otherwise DRAFT.
Gets a Global Timestamp of the last time the content state was updated
Optional
callback: undefinedGets a Global Timestamp of the last time the content state was updated
Removes the content state of the content specified and creates a new version (publishes the content without changing the body) of the content with the new status.
Optional
callback: undefinedRemoves the content state of the content specified and creates a new version (publishes the content without changing the body) of the content with the new status.
Sets the content state of the content specified and creates a new version (publishes the content without changing the body) of the content with the new status. The desired type of status must be allowed. There are space suggested statuses and custom statuses. To specify the desired new status, one can use the id of the status or the name and color of the status. If contentStateId is defined, then name and color are ignored. If contentStateId is not defined, name and color will be used if provided. Firstly, we will determine if a status of this name and color exists, and if it does, that this status is used. If it does not exist, and custom statuses are allowed, a custom status with this name and color will be created. Color can be specified in traditional english colors (teal, magenta, lavender, etc.) or as a hex string ex: #0ff0Fd.
Optional
callback: undefinedSets the content state of the content specified and creates a new version (publishes the content without changing the body) of the content with the new status. The desired type of status must be allowed. There are space suggested statuses and custom statuses. To specify the desired new status, one can use the id of the status or the name and color of the status. If contentStateId is defined, then name and color are ignored. If contentStateId is not defined, name and color will be used if provided. Firstly, we will determine if a status of this name and color exists, and if it does, that this status is used. If it does not exist, and custom statuses are allowed, a custom status with this name and color will be created. Color can be specified in traditional english colors (teal, magenta, lavender, etc.) or as a hex string ex: #0ff0Fd.
Generated using TypeDoc v0.25.12
Deprecated
Use ContentStates instead.