Menu

session-documentation

Anton

Resource: /julia/session

GET

The resource currently only replies with data in JSON format.

Purpose

This resource returns the basic information governing the session: agent id, home, look at, region server to contact, etc.

Prerequisite

The caller must be in possession of a valid grid session ticket and present it to the resource as a cookie with the name gridSession</name>. The ticket can be obtained by using the /julia/login resource.

Result

Right now the data returned is a bit too geared towards a traditional viewer, the format should be more geared towards a REST resource.

{
    "version": 1,
    "firstName": "Test",
    "lastName": "User",
    "fullName": null,
    "agentId": "b2d2d4ae-0a04-49a3-9f05-a1bea8bbfc1c",
    "sessionId": "a8dea498-b5d5-4f21-b82f-863e76e701b8",
    "secureSessionId": "d66745b9-b494-428a-a0c5-1cec705e2f53",
    "circuitCode": 1006249875,
    "simPort": 9000,
    "simIp": "192.168.1.24",
    "regionX": 1000,
    "regionY": 1000,
    "homeRegion": 1099511628032000,
    "homePosition": {
        "X": 0,
        "Y": 0,
        "Z": 0
    },
    "homeLookAt": {
        "X": 0,
        "Y": 0,
        "Z": 0
    },
    "lookAt": {
        "X": 0,
        "Y": 1,
        "Z": 0
    }
}

Related

Wiki: login-documentation

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.