Heimdall serves as a platform for creating, and joining socket namespaces.
All API requests require request body including the following... (potentially out of date, read source!)
{
token: <access_token>
}
-
GET | /sessions
- Description
- List of sessions available to join
- Description
-
GET | /sessions/:id
- Description
- Information about a particular session
- Returns
- 401 - Failed to authenticate
- 200 - Success
- Description
-
DELETE | /sessions/:id
- Description
- Delete a session
- Returns
- 401 - Failed to authenticate
- 200 - Success
- Description
-
POST | /sessions/create
- Description
- Creates a session
- Body
{ ...configurableOptions }
- Returns
- 401 - Failed to authenticate
- 200 - Success
- { room_id }
- Description
-
PUT | /sessions/join/:id
- Description
- Join a session
- Returns
- 401 - Failed to authenticate
- 200 - Success
{ id: access_pass, creator_id }
- Description