Invarn Docs

Add a pack to this server, or change how it takes part.

PUT/api/v1/servers/{guild}/packs/{pack}/subscription

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]+$
pack*string

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

Match^[0-9]+$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/api/v1/servers/string/packs/string/subscription" \  -H "Content-Type: application/json" \  -d '{    "contributes": true  }'
Empty