POST
/
streaming
/
directories
curl --request POST \
  --url https://api.gcore.com/streaming/directories \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "New series. Season 1",
  "parent_id": 100
}'
{
  "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"
}

Authorizations

APIKey
string
header
required

API key for authentication.

Body

application/json

Response

200
application/json

Successful

The response is of type object.