Era.Common.NetworkMessage.ConsoleApi.SessionManagement.RpcGetOpenSessionsResponse_OpenSession

Description

Properties

Name JsonSchemaType Description
connectedFrom array of references to Era.Common.DataDefinition.Network.Connection Address from which the connection is made. In case of standard connection via ERA webserver, the first address is the address of the webserver and the second address is the address of the browser.
connectedTime reference to Era.Common.DataDefinition.Common.UTCTime Time, when the user connected to server.
id integer ID of the session, which can be used when requesting to close the session.
isCurrentSession boolean True iff this session info contains info about the session, from which this response is requested.
locale string Locale of the session. It is in the 4-letters form, e.g. en_US.
userAgent string User Agent that represents a client (e.g.: web browser).
userName string User name, which was used when logging in.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.NetworkMessage.ConsoleApi.SessionManagement.RpcGetOpenSessionsResponse

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.SessionManagement.RpcGetOpenSessionsResponse_OpenSession",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.SessionManagement.RpcGetOpenSessionsResponse_OpenSession"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.SessionManagement.RpcGetOpenSessionsResponse_OpenSession": {
            "$ref": "#/definitions/RpcGetOpenSessionsResponse_OpenSession"
        }
    },
    "definitions": {
        "RpcGetOpenSessionsResponse_OpenSession": {
            "additionalProperties": false,
            "required": [
                "connectedTime",
                "id",
                "isCurrentSession",
                "locale",
                "userName"
            ],
            "type": "object",
            "properties": {
                "connectedFrom": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Network.Connection#/definitions/Connection"
                        }
                    ]
                },
                "connectedTime": {
                    "$ref": "Era.Common.DataDefinition.Common.UTCTime#/definitions/UTCTime"
                },
                "id": {
                    "type": "integer"
                },
                "isCurrentSession": {
                    "type": "boolean"
                },
                "locale": {
                    "type": "string"
                },
                "userAgent": {
                    "type": "string"
                },
                "userName": {
                    "type": "string"
                }
            }
        }
    }
}