Workspace
Get leaderboard for workspace
API Documentation
Ranking Key
Staff History
Workspace
Sessions
Orders
Workspace
Get leaderboard for workspace
GET
/
activity
/
workspace
/
leaderboard
curl --request GET \
--url https://api.readmin.app/activity/workspace/leaderboard \
--header 'loader-id: <api-key>'
{
"success": true,
"leaderboard": [
{
"_id": "<string>",
"userId": "<string>",
"groupId": "<string>",
"distribution": "<string>",
"sessions": [
"<string>"
],
"minutes": {
"total": 123,
"active": 123,
"inactive": 123,
"typing": 123,
"messages": 123
},
"attendedSessions": [
"<string>"
],
"goals": {},
"updated": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z"
}
]
}
Authorizations
Response
200
application/json
Successful operation
curl --request GET \
--url https://api.readmin.app/activity/workspace/leaderboard \
--header 'loader-id: <api-key>'
{
"success": true,
"leaderboard": [
{
"_id": "<string>",
"userId": "<string>",
"groupId": "<string>",
"distribution": "<string>",
"sessions": [
"<string>"
],
"minutes": {
"total": 123,
"active": 123,
"inactive": 123,
"typing": 123,
"messages": 123
},
"attendedSessions": [
"<string>"
],
"goals": {},
"updated": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z"
}
]
}