Troubleshooting
Troubleshooting of PBX system.
Retrieve a collection of audit logs.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
OK
application/json
countinteger · int64OptionalExample:
Total number of resource.
1004XX
Error
get/audit_logs
GET /api/audit_logs HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"count": 1,
"items": [
{
"id": "xxxxxx",
"created_at": "2020-01-01T00:00:00Z",
"source": "",
"ip": "127.0.0.1",
"action": "UPDATE",
"object_type": "BLACKLISTED_NUMBER",
"user_name": "example",
"object_name": "example",
"old_state": "",
"new_state": ""
}
]
}Retrieve a collection of event logs.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
OK
application/json
countinteger · int64OptionalExample:
Total number of resource.
1004XX
Error
get/event_logs
GET /api/event_logs HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"count": 1,
"items": [
{
"id": "xxxxxx",
"created_at": "2020-01-01T00:00:00Z",
"level": "INFO",
"source": "",
"message": ""
}
]
}Last updated
Was this helpful?