core_users_metrics_retrieve
GET/api/v3//core/users/:id/metrics/
User metrics per 1h
Request
Path Parameters
id integerrequired
A unique integer value identifying this User.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
logins
object[]
required
logins_failed
object[]
required
authorizations
object[]
required
{
"logins": [
{
"x_cord": 0,
"y_cord": 0
}
],
"logins_failed": [
{
"x_cord": 0,
"y_cord": 0
}
],
"authorizations": [
{
"x_cord": 0,
"y_cord": 0
}
]
}
- 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/users/:id/metrics/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'