Difference between revisions of "NATS5 REST API News PATCH entry"
From TMM Wiki
Jump to navigationJump to search (Created page with "{{NATS4 Manual | show_api_admin_section = true }} == '''PATCH /news/entry''' == '''Description''' * Edit news entry '''Resource URL''' *<nowiki>http://domain/api/news/entry<...") |
(No difference)
|
Revision as of 10:47, 19 April 2019
PATCH /news/entry
Description
- Edit news entry
Resource URL
- http://domain/api/news/entry
- Replace domain with the nats domain
- PATCH
Response Format
- JSON
- HTTP headers
Parameters
Parameters can be sent as url encoded params
- newsid
- type: digit
- required
- headline
- type: string
- required
- news_section_id
- type: digit
- required
- publish
- type: datetime (A date string to be parsed by php strtotime, or a unix timestamp integer)
- required
- body
- type: string
- required