Publications
Pin or unpin a published channel version on its platform
Pass the external identifier and revision from the pin details. Reuse the request ID for retries of the same request. Requires publication:dispatch.
POST
header
AuthorizationBearer <Postdot API key>A user-owned Postdot API key sent as Authorization: Bearer <token>. Its project scope is limited by the creator’s current access.
projectId*stringLength
1 <= lengthpublicationId*stringLength
1 <= length- body
requestId*stringLength
1 <= length <= 128expectedExternalId*stringLength
1 <= length <= 2048expectedRevision*|nullpinned*booleanResponse for status 200
application/json- response
state*stringpinned*booleancurl -X POST 'https://postdot.example/api/projects/string/publications/string/pin-remote' \
-H 'Content-Type: application/json' \
-d '{
"requestId": "string",
"expectedExternalId": "string",
"expectedRevision": "string",
"pinned": true
}'Example Response
{
"state": "updated",
"pinned": true
}