POST
/
public
/
get-school-leaderboard
curl --request POST \
  --url https://backend.codedamn.com/api/public/get-school-leaderboard \
  --header 'Content-Type: application/json' \
  --data '{
  "data": [
    {
      "data": {
        "data": {
          "fermionSchoolId": "<string>",
          "period": "Today",
          "limit": 250
        }
      }
    }
  ]
}'
[
  {
    "output": {
      "status": "ok",
      "data": {
        "leaderboardUsers": [
          {
            "rank": 250,
            "xpTotal": 123,
            "xpDeltaInPeriod": 123,
            "fermionUserId": "<string>",
            "saasUserId": "<string>",
            "userCreatedAtIso": "2023-11-07T05:31:56Z",
            "name": "<string>",
            "username": "<string>",
            "profilePicUrl": "<string>"
          }
        ]
      }
    }
  }
]

Body

application/json

API Request Body

The body is of type object.

Response

200 - application/json

API Response Body

The response is of type object[].