breatheco-de / assets-old

Assets for the breatheco.de platform
5 stars 11 forks source link

[streaming api] Add new cohort streaming information #57

Open alesanchezr opened 5 years ago

alesanchezr commented 5 years ago

Being able to add a new cohort to the streaming API: POST /cohort/{cohort_slug}

Right now the only way is manually adding the JSON file like this for each cohort:

{
"it": "7p7rfxdlxsgs",
"rtmp": "emm2lz1sqko4og0gwwsc",
"playlist": "147113",
"videos": []
}

The idea is to allow the creation of that json file using the streaming manager app.

Do not start a new API

This API already exists under /apis/streaming, please continue the development there.

For the future only

In the future we have to try making it dinamically populate using the IT, RTMP and Playlist ID from the StreamVideoProvider API for that particular cohort.

This are the API docs: https://docs.streamingvideoprovider.com/?shell#concept

alesanchezr commented 5 years ago

Related to #58