Modbot Docs

Change post

PUT/api/posts/{id}

Changes the whole of a post before it goes, as POST /api/posts takes it, with the version it was read at. Refused (409) while it is being sent, once it has gone out on a site (edit it there instead), and while a site may already have it after an unclear answer (Try again settles that first).

Needs the ManagePosts permission.

AuthorizationBearer <token>

An API key, made on Settings, API keys. Every key starts with mbk_.

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PUT "https://example.com/api/posts/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{    "title": null,    "text": null  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "title": null,  "text": "string",  "pictureId": null,  "status": "string",  "lists": [    "string"  ],  "sendAt": null,  "sendAtLocal": null,  "timeZone": "string",  "eventId": null,  "eventTitle": null,  "kind": null,  "version": 0,  "createdBy": null,  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "cancelledAt": null,  "destinations": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "network": "string",      "target": "string",      "targetName": null,      "roleId": null,      "roleName": null,      "publish": true,      "state": "string",      "shown": "string",      "link": null,      "externalId": null,      "error": null,      "errorAt": null,      "notPublished": true,      "mayBeSent": true,      "titleOverride": null,      "textOverride": null,      "sentText": null,      "sentAt": null,      "postedAt": null,      "publishedAt": null,      "vrChat": null,      "missingPermission": null,      "bluesky": null    }  ],  "keepUpdated": false,  "listsUpdatedAt": null}

Modbot is not endorsed by or affiliated with VRChat Inc. or Discord Inc. VRChat is a trademark of VRChat Inc. Discord is a trademark of Discord Inc. SteamVR is a trademark of Valve Corporation. Windows is a trademark of Microsoft Corporation. Docker is a trademark of Docker, Inc. PostgreSQL is a trademark of the PostgreSQL Community Association of Canada. Railway is a trademark of Railway Corp. Other names are trademarks of their respective owners; see Legal. Modbot and its logo are trademarks of the Modbot project. Open source under AGPL-3.0.