Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
MethodURIAuthBodyParametersReturnDescription
Studies
GET/studiesAdmin- PaginatedResults<Study>All studies (for creating links within any community)
POST/studiesAdminStudy Studystudy with id returned
GET/studies/{id}Admin- Study 
PUT/studies/{id}AdminStudy Study 
DELETE/studies/{id}Admin- - 
Forms / Dataset Definitions (one per research instrument participants will use in a study)
GET/studies/{id}/formsResearcher w/ edit perms for studypermission- PaginatedResults<Form>Unlikely to be more than a page of these
POST/studies/{id}/formsResearcher w/ edit perms for studypermissionForm Formform with id returned
GET/studies/{id}/forms/{id}Researcher w/ edit perms for studypermission- Form 
PUT/studies/{id}/forms/{id}Researcher w/ edit perms for studypermissionForm Form 
DELETE/studies/{id}/forms/{id}Researcher w/ edit perms for studypermission- - 

Researcher - can be pretty much any Synapse user

 

...

Consents (a special kind of form/dataset definition, one per study, stored encrypted)
GET/studies/{id}

...

/consentResearcher w/ edit permission    
PUT/studies/{id}

...

/consentResearcher w/ edit permission   create or update consent
DELETE/studies/{id}

...

/consentResearcher w/ edit permission    

Researcher - can be pretty much any Synapse user

 

GET /studies/{id}/consent get dataset definitionconsent form
PUT /studies/{id}/formconsent create/{id} update dataset definitionupdate consent form
DELETE /studies/{id}/form/{id} delete this dataset definitionconsent delete consent form