Sites
Initialise an in-place edit — validate the upserts/deletes and return presigned PUT URLs for the upserts. Supersedes any revision still pending for the site.
post/sites/{id}/revisions/init
Request
- Base URL: https://api.nippy.host
- URL: https://api.nippy.host/sites/{id}/revisions/init
- Auth: bearer (a scheme the document does not define)
Path parameters
idstring required
Site UUID
Request body
Example request
{
"upserts": [
{
"name": "index.html",
"size": 4827,
"contentType": "text/html"
}
],
"deletes": [
"old-page.html",
"assets/unused.css"
]
}Response
Revision accepted — PUT the upserts to the returned URLs, then finalize. files is empty for a pure-delete revision.
Changes
No recorded changes to this operation across all 1 revision of this API.