List group gallery images
/api/group/galleryThe group's galleries, and one page of a gallery's images read from VRChat when you ask, newest first. galleryId chooses the gallery; left out, the first one. The galleries come from the group poll Modbot already makes, so only the images cost a request, and a group with no galleries costs none. page and pageSize page the images (at most 100 a page); hasMore is true when the page came back full. Images still waiting for approval are included, with approved false; waiting=true asks VRChat for those alone.
Needs the ViewAnalytics permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Query Parameters
int32int32Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/group/gallery"{ "galleries": [ { "id": "string", "name": null, "description": null, "membersOnly": true } ], "galleryId": null, "images": [ { "id": "string", "imageUrl": null, "approved": true, "submittedById": null, "submittedByName": null, "createdAt": null } ], "page": 0, "pageSize": 0, "hasMore": true, "readAt": "2019-08-24T14:15:22Z"}Give a member a group role PUT
Give the member named in the address one of the group's roles on VRChat. Answers with the role ids VRChat says they now have. One request, never retried; a refusal answers with VRChat's own message, and a 403 for a permission Modbot's VRChat account lacks names it in `missingGroupPermission`. Once VRChat accepts, the audit log records who gave it, on the member's history. Needs the `ManageGroupRoles` permission.
Remove group gallery image POST
Remove one image from one of the group's galleries on VRChat. `galleryId` and `imageId` name it; `submittedById` is kept in the audit log, as the page showed it. One request, never retried. An image VRChat no longer has answers 404. Once VRChat accepts, the audit log records who removed it. Needs the `ManageGroupGallery` permission.