cURL
curl --request PATCH \ --url https://api.gcore.com/streaming/streams/{stream_id}/overlays/{overlay_id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "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" }
Updates overlay’s settings
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Stream ID
Overlay ID
Successful
The response is of type object.
object
Was this page helpful?