CBRE Client
  1. Files
CBRE Client
File Manager
  • Client - Projects & Reactives
  • Client Backend Tool
  • File Manager
  • Folders
    • List
      GET
    • Add
      POST
    • Edit
      PUT
    • Show
      GET
    • Delete
      DELETE
  • Files
    • Add
      POST
    • Bulk Add
      POST
    • Update
      PUT
    • Show
      GET
    • Delete
      DELETE
    • Move to Folder
      PATCH
  • Login
    POST
  1. Files

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

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 Code 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 'Authorization: Bearer <token>' \
--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

Example
[]
Modified at 2024-05-23 06:54:11
Previous
Add
Next
Update
Built with