getOrgLogs

GET https://{{host}}/api/v1/orgs/:org_id/logs

Supported Filters

ParameterTypeDescription
site_idstringsite id
admin_namestringadmin name or email
messagestringmessage

Response Parameters

The logs are always sorted by time in descending order

NameTypeDescription
timestamplongstart time, in epoch
site_idstringsite id
org_idstringorg id
admin_idstringadmin id
admin_namestringname of the admin that performs the action
messagestringlog message
beforeobjectfield values prior to the change
afterobjectfield values after the change

RESPONSES

status: OK

{"start":1428939600,"end":1428954000,"limit":100,"total":135,"results":[{"timestamp":1431382121,"site_id":"4ac1dcf4-9d8b-7211-65c4-057819f0862b","org_id":"2818e386-8dec-2562-9ede-5b8a0fbbdc71","admin_id":"72bfa2bd-e58a-4670-9d20-a1468f7a6f58","admin_name":"test@mistsys.com","message":"TEST AUDIT","id":"c6f9347b-b0a4-4a23-b927-fa9249f2ffb2"}]}