Publish now

Starts publishing a scheduled post immediately and returns the aggregate in processing state.

post/v1/posts/{id}/publish

Request

  • Base URL: https://postonce.to/api/public
  • URL: https://postonce.to/api/public/v1/posts/{id}/publish
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Aggregate post ID.

Response

Publish-now started successfully. The returned post is no longer scheduled.

Example response

{
  "data": {
    "media": [
      {
        "url": "https://cdn.example.com/launch-image.png",
        "type": "image"
      }
    ],
    "status": "scheduled",
    "targets": [
      {
        "status": "pending"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.