Method | URI | Auth | Body | Parameters | Return | Description |
---|---|---|---|---|---|---|
Studies | ||||||
GET | /studies | Researcher | - | PaginatedResults<Study> | All studies (for creating links within any community) | |
POST | /studies | Researcher | Study | Study | study with id returned | |
GET | /studies/{id} | Researcher | - | Study | ||
PUT | /studies/{id} | Researcher | Study | Study | ||
DELETE | /studies/{id} | Researcher | - | |||
Forms / Dataset Definitions (one per research instrument participants will use in a study) | ||||||
GET | ||||||
POST | ||||||
GET | ||||||
PUT | ||||||
DELETE |
Researcher - can be pretty much any Synapse user
GET /studies list all studies (yes we need this for linking)/{id}/form get all dataset definitions for study {id}
POST /studies create study/{id}/form create a new dataset definition
GET /studies/{id} show study/form/{id} get dataset definition
PUT /studies/{id}/form/{id} update studydataset definition
DELETE /studies/{id} delete study/form/{id} delete this dataset definition