v1

latestOpenAPI 3.0.0Open Government Licence v3.02026-07-23625.5 KB
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

Query parameters

transactionIdstring required

The publishing transactionID

zipboolean

Indicates the body is a zipped file

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"
  }
}