Skip to main content

IMS Session Manager (0.1)

Download OpenAPI specification:Download

SessionManagerV0

ListSessions

returns a list of all sessions from allocation(s) with a matching session_type selector for the provided project_id

Authorizations:
BearerToken
path Parameters
project_id
required
string

project_id of the project to use.

query Parameters
session_type
required
string

session_type is the allocation selector.

Responses

Response samples

Content type
application/json
{
  • "sessions": [
    ]
}

CreateSession

creates and returns a new session from an allocation with a matching session_type selector for the provided project_id

Authorizations:
BearerToken
path Parameters
project_id
required
string

project_id of the project to use.

query Parameters
session_type
required
string

session_type is the allocation selector.

Request Body schema: application/json

body contains the session config to apply to the session.

session_config
string

session_config to set on the game server.

Responses

Request samples

Content type
application/json
{
  • "session_config": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "address": "string",
  • "ports": [
    ]
}