Team Leaderboard stats
GET {{baseUrl}}/{{version}}/stats/training/teams/{{team_id}}/leaderboard?start_date=2022-06-29&end_date=2022-07-06&by=sessions&type=count&limit=20
This endpoint returns the leaderboard stats for a given team Team UID
By setting the by
parameter it allows you to control what kind of data you want back. For example:
- number of sets
- number of reps
- number of sessions
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
start_date | string | nullable | |
end_date | string | nullable | |
by | string | required | |
type | string | nullable | |
limit | number | nullable |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | A valid JWT token |