Invarn Docs

Put expressions that are in no pack into a pack.

POST/api/v1/servers/{guild}/expressions/add

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]+$

Query Parameters

preview?boolean

Answer with what would happen, changing nothing.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/servers/string/expressions/add" \  -H "Content-Type: application/json" \  -d '{    "ids": [      "string"    ],    "pack": "string"  }'
{  "applied": true,  "lines": [    "string"  ],  "conflicts": [    "string"  ]}