Add a waiting picture to a gallery
/api/group/gallery/submissions/{id}/addUpload a waiting picture to VRChat and add it to one of the group's galleries. galleryId chooses the gallery. Two requests to VRChat, never retried; if the gallery refuses, the upload is kept so pressing again does not upload twice. Needs picture uploads switched on in Settings and an account with VRChat+. Once VRChat accepts, the audit log records who added it, the copy in Modbot is deleted and the member's Discord message gets a tick.
Needs the ManageGroupGallery permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/group/gallery/submissions/497f6eca-6276-4993-bfeb-53cbbbba6f08/add" \ -H "Content-Type: application/json" \ -d '{ "galleryId": "string" }'Get a waiting gallery picture GET
The picture itself, as a PNG or JPEG. Only while it is waiting: once it is added or declined the copy is deleted. Needs the `ViewAnalytics` permission.
Decline a waiting picture POST
Take a waiting picture out of the queue. Nothing is sent to VRChat and the member is told nothing; Modbot's copy of the picture is deleted. Needs the `ManageGroupGallery` permission.