Previews
Stage an in-place edit of a live preview (add/replace/remove files)
post/previews/{id}/revisions/init
Request
- Base URL: https://api.nippy.host
- URL: https://api.nippy.host/previews/{id}/revisions/init
- Auth: bearer (a scheme the document does not define)
Path parameters
idstring required
Request body
Example request
{
"upserts": [
{
"name": "index.html",
"size": 4827,
"contentType": "text/html"
}
],
"deletes": [
"old-page.html",
"assets/unused.css"
]
}Response
Revision staged — PUT upserts to the returned URLs
Changes
No recorded changes to this operation across all 1 revision of this API.