Uploads
Initialise an upload for the authenticated user — allocate Site + presigned PUT URLs
post/sites/uploads/init
Request
- Base URL: https://api.nippy.host
- URL: https://api.nippy.host/sites/uploads/init
- Auth: bearer (a scheme the document does not define)
Request body
Example request
{
"subdomain": "my-site",
"files": [
{
"name": "index.html",
"size": 4827,
"contentType": "text/html"
}
]
}Response
Init successful — files should be PUT to the returned URLs
Changes
No recorded changes to this operation across all 1 revision of this API.