Relesys API Docs

v1.3

https://api.relesysapp.net/api/v1.3

Department Total Points

Get Departments' Total Points
GET /highscores/{highscoreId}/departments
https://api.relesysapp.net/api/v1.3/highscores/{highscoreId}/departments
Get total points for each department in the highscore with ID highscoreId.
Default sort is by value in descending order.

Please note: Only users with more than 0 points will be shown.
Scopes: relesys.api, relesys.api:read, relesys.api.highscores, relesys.api.highscores:read
URL Path
highscoreId string / guid required
Query String
departmentId string / guid Filterable optional
value integer Filterable Sortable optional
sort string Comma separated sort order based on sortable properties optional
offset integer Offset value for use in pagination Default: 0 optional
limit integer Total objects to fetch (max 1000) Default: 200 optional
Responses
application/json
JSON
{"count":2,"data":[{"departmentId":"9ade8475-ae90-41e7-9b2c-58e8f96db1e7","url":null,"value":250},{"departmentId":"9d9f4f45-fc56-4b9a-af2f-4de7f8a3c674","url":null,"value":500}]}
object
  count integer      
  data array[object]      
   id string / guid      
   url string      
   value integer      
  nextUrl string      
  previousUrl string