Send one UTF-8 .js, .mjs or .json source file, up to 256 KiB.
Send one UTF-8 .js, .mjs or .json source file, up to 256 KiB. Requires worlds:write. Identical retries are safe; paths are immutable. Server computes hashes. Complete with the exact file path list. Do not mix source files and binary parts.
post/api/v1/uploads/{uploadId}/files
Request
- Base URL: https://portamora.app
- URL: https://portamora.app/api/v1/uploads/{uploadId}/files
- Auth: one of:
- API key in cookie __Host-session
- HTTP bearer
Path parameters
uploadIdstring required
Case-sensitive upload identifier with 10 safe-alphabet characters after the prefix.
Headers
x-amz-content-sha256string required
Lowercase SHA-256 hex of the exact body bytes, including the empty body. The example client adds this automatically; no AWS credentials are needed.
Request body
Response
Accepted.
Changes
No recorded changes to this operation across all 1 revision of this API.