Open Half-Shot opened 5 years ago
@turt2live so I can watch this
Thinking on this some more:
Endpoints could be:
POST /verify/room/linked -> used to verify if a room should be linked POST /verify/user/linked -> used to verify if a user should be linked POST /verify/room/unlink -> used to verify if a room should be unlinked POST /verify/user/unlink -> used to verify if a user should be unlinked
Each of these endpoints would be called with the id of the bridge, the (user|room) id, and any useful information about the remote (user|room). The integration service could then make an informed choice on if the user or room should be modified.
error
is included in the body, show the error to the user.On the verification side of things, the bridge and the integration manager need some way to verify that the requests are valid. Probably some kind of shared secret?
For billing etc