Difference between revisions of "NATS5 REST API News GET news"
From TMM Wiki
Jump to navigationJump to search (Created page with "{{NATS4 Manual | show_api_admin_section = true }} == '''GET /news/news''' == '''Description''' * Get news '''Resource URL''' *<nowiki>http://domain/api/news/news</nowiki> *R...") |
(No difference)
|
Revision as of 10:47, 19 April 2019
GET /news/news
Description
- Get news
Resource URL
- http://domain/api/news/news
- Replace domain with the nats domain
- GET
Response Format
- JSON
- HTTP headers
Parameters
Parameters can be sent as url encoded params
- news_section_id
- type: digit
- optional
- published
- type: trinary_digit (0, 1, or 2)
- optional
- headline
- type: string
- optional
- newsid
- type: digit
- optional
- order
- type: string
- optional (default value: published)
- order_direction
- type: trinary_digit (0, 1, or 2)
- optional
- start
- type: digit
- optional
- count
- type: digit
- optional