v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Directories

Create directory

Use this method to create a new directory entity.

post/streaming/directories

Request body

namestring required

Title of the directory.

parent_idinteger

ID of a parent directory. "null" if it's in the root.

Example request

{
  "name": "New series. Season 1",
  "parent_id": 100
}

Response

Successful

idinteger

ID of the directory

namestring

Title of the directory

parent_idinteger

ID of a parent directory. "null" if it's in the root.

items_countinteger

Number of objects in this directory. Counting files and folders. The quantity is calculated only at one level (not recursively in all subfolders).

created_atstring

Time of creation. Datetime in ISO 8601 format.

updated_atstring

Time of last update of the directory entity. Datetime in ISO 8601 format.