NATS5 REST API Maintenance PATCH log
From TMM Wiki
Jump to navigationJump to search
PATCH /maintenance/log
Description
- Cleanup log file
Resource URL
- http://domain/api/maintenance/log
- Replace domain with the nats domain
- PATCH
Response Format
- JSON
- HTTP headers
Parameters
Parameters can be sent as url encoded params
- file
- type: string
- required
- before
- type: datetime (A date string to be parsed by php strtotime, or a unix timestamp integer)
- optional
- keep_rows
- type: digit
- optional
- type
- type: string
- optional