Troubleshooting
Troubleshooting of PBX system.
Retrieve a collection of audit logs.
Authorizations
Responses
200
OK
application/json
4XX
Error
get
GET /api/audit_logs HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"count": 100,
"items": [
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"created_at": "2017-07-21T17:32:28Z",
"source": "text",
"ip": "2017-07-21T17:32:28Z",
"action": "CREATE",
"object_type": "ALLOWED_COUNTRY_CODES",
"user_name": "text",
"object_name": "text",
"old_state": "text",
"new_state": "text"
}
]
}
Retrieve a collection of event logs.
Authorizations
Responses
200
OK
application/json
4XX
Error
get
GET /api/event_logs HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"count": 100,
"items": [
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"created_at": "2017-07-21T17:32:28Z",
"level": "DEBUG",
"source": "text",
"message": "text"
}
]
}