Skip to Content
Publications

Edit a published channel version on its platform

Applies only the supplied editable fields. Pass the external identifier and revision from the edit details. Reuse the request ID for retries of the same request. Requires publication:dispatch.

POST
/api/projects/{projectId}/publications/{publicationId}/edit-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

Request Body

  1. body
requestId*string
Length1 <= length <= 128
expectedExternalId*string
Length1 <= length <= 2048
expectedRevision*|null
content*

Response Body

Response for status 200

application/json
  1. response
state*string
Example Request
curl -X POST 'https://postdot.example/api/projects/string/publications/string/edit-remote' \
  -H 'Content-Type: application/json' \
  -d '{
  "requestId": "string",
  "expectedExternalId": "string",
  "expectedRevision": "string",
  "content": {}
}'
Example Response
{
  "state": "updated"
}

Was this page helpful?