Upload content data
This API is generally used to upload the raw data directly and not deal with any of its dependencies.
Request
URI
POST
https://{api_host}/content-management-service/api/contents/{contentTypeId}/{contentId}/data
COPY
Path Parameters
string
contentTypeId
Required
The contentTypeId corresponding to a content provider
string
contentId
Required
The contentId for which data is being uploaded
Header Parameters
string
Content-Type
Required
The mimeType identifying format of content being uploaded
Request Body
Raw content to be uploaded.
Array of string of type(s) application/json
Optional
[
{}
]
Responses
200
Upload raw data successful
Returns OperationResult of type(s) */*
{
"operationErrors": [
{
"errorMessage": "string",
"errorCode": 0
}
],
"operationStatus": "string",
"contentId": "string",
"contentTypeId": "string",
"messages": [
"string"
],
"contentName": "string"
}
string
operationStatus
Optional
operationStatus
Possible values are : SUCCESS, FAILED, WARNING,
string
contentId
Optional
contentId
string
contentTypeId
Optional
contentTypeId
array of string
messages
Optional
messages
string
contentName
Optional
contentName
On This Page
Consumer Content Operations
GET
Get content
GET
Get content data
GET
Get content list
POST
Upload content data