Skip to Content
Publications

Read pin availability and state for a published channel version

Set refresh to reconcile the saved pin with the platform when the platform exposes its current state.

GET
/api/projects/{projectId}/publications/{publicationId}/pin-remote

Authorization

headerAuthorizationBearer <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.

Path Parameters

projectId*string
Length1 <= length
publicationId*string
Length1 <= length

Query Parameters

refresh?string

Response Body

Response for status 200

application/json
  1. response
pinned*boolean
revision*string|null
externalId*string|null
reason*string|null
replacesPrevious*boolean
Example Request
curl -X GET 'https://postdot.example/api/projects/string/publications/string/pin-remote'
Example Response
{
  "pinned": true,
  "revision": "string",
  "externalId": "string",
  "reason": "string",
  "replacesPrevious": true
}

Was this page helpful?