API referenceServer
What a plan would do, feature by feature, in Discord and in Invarn. Changes nothing.
POST
/api/v1/servers/{guild}/setup/previewAuthorization
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]+$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
What to set up. Each feature present is set up with the same settings its own page saves.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/servers/string/setup/preview" \ -H "Content-Type: application/json" \ -d '{}'{ "features": [ { "feature": "staff", "lines": [ "string" ], "problem": "string" } ]}