Storyden
Admin

Audit Event List

List audit events for the installation. Audit events track important actions taken by accounts with elevated permissions such as admin accounts and moderators. It also provides error logs for system internal components that could not be responded to the client directly such as background job failures and configuration issues.

List audit events for the installation. Audit events track important actions taken by accounts with elevated permissions such as admin accounts and moderators. It also provides error logs for system internal components that could not be responded to the client directly such as background job failures and configuration issues.

GET/admin/audit-events
storyden-session<token>

In: cookie

Query Parameters

page?string

Pagination query parameters.

types?array<AuditEventType>

Audit event type filter query

range?string

Audit event time range query

Formatiso8601-interval

Response Body

application/json

application/json

curl -X GET "https://loading/api/admin/audit-events"
{
  "page_size": 0,
  "results": 0,
  "total_pages": 0,
  "current_page": 0,
  "next_page": 0,
  "events": [
    {
      "id": "cc5lnd2s1s4652adtu50",
      "type": "thread_deleted",
      "timestamp": "2019-08-24T14:15:22Z",
      "enacted_by": {
        "id": "cc5lnd2s1s4652adtu50",
        "joined": "2019-08-24T14:15:22Z",
        "suspended": "2019-08-24T14:15:22Z",
        "handle": "Southclaws",
        "name": "Barnaby Keene"
      },
      "thread_id": "cc5lnd2s1s4652adtu50"
    }
  ]
}
Empty
Empty
{
  "error": "string",
  "message": "string",
  "suggested": "string",
  "metadata": {}
}