v1.0 REST Endpoints

Designer/Study Version APIs/v1.0
The operations from the Designer/Study Version APIs/v1.0 category.
Add study version
Method: post
Path: /ec-designer-svc/rest/v1.0/studies/{studyId}/versions
Delete study version
Method: delete
Path: /ec-designer-svc/rest/v1.0/studies/{studyId}/versions/{version}
Get history of all versions for a study as of a certain date
Method: get
Path: /ec-designer-svc/rest/v1.0/studies/{studyId}/versionshistory/asofdate/{asofdate}
Get list of combination of study version and boolean representing the existence of randomization
Method: post
Path: /ec-designer-svc/rest/v1.0/studies/{studyId}/hasRandomization
Get list of study versions
Method: get
Path: /ec-designer-svc/rest/v1.0/studies/{studyId}/versions
Get version of a study
Method: get
Path: /ec-designer-svc/rest/v1.0/studies/{studyId}/versions/{version}
Remove duplicate study version
Method: put
Path: /ec-designer-svc/rest/v1.0/studies/{studyId}/versions/{version}/revert
Set status of study version
Method: post
Path: /ec-designer-svc/rest/v1.0/studies/{studyId}/versions/{version}/status/{state}
Update status of study version
Method: put
Path: /ec-designer-svc/rest/v1.0/studies/{studyId}/versions/{version}/status/{state}
Update status of study version asynchronously
Method: put
Path: /ec-designer-svc/rest/v1.0/studies/{studyId}/versions/{version}/status/{state}/async
Update study version's title
Method: put
Path: /ec-designer-svc/rest/v1.0/studies/{studyId}/versions/{version}