Edit a Source
Edits the specified source.
Authorizations: Sources - EDIT
Requests
PUT /apis/sources/:sourceId
{
"description": "New description",
"host": "239.35.126.101",
"multicast": true,
"name": "InfoDevSource",
"port": 4902,
"type": "UDP"
}
Response
Success
{
"data": {
"description": "New description",
"host": "239.35.126.101",
"multicast": true,
"port": 4902,
"type": "UDP",
"iptv": false,
"iptvIndex": null,
"retransmitPort": 0,
"rtcPort": 0,
"continuous": false,
"detectedFeatures": {
"autodetectEnabled": true,
"hevc": false,
"_4k": false
},
"id": "2762c3ec-062b-4374-a86c-3b365313071d",
"ctime": 1715705190,
"mtime": 1715705845,
"active": false,
"bitrate": 0,
"name": "InfoDevSource"
}
}
Error
Code | Payload | Description |
---|---|---|
|
| Supplied data was insufficient or incorrect |
|
| Unable to locate source. |
|
| Unable to write updated data to a file. |