Publish

Send content to be added to the publish transaction

Files sent will be added to transaction but will not actually be published on to the public website until the transaction is committed. Several files can be added to a transaction by calling this endpoint multiple times with the each file to be published. Alternatively several files can be sent at once but using the query param zip=true.

post/publish

Request

  • Base URL
    /v1 (relative, and the document’s source URL is not known)
  • Auth
    none declared

Query parameters

transactionIdstring required

The publishing transactionID

zipboolean

Indicates the body is a zipped file

Request body multipart/form-data

contentstring binary

The content to be published

Response

content sucessfully added to the publish transaction

messagestring

message about the request result

errorboolean

indicates if the request was successful

Example response

{
  "message": "New transaction created.",
  "transaction": {
    "startDate": "2018-10-19T13:08:03.238+0100"
  }
}

Changes

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