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

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": 100,
  "items": [
    {
      "id": "NzAwNTUxOTA5NzczMTQ4MTYw",
      "created_at": "2017-07-21T17:32:28Z",
      "level": "DEBUG",
      "source": "text",
      "message": "text"
    }
  ]
}

Last updated

Was this helpful?