Create a preview
Create a preview Build the site to a preview URL instead of deploying live. To check a large change before it reaches visitors, build a preview, read …
Create a preview Build the site to a preview URL instead of deploying live. To check a large change before it reaches visitors, build a preview, read …
Delete a preview Expire a preview so its URL no longer serves it. DELETE https://sitepaste.com/api/v1/public/sites/{siteId}/previews/{previewId} …
List previews List the site’s active previews. GET https://sitepaste.com/api/v1/public/sites/{siteId}/previews Requires the deploy scope. Usage …
Promote a preview Promote a ready preview to live: the site starts serving the preview in a single step, and the promotion is recorded in build …
Read a preview Read one preview: its URL, visibility, expiry, and status, which is one of building, ready, failed, promoted, or expired. GET …
Rebuild a preview Rebuild a preview against the current content and extend its expiry. Metered like a deploy. POST …
Update a preview Change a preview’s visibility or password. PATCH https://sitepaste.com/api/v1/public/sites/{siteId}/previews/{previewId} …