Get Workspace Statistics
GET/api/workspaces/:id/statistics/
Get usage statistics, and historical user counts of a specific workspace.
Request
Path Parameters
A unique integer value identifying this workspace.
Query Parameters
Start date of date range.
End date of date range.
Responses
- 200
- 400
- 401
- 403
- 404
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
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_month
object[]
required
Year value.
Possible values: >= 1 and <= 12
Month number of the year.
Count value.
{
"total_users": [
{
"year": 0,
"month": 0,
"count": 0,
"day": 0
}
],
"monthly_active_users": [
{
"year": 0,
"month": 0,
"count": 0
}
],
"daily_active_users": {
"per_month": [
{
"year": 0,
"month": 0,
"count": 0
}
]
}
}
Validation error response.
It produces a validation error schema like below.
{
"field1": ["Validation error"],
"non_field_errors": ["Sample non field validation error"]
}
No authentication found or authentication is not correct.
Specified path is not allowed
Permission evaluation:
Is Authenticated AND Is Not App AND Workspace Admin Permission
Descriptions:
Is Authenticated : Allows access only to authenticated users.
Workspace Admin Permission : Checks whether the user has admin rights to the workspace.
Is Not App : Client must not be a VIKTOR app.
Workspace does not exist.