get
https://{instance_zuid}.api.zesty.io/v1/env/audits
Get all Audit trails of a given instance. You can use one or more query params to filter the result. All query params are optional.
Params
| name | description |
|---|---|
| action | [int] Value accepted are 1 to 5 which corresponds to what operation. See table below. |
| limit | [int] Number of items to return. Default is 100. |
| order | [string] On what property should the ordering be based on. Could be CREATED, MODIFIED or LABEL |
| dir | [string] Sorting direction. Could be asc or desc meaning ascending or descending respectively. |
| start_date | [date] Acceptable date formats are here: https://github.com/araddon/dateparse |
| end_date | [date] Acceptable date formats are here: https://github.com/araddon/dateparse |
| page | [int] Sets the results pagination. Default value is 0. |
| affectedZUID | [string] Filter logs by ZUID of the affected resource. |
| userZUID | [string] Filter logs by user who created them. |
actions:
| value | description |
|---|---|
| 1 | create |
| 2 | update |
| 3 | delete |
| 4 | publish |
| 5 | unpublish |
