Discord
Pin a Discord message
Changed onPin a specific message in a channel. Path shape mirrors Discord's own API (PUT /channels/{cid}/pins/{mid}).
Idempotent: re-pinning an already-pinned message is a 204 no-op.
Constraints:
- Bot needs MANAGE_MESSAGES in the channel.
- 50-pin cap per channel: hitting it returns 400 (Discord-side). Caller should unpin one first.
put/v1/discord/channels/{channelId}/pins/{messageId}
Request
- Base URL: https://zernio.com/api
- URL: https://zernio.com/api/v1/discord/channels/{channelId}/pins/{messageId}
- Auth: HTTP bearer
Path parameters
channelIdstring required
messageIdstring required
Query parameters
accountIdstring required
Response
Message pinned (or was already pinned, idempotent).
Changes
- warning
added the new
accountenum value to the/response property for the response status
- warning
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info