sharedsignals
sharedsignals copied to clipboard
Bring setting and reading stream status into alignment
When you read a stream's status (GET), you get back a response with two fields:
- status
- reason
When you set a stream's status (POST), you send an object with three fields and get the same object back:
- stream_id
- status
- reason
Transmitter code would be cleaner if the GET endpoint also returned a stream_id in the response object.