POST API/V40/System/Session/ContentVersion
Set the content version
Request Information
URI Parameters
None.
Body Parameters
The command parameters.
SetContentVersionRequestName | Description | Type | Additional information |
---|---|---|---|
Version |
The required CMS content version. |
string |
Required |
SessionToken |
The token associated with this session of API interactions. This token should always be included in API calls, because it contains important session state information. |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "version": "sample string 1", "sessionToken": "sample string 2" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseContainerModelName | Description | Type | Additional information |
---|---|---|---|
SessionToken |
The token associated with this session of API interactions. Generally this is the same token passed with the API request parameters, but under certain circumstances this can be changed before being sent back to the caller. |
string | |
ResponsesIncluded |
A list of response messages names contained in this composite message, for easy pre-parsing. |
string | |
Responses |
A list of response messages contained in this composite message. |
Collection of Object | |
Status |
The success status the composite message. |
CompositeStatus |
Response Formats
application/json, text/json
Sample:
{ "sessionToken": "U3zPTj8U3YgKAAAAAAAAAAAAAAA.o_9HrPmo0yDNKlHcncJqeXImxBiv78dDhm0iy5k_Trw", "responsesIncluded": "setContentVersionResponse", "responses": [ { "setContentVersionResponse": { "content": { "version": "sample string 1" }, "succeeded": true } } ], "status": "Success" }