Invarn Docs

Apply a check's fix.

POST/api/v1/servers/{guild}/health/{check}/fix

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

Query Parameters

preview?boolean

Answer with what would happen, changing nothing.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/servers/string/health/string/fix"
{  "applied": true,  "lines": [    "string"  ],  "conflicts": [    "string"  ]}