v32

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

Update directory

Change a directory name or move to another "parent_id".

patch/streaming/directories/{directory_id}

Path parameters

directory_idinteger required

Directory ID

Request body

namestring

Title of the directory. Omit this if you don't want to change.

parent_idinteger

ID of a parent directory. "null" if it's in the root. Omit this if you don't want to change.

Example request

{
  "name": "New series. Season 2"
}

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.