contentsholder/posts.info
Retrieves information associated with Story in your Content Owner Media Unit
URL
GET /v1.0/contentsholder/posts.info
Parameters
Argument | Required | Default Value | Example | Description |
---|---|---|---|---|
post_id | Required | - | 12345678912345 | ID of the Story. |
format | Optional | markdown | markdown | Indicates retrieval format. Set the value “markdown” for markdown format and “html” if converting from markdown to HTML format. |
Response
{
"ok": true,
"post": {
"id": "0123456",
"url": "https://nordot.app/0123456",
"title": "Counting down to sakura blooming",
"subtitle": "Blooming forecasted this weekend",
"status": "public",
"body": "Today ** Based on the latest cherry blossom forecasting announced by Weather Report **
, Since the late last week the high temperature condition continued nationwide from the latter half of the week,
the growth of buds advanced at a stretch, so in western Japan this weekend
There will be places where flowering will occur as well.
In the next week Kanto region gradually comes to visit the spring weather,
...
In other words, it will gradually have a pleasant spring season in nationwide.",
"source_url": "http://nordot-shimbun.com/posts/0123456",
"published_at": "2015-12-10T20:09:31+00:00",
"expired_at": "2016-11-10T20:09:31+00:00",
"created_at": "2015-11-10T20:09:31+00:00",
"updated_at": "2015-12-25T18:58:10+00:00",
"images": [
{
"id": "2345678",
"filename": "origin_1.jpg",
"url": "https://nordot-res.cloudinary.com/t_size_l/ch/images/2345678/origin_1.jpg",
"url_w": 800,
"url_h": 590,
"url": "https://img.nordot.jp/ch/images/2345678/origin_1.jpg",
"thumb_360": "https://img.nordot.jp/t_thumb_360/ch/images/2345678/origin_1.jpg",
"caption": "Big buds waiting to arrive will soon bloom"
},
{
"id": "3456789",
"url": "https://img.nordot.jp/ch/images/3456789/origin_1.jpg",
"thumb_360": "https://img.nordot.jp/t_thumb_360/ch/images/3456789/origin_1.jpg",
"caption": "Estimated flowering date throughout Japan. In Hokkaido around the end of April"
}
],
"labels": [
{
"name": "Weather",
"count": null
}
],
"tags": [
"weather",
"weatherreport"
],
"series": {
"id": "5678901",
"title": "Counting down to sakura blooming"
},
"topic": {
"id": "6789012",
"title": "sakura 2015"
},
"creator": {
"id": "0012344",
"email": "taro@nordot.jp",
"name": "yamada",
"job_title": "writer",
"about": "Predicting cherry blossoms for 30 years",
"accepted_terms_ver": 1;,
"created_at": "2015-11-16T19:08:41+00:00",
"updated_at": "2018-02-06T20:10:52+00:00",
"profile_image": {
"url": "https://nordot-res.cloudinary.com/members/0012344/profile_1.png",
"thumb_360": "https://nordot-res.cloudinary.com/t_thumb_360/members/0012344/profile_1.png"
}
},
"updater": {
"id": "0012344",
"email": "taro@nordot.jp",
"name": "taro",
"job_title": "writer",
"about": "Predicting cherry blossoms for 30 years",
"accepted_terms_ver": 1;,
"created_at": "2015-11-16T19:08:41+00:00",
"updated_at": "2018-02-06T20:10:52+00:00",
"profile_image": {
"url": "https://nordot-res.cloudinary.com/members/0012344/profile_1.png",
"thumb_360": "https://nordot-res.cloudinary.com/t_thumb_360/members/0012344/profile_1.png"
}
},
"authors": [
{
"id": "0012344",
"email": "taro@nordot.jp",
"name": "taro",
"job_title": "writer",
"about": "Predicting cherry blossoms for 30 years",
"accepted_terms_ver": 1;,
"created_at": "2015-11-16T19:08:41+00:00",
"updated_at": "2018-02-06T20:10:52+00:00",
"profile_image": {
"url": "https://nordot-res.cloudinary.com/members/0012344/profile_1.png",
"thumb_360": "https://nordot-res.cloudinary.com/t_thumb_360/members/0012344/profile_1.png"
}
}
]
}
}
If successful, the method returns a “contentsholder post” object that meets the specified criteria. For more details, please refer to the “contentsholder post” objects.
Errors
Error Code | Description |
---|---|
no_post_id | Value for "post_id" is not specified. |
invalid_post_id | Value passed for “post_id" is invalid. |
post_not_found | The Story cannot be found. |
invalid_format | Invalid format specified. |
For other error codes, refer to the Common Errors section of this document.