API specification - NBHEXT/Backend GitHub Wiki

API specification

Endpoints

/api/standings Return current standings for a contest.

  • Method: GET
  • Arguments:
<tr>
    <td>
       <i>workOnContest</i>
    </td>
    <td>
        A value of checkbox in user's settings that indicates whether user wishes to see rating deltas during the contest or not.<br/>
        This is an optional value, but API will assume that it's set to <i>false</i> if it's not present in request arguments.
    </td>
</tr>

<tr>
    <td>
       <i>showUnofficial</i>
    </td>
    <td>
        A value of checkbox in user's contest page that indicates whether user wishes to see rating deltas calculated using full list of participants, including unofficial ones.<br/>
        This is an optional value, but API will assume that it's set to <i>false</i> if it's not present in request arguments.
    </td>
</tr>
Argument Description
contestId Id of the contest that standings should be returned for.
Necessary argument, API will return code 400 if it won't be present.
  • Return value
    <TBD>
⚠️ **GitHub.com Fallback** ⚠️