Method | URI | Auth | Body | Parameters | Return | Description |
---|---|---|---|---|---|---|
Studies | ||||||
GET | /studies | Admin | - | PaginatedResults<Study> | All studies (for creating links within any community) | |
POST | /studies | Admin | Study | Study | study with id returned | |
GET | /studies/{id} | Admin | - | Study | ||
PUT | /studies/{id} | Admin | Study | Study | ||
DELETE | /studies/{id} | Admin | - | - | ||
Forms / Dataset Definitions (one per research instrument participants will use in a study) | ||||||
GET | /studies/{id}/forms | Researcher w/ edit perms for studypermission | - | PaginatedResults<Form> | Unlikely to be more than a page of these | |
POST | /studies/{id}/forms | Researcher w/ edit perms for studypermission | Form | Form | form 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 studypermission | Form | 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} |
...
/consent | Researcher w/ edit permission | ||||
PUT | /studies/{id} |
...
/consent | Researcher w/ edit permission | create or update consent | |||
DELETE | /studies/{id} |
...
/consent | Researcher 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