Modbot Docs

Edit post on site

POST/api/posts/{id}/destinations/{destinationId}/edit

Changes the title and text of a post that went out, on that site, at once. Discord keeps the picture and pings nobody again. VRChat is sent the whole post again, with the picture it went with and who sees it, and notifies nobody again; it needs a title. One call to the site, never sent again.

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
destinationId*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

application/problem+json

application/problem+json

curl -X POST "https://example.com/api/posts/497f6eca-6276-4993-bfeb-53cbbbba6f08/destinations/497f6eca-6276-4993-bfeb-53cbbbba6f08/edit" \  -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.