me
Fetch session details.
Changed onThis endpoint will retrieve the details of a session.
get/me/sessions/{sessionID}
Request
- Base URLhttps://api.kurozora.app/v1
- URLhttps://api.kurozora.app/v1/me/sessions/{sessionID}
- Auth
- API key in header X-API-Key
- or HTTP bearer
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
- info
the endpoint scheme security
apiKeywas added to the API
- info
- info
added the non-success response with the status
- info