Upload Bluesky picture
/api/calendar/cover/{id}/blueskyKeeps the small copy of a cover that Bluesky is sent as the post's picture. Needs Manage calendar or Manage templates. The body is a JPEG of under 1,000,000 bytes, told apart by its first bytes. Sent again, it replaces the earlier copy.
Needs the ViewCalendar permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
uuidResponse Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/api/calendar/cover/497f6eca-6276-4993-bfeb-53cbbbba6f08/bluesky"Upload Discord picture POST
Keeps a picture for an event's Discord cover and channel post. Needs Manage calendar or Manage templates, because the template editor keeps one too. The body is the picture itself: a PNG, JPEG, GIF or WebP of at most 8 MB, told apart by its first bytes. Answers with its id; save that as the event's coverPictureId. Modbot keeps it until the event is deleted or given another; one no event was saved with is deleted once it is a day old, within the hour after. Needs the `ViewCalendar` permission.
List covers without a Bluesky picture GET
The ids of covers that a not-deleted event uses, that have no Bluesky copy, and that Bluesky could not be sent as they are (over 1,000,000 bytes, or not a JPEG). At most 20, newest first, leaving out the first 100 ids in skip. Needs Manage calendar or Manage templates. Changes nothing. Needs the `ViewCalendar` permission.