Skip to main content

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

400
{"code":"010001", "name":"InputValidation",
"message":<Error message>,
"httpStatusCode":400}
Supplied data was insufficient or incorrect
404
{"code":"040000", "name":"NotFound",
"message":"Not Found Error",
 "httpStatusCode":404}

Unable to locate source.

500
{"code": "070014", "name":"FileWrite",
"message": "Error writing to file",
"httpStatusCode": 500}

Unable to write updated data to a file.

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.