NATS5 REST API News PATCH entry
From TMM Wiki
Jump to navigationJump to search
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