Retrieve workspace staff dashboard.
curl --request GET \
--url https://api.hyra.io/staff/dashboard/{workspaceId} \
--header 'Authorization: Bearer <token>'
{
"total_staff": 123,
"average_minutes": 123,
"top_six": [
{
"_id": "<string>",
"position": 123,
"username": "<string>",
"total": 123
}
],
"currently_playing": [
{
"_id": "<string>",
"username": "<string>"
}
],
"assignment_progress": {
"total_with_assignments": 123,
"total_with_all_assignments_completed": 123
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Default Response
The response is of type object
.
curl --request GET \
--url https://api.hyra.io/staff/dashboard/{workspaceId} \
--header 'Authorization: Bearer <token>'
{
"total_staff": 123,
"average_minutes": 123,
"top_six": [
{
"_id": "<string>",
"position": 123,
"username": "<string>",
"total": 123
}
],
"currently_playing": [
{
"_id": "<string>",
"username": "<string>"
}
],
"assignment_progress": {
"total_with_assignments": 123,
"total_with_all_assignments_completed": 123
}
}