listCECContent
get
/ccadmin/v1/cecContent
Retrieve list of CEC Content Items, cross referenced with matching CMS Content Map items
Request
Supported Media Types
- application/json
Query Parameters
-
limit: string
Allow Empty value:
true
Maximum number of rows to return. -
offset: string
Allow Empty value:
true
Starting row to return. -
q: string
Allow Empty value:
true
Search term for the list. -
sort: string
Allow Empty value:
true
Sort criteria for list.
Response
Supported Media Types
- application/json
200 Response
An array of JSON objects is returned that represents the list of CEC Content Items.
Root Schema : listCECContent_response
Type:
Show Source
object
-
items(optional):
string
list of items retrieved
Example Response (application/json)
[
{
"createdDate":{
},
"publishInfo":[
{
"publishedDate":{
},
"version":"string",
"target":"string"
}
],
"name":"string",
"description":"string",
"language":{
},
"links":[
{
"templated":true,
"method":"string",
"profile":"string",
"rel":"string",
"mediaType":"string",
"href":"string"
}
],
"id":"string",
"updatedDate":{
},
"type":"string",
"fields":{
"additionalProp1":{
},
"additionalProp3":{
},
"additionalProp2":{
}
},
"slug":{
}
}
]
400 Response
Error returned when user provides invalid input for parameters.
Root Schema : listCECContent_invalidParameterValueResponse
Type:
Show Source
object
-
errorCode(optional):
string
Default Value:
10002
The internal error code -
message(optional):
string
Default Value:
The value 'empty' for parameter 'limit' is invalid
The HTTP error message -
status(optional):
string
Default Value:
400
The HTTP status code
Example Response (application/json)
{
"errorCode":10002,
"message":"The value 'empty' for parameter 'limit' is invalid",
"status":400
}
409 Response
Error returned when user has not enabled CEC Integration.
Root Schema : listCECContent_integrationDisabledResponse
Type:
Show Source
object
-
errorCode(optional):
string
Default Value:
00000000
The internal error code -
message(optional):
string
Default Value:
CEC Integration is not enabled
The HTTP error message -
status(optional):
string
Default Value:
409
The HTTP status code
Example Response (application/json)
{
"errorCode":0,
"message":"CEC Integration is not enabled",
"status":409
}
Default Response
The error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code