me

Fetch session details.

This endpoint will retrieve the details of a session.

get/me/sessions/{sessionID}

Path parameters

sessionIDstring required

ID of the session to be retrieved.

Response

Successful GET Sessions JSON response

object required

Example response

{
  "data": {
    "id": 3,
    "type": "sessions",
    "href": "/v1/sessions/3",
    "attributes": {
      "ip": "127.0.0.1",
      "lastValidatedAt": "2020-07-28 02:43:50",
      "platform": {
        "description": "iPhone 11 Pro Max on iOS 13.4",
        "systemName": "iOS",
        "systemVersion": "13.4",
        "deviceVendor": "Apple",
        "deviceModel": "iPhone 11 Pro Max"
      },
      "location": {
        "city": "Amsterdam",
        "region": "Amsterdam",
        "country": "Netherlands",
        "latitude": 52.35997,
        "longitude": 4.86352
      }
    }
  }
}

Changes

Changed in 4 of the 50 revisions of this API.19

    • the endpoint scheme security apiKey was added to the API

      api-security-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the non-success response with the status

      response-non-success-status-added

    • the endpoint scheme security bearerAuth was added to the API

      api-security-added

    • the endpoint scheme security kurozoraBearer was removed from the API

      api-security-removed

    • for the path request parameter sessionID, the type was generalized from integer to string

      request-parameter-type-generalized

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 85ac20c1b7bb14See the full diff
    • for the path request parameter sessionID, the type changed from string to integer

      request-parameter-type-changed

    • the endpoint scheme security kurozoraBearer was added to the API

      api-security-added

    • the endpoint scheme security apiKey was removed from the API

      api-security-removed

    • the endpoint scheme security bearerAuth was removed from the API

      api-security-removed

    • removed the non-success response with the status

      response-non-success-status-removed

    This revision also has 18 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog