Invarn Docs

A server's overview.

GET/api/v1/servers/{guild}

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"
{  "id": "string",  "name": "string",  "icon": "string",  "you": {    "caps": [      "timeout"    ],    "owner": true  },  "features": [    "staff"  ],  "pro": true,  "sponsor": "string",  "incidents": 0,  "switchover": [    {      "id": "string",      "name": "string",      "replacedBy": [        "staff"      ],      "steps": [        "string"      ]    }  ]}