v1

latestOpenAPI 3.0.02026-07-2417611.8 MB
Publishing

Update the default site revision

Use the /site-revisions/default endpoint to update the values of properties 'autoPublishEnabled', 'name' and 'description' by replacing them with the ones in request body. Please note: Modifications to the 'autoPublishEnabled' flag are not picked up by WCH immediately but with a time lag of up to 30 seconds<br />User roles: admin, manager

put/publishing/v1/site-revisions/default

Request body

nameobject required

an object holding the localized title for multiple languages

descriptionobject

an object holding the localized description for multiple languages

idstring required

Unique identifier representing a specific item

revstring required

a string identifying a specific version of the document

createdstring date-time

date when this item was created

lastModifiedstring date-time

date when this item was modifed for the last time

state'READY' | 'BUILDING' | 'PENDING'

State of the site revision

autoPublishEnabledboolean

If true, any updates affecting this site revision will be published automatically. Default is true.

lastSucceededstring date-time

date when this site revision was last updated successfully (last time a job for that site revision completed successfully)

activeboolean

indicates if this site revision is the active one.

Response

Successfully updated the site revision.

idstring required

Unique identifier representing a specific item

revstring required

a string identifying a specific version of the document

createdstring date-time required

date when this item was created

lastModifiedstring date-time required

date when this item was modifed for the last time

descriptionobject

an object holding the localized description for multiple languages

nameobject required

an object holding the localized title for multiple languages