ServerOps.ggbeta
API ReferenceCases

List cases

Requires cases:read scope.

Coming soon. This endpoint is not yet available.

GET
/cases

Authorization

bearerAuth cases:read
AuthorizationBearer <token>

API token from your dashboard.

Format: so_live_... (production) or so_test_... (test mode).

Tokens carry one or more scopes. Request only the scopes your integration needs:

ScopeGrants
media:readList and retrieve files
media:writeUpload and delete files
logs:readRead log entries
logs:writeIngest log entries
cases:readRead cases
cases:writeCreate and update cases
apps:readRead apps
apps:writeSubmit apps
usage:readRead quota usage
members:readList organisation members
members:writeInvite and remove members
billing:readRead billing and subscription info
tokens:writeCreate and revoke API tokens

In: header

Scope: cases:read

Query Parameters

limit?integer

Number of results per page. Default 50, maximum 100.

Default50
Range1 <= value <= 100
cursor?string

Opaque pagination cursor returned as next_cursor in the previous response.

status?string
Value in"open" | "closed" | "archived"

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/cases"
{
  "cases": [
    {
      "id": "string",
      "title": "string",
      "description": "string",
      "status": "open",
      "attachments": [
        {
          "id": "f_01HZXXXXXXXXXXXXXXXXXXXXX",
          "url": "https://media.serverops.gg/p_01HZ.../screenshot.png",
          "key": "string",
          "size": 2097152,
          "content_type": "image/png",
          "sha256": "string",
          "original_name": "screenshot.png",
          "tags": [
            "string"
          ],
          "folder": "string",
          "abuse_status": "clean",
          "visibility": "public",
          "storage_class": "standard",
          "created_at": "2019-08-24T14:15:22Z",
          "updated_at": "2019-08-24T14:15:22Z"
        }
      ],
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z"
    }
  ],
  "next_cursor": "string",
  "has_more": true
}
{
  "error": {
    "code": "unauthorized",
    "message": "missing or invalid authorization token"
  }
}
{
  "error": {
    "code": "internal",
    "message": "an unexpected error occurred"
  }
}