...
URL | HTTP Type | Description |
---|---|---|
/competition | POST | Create a new Competition |
/competition/{competitionId} | GET | Get a Competition |
/competition/{competitionId} | PUT | Update a Competition |
/competition/{competitionId} | DELETE | Delete a Competition |
/competition | GET | Batch Get Competitions (Paginated) |
/competition/count | GET | Get the number of Competitions |
/competition/name/{name} | GET | Find a Competition by name Note that the name must be URL-encoded |
Participant
URL | HTTP Type | Description |
---|---|---|
/competition/{competitionId}/participant | POST | Join as a Participant in a Competition |
/competition/{competitionId}/participant/{principalId} | POST | Add another user as a Participant in a Competition. Requires admin rights on the Competition. |
/competition/{competitionId}/participant/{principalId} | GET | Get a Participant |
/competition/{competitionId}/participant/{principalId} | DELETE | Delete a Participant |
/competition/{competitionId}/participant/ | GET | Batch get Participants for a given Competition (Paginated) Optional request parameters: |
/competition/{competitionId}/participant/count | GET | Get the number of Participants in a given Competition |
...