Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »

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 permission- PaginatedResults<Form>Unlikely to be more than a page of these
POST/studies/{id}/formsResearcher w/ edit permissionForm Formform with id returned
GET/studies/{id}/forms/{id}Researcher w/ edit permission- Form 
PUT/studies/{id}/forms/{id}Researcher w/ edit permissionForm Form 
DELETE/studies/{id}/forms/{id}Researcher w/ edit permission- - 
Consents (a special kind of form/dataset definition, one per study, stored encrypted)
GET/studies/{id}/consentResearcher w/ edit permission- Form 
PUT/studies/{id}/consentResearcher w/ edit permissionForm -create or update consent
DELETE/studies/{id}/consentResearcher w/ edit permission- - 
Participants (1 or more for each research project this user is involved with; I would list all participations across all projects, since we proposed initially to show it in the profile or journal section of the app)
GET/participantsBridge User-studyIdPaginatedResults<Form>All across all studies, unless filtered for a research project
POST/studies/{id}/participantsBridge UserForm FormAgree to consent form and become a participant in the study
GET/participants/{id}Bridge User- Form 
PUT/participants/{id}Bridge UserForm - 
DELETE/participants/{id}Bridge User-   
DELETE/participants/{id}/withdrawBridge User- -Delete all datasets for this participant and delete the consent record; this participant has been withdrawn from the study
Datasets (again a user is likely to work with these across projects, although they are related to specific studies, so API is not scoped to a study)
GET/studies/{id}/datasetsBridge User-participantIdPaginatedResults<DatasetHeader>All datasets for all forms in a study
GET      
DELETE      
POST      
GET      
PUT      
DELETE      

Researcher - can be pretty much any Synapse user

 

GET /studies/{id}/form/{id}/datasets get dataset (possibly truncated, as EntityHeaders) for one form
DELETE /studies/{id}/form/{id}/datasets delete this entire dataset [DONT NEED]

POST /studies/{id}/form/{id}/datasets append record to a dataset
GET /studies/{id}/form/{id}/datasets/{id} get row N for dataset
PUT /studies/{id}/form/{id}/datasets/{id} update row N for dataset
DELETE /studies/{id}/form/{id}/datasets/{id} delete row N of dataset

  • No labels