{ "opencollection": "1.0.0", "info": { "name": "Castor EDC / CDMS Audit Trail Data Export API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://data.castoredc.com/api/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Data Export", "type": "folder" }, "items": [ { "info": { "name": "Export study data", "type": "http" }, "http": { "method": "GET", "url": "https://data.castoredc.com/api/study/:study_id/export/data", "params": [ { "name": "study_id", "value": "", "type": "path", "description": "The study GUID (uppercase, 8-4-4-4-12 format)." } ] }, "docs": "Exports the collected data of a study (CSV)." }, { "info": { "name": "Export study structure", "type": "http" }, "http": { "method": "GET", "url": "https://data.castoredc.com/api/study/:study_id/export/structure", "params": [ { "name": "study_id", "value": "", "type": "path", "description": "The study GUID (uppercase, 8-4-4-4-12 format)." } ] }, "docs": "Exports the structure (forms, fields, phases) of a study." }, { "info": { "name": "Export option groups", "type": "http" }, "http": { "method": "GET", "url": "https://data.castoredc.com/api/study/:study_id/export/optiongroups", "params": [ { "name": "study_id", "value": "", "type": "path", "description": "The study GUID (uppercase, 8-4-4-4-12 format)." } ] }, "docs": "Exports the option groups (answer choices) of a study." } ] } ], "bundled": true }