Compare two snapshots
/api/discord/snapshots/compareWhat 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.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Query Parameters
uuidResponse Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/discord/snapshots/compare?from=497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "fromId": "83c00676-3e57-4345-95ed-c4e82b56ce0f", "fromTakenAt": "2019-08-24T14:15:22Z", "toId": null, "toTakenAt": null, "toNow": true, "changes": [ { "kind": "string", "id": "string", "name": "string", "what": "string", "details": [ "string" ] } ], "error": null}Download a snapshot as a file GET
The snapshot as a JSON file: roles and channels, each permission set as its number and in words. Needs the `ViewAnalytics` permission.
Show what a restore would change POST
Works out, from the server as it is now, exactly what putting one role's or one channel's permissions back from the snapshot would change. Changes nothing. Needs the `ManageSettings` permission.