IMS Session Manager (0.1)
Download OpenAPI specification:Download
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
- 200
- 400
- 401
- 404
- 500
- default
Content type
application/json
{- "sessions": [
- {
- "id": "string",
- "address": "string",
- "ports": [
- {
- "name": "string",
- "port": 0
}
], - "session_status": {
- "property1": "string",
- "property2": "string"
}
}
]
}
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
- Payload
Content type
application/json
{- "session_config": "string"
}
Response samples
- 200
- 400
- 401
- 404
- 500
- default
Content type
application/json
{- "id": "string",
- "address": "string",
- "ports": [
- {
- "name": "string",
- "port": 0
}
]
}