post
https://api.duda.co/api/sites/multiscreen//collection//publish
Publishes a single collection, applying changes made in the editor to the published (live) version of the site.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Publishes a single collection, applying changes made in the editor to the published (live) version of the site. This allows collection updates to be made available on the live site individually, without requiring a full republish of the site.
The behavior depends on the collection type:
- For internal and image collections, the endpoint publishes the collections data and refreshes the site cache, making the updated content immediately available on the live site.
- For external collections, the endpoint publishes only the collection definition (its fields and endpoint configuration). The collections data is subsequently synchronized from the configured external source in accordance with the collections settings.
A typical usage flow is to create or update a collection and its rows through the API, and then call this endpoint to publish the collection to the live site.