=== GET /rooms/{token} ===
This endpoint is used to retrieve information about a single room, including a list of room participants.
Because providing this information to users who are not in the room would be surprising for those in the room, we only allow the room owner and users in the room to access this method. Room owners are authenticated via their HAWK credentials, while room participants are authenticated via the sessionToken bearer token provided to them when they joined the room.
Desktop users:
GET /rooms/3jKS_Els9IU HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
'''Authorization: <elided>'''
Host: localhost:5000
Standalone Client Users:
GET /rooms/3jKS_Els9IU?'''sessionToken=T1==cGFydG5lcl9pZD00NDY2OTEwMiZzaW''' HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
'''Authorization: <elided>'''
Host: localhost:5000
* '''sessionToken''' - sessionToken provided to user when they joined the room.
Response:
HTTP/1.1 200 OK