contentsholder/topics.info
Retrieves information associated with a topic in your Content Owner Media Unit
URL
GET /v1.0/contentsholder/topics.info
Parameters
Argument | Required | Default Value | Example | Description |
---|---|---|---|---|
topic_id | Required | - | 12345678912345 | ID of the topic. |
Responses
{
"ok": true,
"topic":{
"id": "0123456",
"title": "Sakura 2018;",
"created_at": "2017-08-25T10:37:53+00:00",
"updated_at": "2017-08-25T10:37:53+00:00",
"unit":{
"id": "1234567",
"name": "Nordor Post",
"status": "public",
"signature_color": "0f0f0f",
"header_type": "background",
"header_position": "center",
"copyright_owner": "Nordor Post Inc.",
"default_post_expire_days": 0,
"created_at": "2015-11-16T19:06:46+00:00",
"updated_at": "2018-03-05T05:45:25+00:00",
"header_image":{
"url": "https://nordot-res.cloudinary.com/ch/units/1234567/header_1.png",
"url_w": 400,
"url_h": 60,
"thumb_360": "https://nordot-res.cloudinary.com/t_thumb_360/ch/units/1234567/header_2.png",
"square_300": "https://nordot-res.cloudinary.com/t_square_300/ch/units/1234567/header_2.png"
},
"profile_image": null,
"publisher":{
"id": "39063055987918325",
"name": "Nordor Post Inc.",
"created_at": "2015-11-16T19:02:38+00:00",
"updated_at": "2018-02-06T17:29:41+00:00"
},
"language": "en-US",
"timezone": "Asia/Tokyo"
}
}
}
If successful, the method returns information about a “contentsholder topic” object that meets the specified criteria. For more details, please refer to the “contentsholder topic” objects.
Errors
Error Code | Description |
---|---|
no_topic_id | Value for "topic_id" is not specified. |
invalid_topic_id | Value passed for “topic_id" is invalid. |
topic_not_found | The topic cannot be found. |
For other error codes, refer to the Common Errors section of this document.