Uploads

Confirm files have landed in R2, promote to live, and return the new site

post/sites/uploads/finalize

Request

  • Base URL: https://api.nippy.host
  • URL: https://api.nippy.host/sites/uploads/finalize
  • Auth: bearer (a scheme the document does not define)

Request body

uploadBatchIdstring uuid required

UploadBatch id returned from /uploads/init

Response

Site is now live

status'live' | 'inactive' required

live when published; inactive when the account is at its plan’s live-site limit (the upload completed but is not being served yet).

siteIdstring required

UUID of the Site that now serves these files

subdomainstring required
urlstring required

Public URL the site is served from

Example response

{
  "status": "live"
}

Changes

No recorded changes to this operation across all 1 revision of this API.