#Storages

Entity: diskStorage | Scope: disk | Base path: /v1/storages

Legacy entity (UPPER_CASE field names) — field names are automatically converted to camelCase.

#Operations

Method Path Description Bitrix24 Method
GET /v1/storages List all (with filter, sort, pagination) disk.storage.getlist
GET /v1/storages/:id Get by ID disk.storage.get
GET /v1/storages/fields Get available fields disk.storage.getFields

Disabled operations: create, update, delete

#Fields

API Name Bitrix24 Name Type Readonly Description
id ID number yes Идентификатор записи
name NAME string yes
entityType ENTITY_TYPE string yes
entityId ENTITY_ID number yes
rootObjectId ROOT_OBJECT_ID number yes

#Examples

#List

Terminal
curl -X GET '/v1/storages?limit=10' \
  -H 'X-Api-Key: YOUR_KEY'

#Get by ID

Terminal
curl -X GET '/v1/storages/123' \
  -H 'X-Api-Key: YOUR_KEY'

#Batch

Terminal
curl -X POST '/v1/batch' \
  -H 'X-Api-Key: YOUR_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"calls":[{"entity":"storages","action":"list","params":{"limit":5}}]}'