Get Environment Activity Data
GET/api/statistics/
Returns the environment activity data as grouped by statistics scope (users, developers or workspaces). On successful response you will see the subset of the response structure based on the scope (users, developers or workspaces).
Request
Query Parameters
Possible values: [users
, developers
, workspaces
]
Choose 'users', 'developers' or 'workspaces'.
Start date of date range.
End date of date range.
Possible values: non-empty
Specify a specific Organization domain.
Responses
- 200
- 401
- 403
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
developers
object
required
total_developers
object[]
required
Year value.
Possible values: >= 1
and <= 12
Month number of the year.
Count value.
Possible values: >= 1
Day of the month.
monthly_active_developers
object[]
required
Year value.
Possible values: >= 1
and <= 12
Month number of the year.
Count value.
daily_active_developers
object
required
per_day
object[]
required
Year value.
Possible values: >= 1
and <= 12
Month number of the year.
Count value.
Possible values: >= 1
Day of the month.
per_week
object[]
required
Year value.
Count value.
Possible values: >= 1
Week of the year.
per_month
object[]
required
Year value.
Possible values: >= 1
and <= 12
Month number of the year.
Count value.
users
object
required
total_users
object[]
required
Year value.
Possible values: >= 1
and <= 12
Month number of the year.
Count value.
Possible values: >= 1
Day of the month.
monthly_active_users
object[]
required
Year value.
Possible values: >= 1
and <= 12
Month number of the year.
Count value.
daily_active_users
object
required
per_day
object[]
required
Year value.
Possible values: >= 1
and <= 12
Month number of the year.
Count value.
Possible values: >= 1
Day of the month.
per_week
object[]
required
Year value.
Count value.
Possible values: >= 1
Week of the year.
per_month
object[]
required
Year value.
Possible values: >= 1
and <= 12
Month number of the year.
Count value.
workspaces
object
required
Total users in dynamic response with structure of
[{"year": <year>, "month": <month>, "day": <day>, <workspace_id>: <count>...}]
Monthly active users in dynamic response with structure of
[{"year": <year>, "month": <month>, <workspace_id>: <count>...}]
Daily active users in dynamic response with structure of
{"per_month": [{"year": <year>, "month": <month>, <workspace_id>: <count>...}]}
{
"developers": {
"total_developers": [
{
"year": 0,
"month": 0,
"count": 0,
"day": 0
}
],
"monthly_active_developers": [
{
"year": 0,
"month": 0,
"count": 0
}
],
"daily_active_developers": {
"per_day": [
{
"year": 0,
"month": 0,
"count": 0,
"day": 0
}
],
"per_week": [
{
"year": 0,
"count": 0,
"week": 0
}
],
"per_month": [
{
"year": 0,
"month": 0,
"count": 0
}
]
}
},
"users": {
"total_users": [
{
"year": 0,
"month": 0,
"count": 0,
"day": 0
}
],
"monthly_active_users": [
{
"year": 0,
"month": 0,
"count": 0
}
],
"daily_active_users": {
"per_day": [
{
"year": 0,
"month": 0,
"count": 0,
"day": 0
}
],
"per_week": [
{
"year": 0,
"count": 0,
"week": 0
}
],
"per_month": [
{
"year": 0,
"month": 0,
"count": 0
}
]
}
},
"workspaces": {
"total_users": {},
"monthly_active_users": {},
"daily_active_users": {}
}
}
No authentication found or authentication is not correct.
Specified path is not allowed
Permission evaluation:
(Is Not App AND Is Authenticated)
Descriptions:
Is Authenticated
: Allows access only to authenticated users.
Is Not App
: Client must not be a VIKTOR app.