GET
/
staff
/
dashboard
/
{workspaceId}
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
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

Response

200 - application/json
Default Response
total_staff
number
required
average_minutes
number
required
top_six
object[]
required
currently_playing
object[]
required
assignment_progress
object
required