# Channel Is Editable
API call format
GET /broker/channels/{<channel_guid>}/edit
Description
This call checks whether a channel is editable. The call returns a flag locked. If true the channel is locked for edition. If false the channel is editable.
Precondition
- Authorization token is needed.
- Mandatory elements (should be specified):
- <channel_guid> - valid channel guid. Take a specific channel guid using Channels List API call.
Postcondition
- On success response code should be 200
- On success the details in JSON format of the requested video channel is returned.
- On failure an error will be returned with the right error code and description.
Example:
[Request] GET https://<base_api_url>/broker/channels/<channel_guid>/edit //use GET /broker/channels to find a specific guid
[Request Headers] {"Content-Type":"application/json","Accept":"application/json","Authorization":"<IdToken>"}
[Response] 200
[Response Headers] {"Content-Type":["application/json"],"Content-Length":["..."],"Connection":["keep-alive"],"Date":["..... GMT"],"x-amzn-RequestId":["....."],....]}
[Response]
{
"data": {
"locked": true //flag if the channel is locked
},
"status": true //API call status
}