PATCH
/
streaming
/
streams
/
{stream_id}
/
overlays
curl --request PATCH \
  --url https://api.gcore.com/streaming/streams/{stream_id}/overlays \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "id": 1,
    "url": "http://domain.com/myoverlay_new_3.html",
    "width": null,
    "height": null,
    "x": null,
    "y": null,
    "stretch": true
  }
]'
[
  {
    "id": 1,
    "stream_id": 12345,
    "url": "http://domain.com/myoverlay1.html",
    "width": 120,
    "height": 40,
    "x": 30,
    "y": 30,
    "stretch": false,
    "created_at": "2023-09-20T00:01:01.000Z",
    "updated_at": "2023-10-01T12:01:01.000Z"
  }
]

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

stream_id
integer
required

Stream ID

Body

application/json · object[]

The body is of type object[].

Response

200
application/json

Successful

The response is of type object[].