Omniplex Docs
PopplioStaging

Apps

These API endpoints are related to apps and interviews for positions on our list.

GET
/apps/meta

Get Apps Meta

Gets the current applications metadata. Returns a AppMeta object. See schema for more info.

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

Success

{
  "positions": [
    {
      "closed": true,
      "cooldown": 0,
      "hidden": true,
      "id": "string",
      "info": "string",
      "name": "string",
      "questions": [
        {
          "id": "string",
          "paragraph": "string",
          "placeholder": "string",
          "question": "string",
          "short": true
        }
      ],
      "tags": [
        "string"
      ]
    }
  ],
  "stable": true
}

GET
/users/{user_id}/apps

Get Application List

Gets all applications of the user returning a list of apps.

/users/{user_id}/apps

The Authorization access token

Authorization

User-Auth<token>

Requires a user token. Should be prefixed with User in Authorization header.

In: header

Path Parameters

user_id
Required
string

The ID of the user to use.

curl -X GET "https://spider-staging.omniplex.gg/users/string/apps" \
  -H "User-Auth: <token>"

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

POST
/users/{user_id}/apps

Create App For Position

Creates an application for a position. Returns a 204 on success.

/users/{user_id}/apps

The Authorization access token

Authorization

User-Auth<token>

Requires a user token. Should be prefixed with User in Authorization header.

In: header

Request Body

application/jsonRequired

answersobject

positionstring

Path Parameters

user_id
Required
string

The ID of the user to create the application for.

curl -X POST "https://spider-staging.omniplex.gg/users/string/apps" \
  -H "User-Auth: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "answers": {
      "property1": "string",
      "property2": "string"
    },
    "position": "string"
  }'

Success

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