Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

URLHTTP TypeDescription
/competitionPOST

Create a new Competition

/competition/{competitionId}GETGet a Competition
/competition/{competitionId}PUT

Update a Competition

/competition/{competitionId}DELETEDelete a Competition
/competitionGET

Batch Get Competitions (Paginated)

Optional request parameters:
limit (long), offset (long)

/competition/countGETGet the number of Competitions
/competition/name/{name}GETFind a Competition by name

Note that the name must be URL-encoded

Participant

URLHTTP TypeDescription
/competition/{competitionId}/participantPOST

Join as a Participant in a Competition

/competition/{competitionId}/participant/{principalId}POSTAdd another user as a Participant in a Competition.
Requires admin rights on the Competition.
/competition/{competitionId}/participant/{principalId}GETGet a Participant
/competition/{competitionId}/participant/{principalId}DELETEDelete a Participant
/competition/{competitionId}/participant/GET

Batch get Participants for a given Competition (Paginated)

Optional request parameters:
limit (long), offset (long)

/competition/{competitionId}/participant/countGETGet the number of Participants in a given Competition

...