Get a snapshot
GET
/api/discord/snapshots/{id}Every role and channel in the snapshot, with its permissions 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/json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/discord/snapshots/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "takenAt": "2019-08-24T14:15:22Z", "scheduled": true, "takenBy": null, "guildName": "string", "roles": [ { "id": "string", "name": "string", "color": 0, "position": 0, "permissions": 0, "permissionNames": [ "string" ], "hoisted": true, "mentionable": true, "managed": true, "everyone": true } ], "channels": [ { "id": "string", "name": "string", "type": "string", "categoryId": null, "position": 0, "nsfw": true, "overwrites": [ { "roleId": "string", "roleName": "string", "allow": 0, "allowNames": [ "string" ], "deny": 0, "denyNames": [ "string" ] } ] } ]}