GET
/
streaming
/
directories
/
{directory_id}
curl --request GET \
  --url https://api.gcore.com/streaming/directories/{directory_id} \
  --header 'APIKey: <api-key>'
{
  "directory": {
    "id": 100,
    "name": "New series",
    "parent_id": null,
    "items_count": 2,
    "created_at": "2024-07-01T18:00:00Z",
    "updated_at": "2024-07-01T18:00:00Z",
    "items": [
      {
        "id": 101,
        "item_type": "Directory",
        "name": "New series, Season 1",
        "parent_id": 100,
        "items_count": 12,
        "created_at": "2024-07-01T18:10:00Z",
        "updated_at": "2024-07-01T18:10:00Z"
      },
      {
        "id": 4734454,
        "name": "Season 1, Official Trailer 2024",
        "item_type": "Video",
        "slug": "2Y20240219074738"
      }
    ]
  }
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

directory_id
integer
required

Directory ID

Response

200 - application/json

Successful

The response is of type object.