Versions Compared

Key

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

...

URIMethodRequest ParametersRequest BodyResponse BodyAuthorizationNotes
/challengePOST--ChallengeChallengeCREATE permission required in referenced project. 
/entity/{projectId}/challengeGET----ChallengeREAD permission required in project. 
/challengeGETparticipantId, limit, offset--ChallengePagedResultsPUBLIC, but to be in the returned list the caller must have READ permission on the project 'owning' the Challenge.returns the projects/challenges for which 'participantId' is registered.
/challenge/{challengeId}PUT--Challenge--UPDATE permission required in referenced project. 
/challenge/{challengeId}DELETE------DELETE permission required in referenced project. 
/challenge/{challengeId}/participantGETlimit, offset, affiliated PaginatedIdsREAD permission required in project.Return challenge participants.  If affiliated=true, return just participants affiliated with some registered Team.  If false, return those affiliated with no Team.  If missing return all participants.
/challenge/{challengeId}/challengeTeamPOST--ChallengeTeamChallengeTeamMust be a member of the Participant Team and be an admin on the referenced Challenge Team. 
/challenge/{challengeId}/challengeTeam/{challTeamId}GET----ChallengeTeamMust have READ permission in the Challenge Project.We defer implementation of this since there is no immediate use case.
/challenge/{challengeId}/challengeTeamGETlimit, offset--ChallengeTeamPagedResultsMust have READ permission in the Challenge Project. 
/challenge/{challengeId}/registratableTeamGETlimit, offset--PaginatedIdsMust have READ permission in the Challenge Project.Returns the Teams which are NOT registered for the challenge and on which is current user is an ADMIN.
/challenge/{challengeId}/challengeTeam/{challTeamId}PUT--ChallengeTeamChallengeTeamMust be a member of the Participant Team and be an admin on the referenced Challenge Team. 
/challengeTeam/{challTeamId}DELETE------Must be an admin on the referenced Challenge Team. 
/teamListPOST IdListIdSetListWrapper<Team>PUBLICReturns a list of Teams for a given list of Team IDs.

/team/{id}/memberList

POST IdListIdSetListWrapper<TeamMember>PUBLICReturns the Team Membership info for a given list of memberIds.
/user/{id}/memberListPOST IdSetListWrapper<TeamMember>PUBLICReturns the user's Membership info for a given list of Teams.
/challenge/{challengeId}/submissionTeamsGETprincipalId, limit, offset--PaginatedIdsMust be the user specified by 'principalId' or be a Synapse AdminReturns a list of Teams either on whose behalf the user is eligible to submit, i.e. the Teams registered for the challenge and in which the user is a member.
/evaluation/submissionPOSTetag, submissionEligibilityHashSubmissionSubmissionMust have SUBMIT permission in the Evaluation referenced in the Submission.If 'contributer' list is not empty then teamId is required and Submission is rejected if submitter or any specified contributers is not on the given team.  If submissionEligibilityHash is included then teamId must also be included and submission will be rejected if computed TeamSubmissionEligibility does not match hash.  Notifications sent to all contributers except for submitter.
/evaluation/submission/{submissionId}/contributor/{principalId}POST ----Administrative ServiceAdds the given user as a contributor to the Submission.
/evaluation/submission/{submissionId}/optOutPUTuserId----userId must be the one making the request (or be a Synapse Administrator)Sets 'optOut' field for given userId in the Submission.  userId must be a contributer in the Submission (not the submitter himself) and Submission must not be in one of the Evaluation's 'optOutDisallowed' states.
/evaluation/{evaluationId}/team/{id}/submissionEligibilityGET----TeamSubmissionEligibilityuser making the request must have SUBMIT permission in the Evaluation and must be a member of the specified Team.