List server snapshots
/api/discord/snapshotsThe saved snapshots of the Discord server's roles and channels, newest first, with the schedule and when the next one is due.
Needs the ViewAnalytics permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/discord/snapshots"{ "snapshots": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "takenAt": "2019-08-24T14:15:22Z", "scheduled": true, "takenBy": null, "roleCount": 0, "channelCount": 0 } ], "schedule": "string", "nextDue": null, "restoreOn": true, "mostKept": 0}Make an invite for each name POST
Make one invite for each name, to the given channel, with no expiry and no limit on uses, and name each. At most 20 at a time. Needs invite tracking on, and Create Invite in the channel. Answers 200 with what each name came to; a name Discord refused has an `error`, and `missingPermission` is set when the permission is why. Needs the `ManageSettings` permission.
Take a snapshot now POST
Saves the Discord server's roles, channels and permissions as they are now. Needs the bot connected. At most 100 are kept; past that, delete one first. Needs the `ManageSettings` permission.