get https://api.sportngin.com/news_articles/:id
The Show method returns a single News Articles for a given id
. You may provide optional parameters plain_text=true
and basic_html=true
.
Attributes
Attribute | Type | Notes |
---|---|---|
id | Integer | Unique id assigned by NGIN |
content_node_id | Integer | ID of content_node assigned by NGIN |
title | String | Title of the news article. Max length is 300. |
author | String | Author of the news article. Max Length 100. |
news_date | Datetime | The date and time the article was published. |
status | enumerated string | Possible values: "draft", "published". Defaults to "draft" |
teaser | String | Very short description of news article. Max length is 300. |
preview_text | Text | Short description of news article that will show up on on the article and/or news aggregators depending on the values of show_preview_text_with_article and show_preview_text_in_aggregator. Max length is 30,000. |
show_image_with_article | Boolean | Defaults to true. If true then show the preview image with the article |
show_image_in_aggregator | Boolean | Defaults to true. If true then show the preview image in news aggregators |
show_preview_text_with_article | Boolean | Defaults to true. If true then show the preview_text with the article |
show_preview_text_in_aggregator | Boolean | Defaults to true. If true then show the preview_text in news aggregators |
page_node_ids | String | Comma separated list of page node ids (i.e. tag ids). Required when creating or updating |
page_node_tags | Array | Read only list of page nodes tagged to the requested News Article |
created_on | Datetime | Read only |
updated_on | Datetime | Read only |
uploaded_data | File | Image data. Create or update requests only. |