Download a snapshot as a file
GET
/api/discord/snapshots/{id}/downloadThe snapshot as a JSON file: roles and channels, each permission set as its number and in words.
Needs the ViewAnalytics permission.
AuthorizationBearer <token>
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
id*string
Format
uuidResponse Body
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/discord/snapshots/497f6eca-6276-4993-bfeb-53cbbbba6f08/download"Empty
Delete a snapshot DELETE
Needs the `ManageSettings` permission.
Compare two snapshots GET
What changed in roles and channels from the snapshot `from` to the snapshot `to`, or to the server as it is now when `to` is `now`. Roles and channels are told apart by their Discord id, so a rename shows as a change. Needs the `ViewAnalytics` permission.