core_authenticated_sessions_retrieve
GET/core/authenticated_sessions/:uuid/
AuthenticatedSession Viewset
Request
Path Parameters
uuid uuidrequired
A UUID string identifying this Authenticated Session.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
uuid uuid
current booleanrequired
Check if session is currently active session
user_agent
object
required
Get parsed user agent
device
object
required
User agent device
brand stringrequired
family stringrequired
model stringrequired
os
object
required
User agent os
family stringrequired
major stringrequired
minor stringrequired
patch stringrequired
patch_minor stringrequired
user_agent
object
required
User agent browser
family stringrequired
major stringrequired
minor stringrequired
patch stringrequired
string stringrequired
geo_ip
object
nullable
required
Get GeoIP Data
continent stringrequired
country stringrequired
lat doublerequired
long doublerequired
city stringrequired
asn
object
nullable
required
Get ASN Data
asn integerrequired
as_org stringnullablerequired
network stringnullablerequired
user integerrequired
last_ip stringrequired
last_user_agent string
last_used date-timerequired
expires date-timenullable
{
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"current": true,
"user_agent": {
"device": {
"brand": "string",
"family": "string",
"model": "string"
},
"os": {
"family": "string",
"major": "string",
"minor": "string",
"patch": "string",
"patch_minor": "string"
},
"user_agent": {
"family": "string",
"major": "string",
"minor": "string",
"patch": "string"
},
"string": "string"
},
"geo_ip": {
"continent": "string",
"country": "string",
"lat": 0,
"long": 0,
"city": "string"
},
"asn": {
"asn": 0,
"as_org": "string",
"network": "string"
},
"user": 0,
"last_ip": "string",
"last_user_agent": "string",
"last_used": "2024-07-29T15:51:28.071Z",
"expires": "2024-07-29T15:51:28.071Z"
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
property name* any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
Loading...