...
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 |
*A Synapse user can only join as a Participant in a Competition if the Competition is OPEN. However, the Competition owner can add other users as Participants at any time, regardless of the Competition state.
Submission
URL | HTTP Type | Description |
---|---|---|
/competition/submission | POST | Create a new Submission. |
/competition/submission/{submissionId} | GET | Get a Submission |
/competition/submission/{submissionId}/status | GET | Get the status of a Submission |
/competition/submission/{submissionId}/status | PUT | Update the status of a Submission. |
/competition/submission/{submissionId} | DELETE | Delete a Submission. Requires admin rights on the Competition. |
/competition/{compId}/submission/ | GET | Batch get my Submissions for a given Competition (Paginated). Optional request parameters: |
/competition/{compId}/submission/all | GET | Batch get Submissions for a given Competition (Paginated). |
/competition/{compId}/submission/count | GET | Get the number of Submissions for a given Competition |
...