Get 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

namedescription
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:

valuedescription
1create
2update
3delete
4publish
5unpublish
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
integer

alue accepted are 1 to 5 which corresponds to what operation.

integer

Number of items to return

string

Basis of where the result will be sorted. Accepted values are created and modified. This is required if you will be using the dir parameter.

string

Direction of the sort. Accepted values are ASC and DESC

string

acceptable date formats are here: https://github.com/araddon/dateparse

string

acceptable date formats are here: https://github.com/araddon/dateparse

integer

The value on which to start. Page begins at 1, the results are calculated by the limit parameter which is used as the denominator.

string

Filter logs by ZUID of the affected resource.

string

Filter logs by user who created them.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Choose an example:
application/json