Invarn Docs

Staff roles and what they can do.

GET/api/v1/servers/{guild}/staff

Authorization

session
invarn_session<token>

In: cookie

Path Parameters

guild*string

A Discord ID (or one of Invarn's, which look the same).

Match^[0-9]+$

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/servers/string/staff"
{  "roles": [    {      "role": "string",      "name": "string",      "color": 0,      "auto": true,      "discord": [        "timeout"      ],      "caps": [        "warn"      ]    }  ]}