Bulk Add
POST
api/v1/file_manager/files/bulk
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
files
array [object {6}]
required
name
string
required
path
string
required
type
string
optional
folder_id
integer
required
model_id
integer
optional
model_type
string
optional
Example
{
"files": [
{
"name": "file1.jpg",
"path": "path/to/file1.jpg",
"folder_id": 1
},
{
"name": "file2.jpg",
"path": "path/to/file2.jpg",
"folder_id": 1
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://client-backend-quantum-project.testapi/v1/file_manager/files/bulk' \
--header 'Content-Type: application/json' \
--data-raw '{
"files": [
{
"name": "file1.jpg",
"path": "path/to/file1.jpg",
"folder_id": 1
},
{
"name": "file2.jpg",
"path": "path/to/file2.jpg",
"folder_id": 1
}
]
}'
Responses
🟢200Success
application/json
Body
array[string]
optional
Example
[]