Omniplex Docs
PopplioStaging

Staff

Staff-only IBL endpoints. Only usable from staff panel using panelapi credentials

GET
/staff/meta/permissions

Get Staff Permissions

Lists every permission that can be attached to a staff role, grouped by category.

/staff/meta/permissions
curl -X GET "https://spider-staging.omniplex.gg/staff/meta/permissions"

Success

{
  "perms": [
    {
      "category": "string",
      "dangerous": true,
      "desc": "string",
      "id": "string",
      "name": "string"
    }
  ]
}

GET
/staff/apps

Staff: Get Application List

Gets all applications returning a list of apps.

/staff/apps

Query Parameters

user_idstring

The ID of the user to get the applications for. If not specified, all applications will be returned.

curl -X GET "https://spider-staging.omniplex.gg/staff/apps?user_id=string"

Success

{
  "apps": [
    {
      "answers": {
        "property1": "string",
        "property2": "string"
      },
      "app_id": "string",
      "created_at": "2019-08-24T14:15:22Z",
      "position": "string",
      "questions": [
        {
          "id": "string",
          "paragraph": "string",
          "placeholder": "string",
          "question": "string",
          "short": true
        }
      ],
      "review_feedback": "string",
      "state": "string",
      "user": {
        "avatar": "string",
        "bot": true,
        "display_name": "string",
        "extra_data": {
          "property1": null,
          "property2": null
        },
        "flags": [
          "string"
        ],
        "id": "string",
        "status": "string",
        "username": "string"
      },
      "user_id": "string"
    }
  ]
}

PATCH
/staff/apps/{app_id}

Staff: Manage Application

Approves or denies an application. Returns a 204 on success.

/staff/apps/{app_id}

Request Body

application/jsonRequired

approvedboolean

reasonstring

Path Parameters

app_id
Required
string

The App ID

curl -X PATCH "https://spider-staging.omniplex.gg/staff/apps/string" \
  -H "Content-Type: application/json" \
  -d '{
    "approved": true,
    "reason": "string"
  }'

Success

{
  "context": {
    "property1": "string",
    "property2": "string"
  },
  "message": "string"
}