bbc / brave

Basic Real-time AV Editor - allowing you to preview, mix, and route live audio and video streams on the cloud
Apache License 2.0
654 stars 148 forks source link

Remove 'props' from api and config #32

Closed matthew1000 closed 5 years ago

matthew1000 commented 5 years ago

Whilst creating the API docs (‘improved_docs’ branch) I realised how rubbish the ‘props’ section was, so I’ve removed it. e.g. now instead of having to do

curl -X PUT -d ‘{“props:{"type": "test_video”}}' http://localhost:5000/api/inputs

you can do

curl -X PUT -d '{"type": "test_video"}' http://localhost:5000/api/inputs

The diff is big but it’s largely a search-and-replace job.