DistributeApp LogoDistributeProject
DistributorUsersUser_idFoldersBatch

Batch get folders

Returns a list of folders by IDs.

POST
/users/{user_id}/folders/batch

Authorization

BearerAuth
Authorization<token>

Type "Bearer" followed by a space and JWT token.

In: header

Path Parameters

user_id*string

User ID (UUID)

Request Body

application/json

Folder IDs

ids*array<string>

Response Body

application/json

application/json

application/json

curl -X POST "https://loading/api/users/string/folders/batch" \  -H "Content-Type: application/json" \  -d '{    "ids": [      "string"    ]  }'
[
  {
    "id": "string",
    "name": "string",
    "parent_folder_id": "string"
  }
]
{
  "error": "Validation failed"
}
{
  "error": "Validation failed"
}