GET
/
streaming
/
directories
/
tree
curl --request GET \
  --url https://api.gcore.com/streaming/directories/tree \
  --header 'APIKey: <api-key>'
{
  "tree": [
    {
      "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",
      "descendants": [
        {
          "id": 101,
          "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",
          "descendants": []
        }
      ]
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Response

200 - application/json

Successful

The response is of type object.