core_authenticated_sessions_retrieve
GET/api/v3//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
geo_ip
object
nullable
required
asn
object
nullable
required
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-09-27T14:26:18.055Z",
"expires": "2024-09-27T14:26:18.055Z"
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET '/api/v3/core/authenticated_sessions/:uuid/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'