...
Action | Intended User | URI | Method | Request Params | Request Body | Response Body | |
---|---|---|---|---|---|---|---|
create or update Research Project | Synapse User | /researchProject | POST | ResearchProject | ResearchProject | ||
get ResearchProject for update | creator | /accessRequirement/{id}/researchProjectForUpdate | GET | ResearchProject | |||
5 | |||||||
6 | |||||||
7 | asking the server for a suitable request object to start with | creator | /accessRequirement/{id}/dataAccessRequestForUpdate | GET | DataAccessRequestInterface | ||
create or update DataAccessRequest | Synapse User | /dataAccessRequest | POST | DataAccessRequestInterface | DataAccessRequestInterface | ||
9 | submit a DataAccessRequest | creator, | /dataAccessRequest/{id}/submission | POST | etag | DataAccessSubmissionStatus | |
10 | retrieve the latest DataAccessSubmission's status | requestor, | /accessRequirement/{id}/submissionStatus | GET | DataAccessSubmissionStatus | ||
11 | cancel a DataAccessSubmission | requestor, | /dataAccessSubmission/{id}/cancel | PUT | DataAccessSubmissionStatus | ||
12 | update a DataAccessSubmission | ACT | /dataAccessSubmission/{id} | PUT | SubmissionStateChangeRequest | DataAccessSubmission | |
13 | retrieve a list of DataAccessSubmission | ACT | /accessRequirement/{id}/listSubmission | GET | nextPageToken, order (DataAccessSubmissionOrder), filter (by statusDataAccessSubmissionState), ascĀ | DataAccessSubmissionPage | |
14 | retrieve a list of Approval Status for a given list of AccessRequirement | SynapseUser | /accessApproval/status | POST | AccessApprovalStatusRequest | AccessApprovalStatusResults |
...
AccessApprovalStatusResults |
---|
List<AccessRequirementApprovalStatusAccessApprovalStatusResult> results |
ACTAccessRequirementApprovalStatus ACTAccessApprovalStatusResult implements AccessRequirementApprovalStatus AccessApprovalStatusResult |
---|
String accessRequirementId |
Status (NOT_SUBMITTED, SUBMITTED, APPROVED, REJECTED) |
TermsOfUseAccessApprovalStatus implements |
---|
AccessApprovalStatusResult |
---|
String accessRequirementId |
Status (APPROVED, NOT_APPROVED) |
Compare behaviors of #6 and #7
...