Get the spotlight waiting for a member
/api/spotlightThe newest spotlight draft that has no member yet (staff mode), with the members who opted in to pick from. pending is null when none waits.
Needs the ViewPosts 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/spotlight"{ "pending": null, "members": [ { "id": "string", "name": "string" } ]}Fetch picture link for a post POST
Fetches the picture behind a link and returns its bytes, for the composer to crop in the browser. Only https addresses on the public internet, at most 10 MB, and only a picture by its bytes. A VRChat file link is fetched with Modbot's VRChat session, only while VRChat pictures are fetched through this server. Nothing is kept. Needs the `ManagePosts` permission.
Pick the spotlight's member POST
Picks the member for a spotlight draft that has none (staff mode) and fills the draft with their card: their name, their avatar and the answers they opened to Members, above any text already there. Only a member who opted in and is still in the server is taken. The note is written and the post sent from Marketing as for any post. Refused (409) once a member is picked, and once the draft has gone out or is being sent. Needs the `ManagePosts` permission.