project
v1
POST /api/v1/project/upload-session/{uid}/upload/
Upload a File
Params:
- file: file object
- force: bool (optional) - whether rewrite existing file and Document
- review_file: bool - whether skip file check (exists or not)
- directory_path: str - may be passed from TUS plugin
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
uidstring required
A UUID string identifying this upload session.
Headers
File-Nameboolean required
File Name
File-Encodingstring required
File Encoding
Forceboolean
Force upload
Review-Fileboolean
Review File
Directory-Pathboolean
Directory Path
Request body */*
string binary required
Response
Example response
{
"status": "status"
}Changes
No recorded changes to this operation across all 5 revisions of this API.