-
-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
When trying to create a channel with a curl POST command, I am getting channels with duplicate channel ids.
curl -d "@channel.json" -X POST 'https://<server ip>/api/channels'
{"id":338,"sessionUrl":null,"headers":[],"group":null,"playlist":null,"playlistName":null,"playlistUpdate":false}
and then, for this example:
curl -s 'https://<server ip>/api/channels/' | jq | grep 338
"id": 338,
"id": 338,
Two channels with id 338 are created. This causes the frontend not to load.
I am also not able to create a channel successfully using the following json template. Is this correct?
{
"name": "channel name (mandatory)",
"url": "channel url (mandatory)",
"sessionUrl": null,
"avatar": "channel avatar url (optional)",
"mode": "one of direct/proxy/restream",
"headers": [],
"group": null,
"playlist": null,
"playlistName": null,
"playlistUpdate": true or false
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working