core_users_me_retrieve
GET/api/v3//core/users/me/
Get information about current user
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
user
object
required
original
object
{
"user": {
"pk": 0,
"username": "string",
"name": "string",
"is_active": true,
"is_superuser": true,
"groups": [
{
"name": "string",
"pk": "string"
}
],
"email": "[email protected]",
"avatar": "string",
"uid": "string",
"settings": {},
"type": "internal",
"system_permissions": [
"string"
]
},
"original": {
"pk": 0,
"username": "string",
"name": "string",
"is_active": true,
"is_superuser": true,
"groups": [
{
"name": "string",
"pk": "string"
}
],
"email": "[email protected]",
"avatar": "string",
"uid": "string",
"settings": {},
"type": "internal",
"system_permissions": [
"string"
]
}
}
- 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"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '/api/v3/core/users/me/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'