{ "opencollection": "1.0.0", "info": { "name": "Castor EDC / CDMS Audit Trail Study Data Points 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": "Study Data Points", "type": "folder" }, "items": [ { "info": { "name": "List all study data points", "type": "http" }, "http": { "method": "GET", "url": "https://data.castoredc.com/api/study/:study_id/data-points/study", "params": [ { "name": "study_id", "value": "", "type": "path", "description": "The study GUID (uppercase, 8-4-4-4-12 format)." }, { "name": "page", "value": "", "type": "query", "description": "Page number for paginated (HAL) collections." } ] }, "docs": "Retrieves all study-form data points collected across a study." }, { "info": { "name": "List a participant's study data points", "type": "http" }, "http": { "method": "GET", "url": "https://data.castoredc.com/api/study/:study_id/participant/:participant_id/data-points/study", "params": [ { "name": "study_id", "value": "", "type": "path", "description": "The study GUID (uppercase, 8-4-4-4-12 format)." }, { "name": "participant_id", "value": "", "type": "path", "description": "The participant (record) ID." } ] }, "docs": "Retrieves the study-form data points for a single participant." }, { "info": { "name": "Create or update a participant's study data points", "type": "http" }, "http": { "method": "POST", "url": "https://data.castoredc.com/api/study/:study_id/participant/:participant_id/data-points/study", "params": [ { "name": "study_id", "value": "", "type": "path", "description": "The study GUID (uppercase, 8-4-4-4-12 format)." }, { "name": "participant_id", "value": "", "type": "path", "description": "The participant (record) ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates study-form data points for a single participant. Accepts a batch of field_id / value pairs." } ] } ], "bundled": true }