v1
latestOpenAPI 3.0.22026-07-17373198641.7 KBproject
v1
Upload batch of files
Params:
- folder (source_path): str - absolute path to a directory containing files
- force: bool (optional) - whether rewrite existing file and Document
post/api/v1/project/upload-session/{uid}/_batch_upload/
Path parameters
uidstring required
A UUID string identifying this upload session.
Request body
Example request
{
"uid": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"is_canceling": "is_canceling",
"project": 0,
"progress": "progress",
"created_date": "2000-01-23T04:56:07.000+00:00",
"completed": true,
"created_by": {
"pk": 2,
"username": "username"
},
"document_type": "document_type"
}Response
Example response
{
"uid": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"is_canceling": "is_canceling",
"project": 0,
"progress": "progress",
"created_date": "2000-01-23T04:56:07.000+00:00",
"completed": true,
"created_by": {
"pk": 2,
"username": "username"
},
"document_type": "document_type"
}