Upload file
POST
/api/file
Creates a new file record. Supply either an uploadId from a completed chunked upload
or raw data bytes for small files. Optionally creates a share link in the same request.
Authorizations
Token
Format: token <value>. Types: user (session) or uploader (API token).
Type
API Key (header: Authorization)
Responses
OK
application/json
JSON "id": "string", "name": "string", "mime": "string", "size": "string", "ownerId": "string", "folderId": "string", "createdAt": "string", "updatedAt": "string", "shareId": "string"
{
}
