openid/sharedsignals

Bring setting and reading stream status into alignment

Closed this issue · 0 comments

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.