For the complete documentation index, see llms.txt. This page is also available as Markdown.

Troubleshooting

Troubleshooting of PBX system.

List audit logs

get

Retrieve a collection of audit logs.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
countinteger · int64Optional

Total number of resource.

Example: 100
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": ""
    }
  ]
}

List event logs

get

Retrieve a collection of event logs.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
countinteger · int64Optional

Total number of resource.

Example: 100
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?