GET
/
staff
/
dashboard
/
{workspaceId}
curl --request GET \
  --url https://api.hyra.io/staff/dashboard/{workspaceId} \
  --header 'Authorization: Bearer <token>'
{
  "assignment_progress": {
    "total_with_all_assignments_completed": 123,
    "total_with_assignments": 123
  },
  "average_minutes": 123,
  "currently_playing": [
    {
      "_id": "<string>",
      "username": "<string>"
    }
  ],
  "top_six": [
    {
      "_id": "<string>",
      "position": 123,
      "total": 123,
      "username": "<string>"
    }
  ],
  "total_staff": 123
}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

workspaceId
string
required

Response

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