{ "opencollection": "1.0.0", "info": { "name": "Castor EDC / CDMS Audit Trail Reports 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": "Reports", "type": "folder" }, "items": [ { "info": { "name": "List reports (repeating data)", "type": "http" }, "http": { "method": "GET", "url": "https://data.castoredc.com/api/study/:study_id/report", "params": [ { "name": "study_id", "value": "", "type": "path", "description": "The study GUID (uppercase, 8-4-4-4-12 format)." } ] }, "docs": "Lists the report / repeating-data definitions configured in a study." }, { "info": { "name": "Retrieve a report", "type": "http" }, "http": { "method": "GET", "url": "https://data.castoredc.com/api/study/:study_id/report/:report_id", "params": [ { "name": "study_id", "value": "", "type": "path", "description": "The study GUID (uppercase, 8-4-4-4-12 format)." }, { "name": "report_id", "value": "", "type": "path" } ] }, "docs": "Retrieves a single report / repeating-data definition by ID." }, { "info": { "name": "List a participant's repeating-data instances", "type": "http" }, "http": { "method": "GET", "url": "https://data.castoredc.com/api/study/:study_id/participant/:participant_id/data-points/repeating-data-instance", "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 repeating-data (report) instances for a participant." }, { "info": { "name": "Update a repeating-data instance's data points", "type": "http" }, "http": { "method": "POST", "url": "https://data.castoredc.com/api/study/:study_id/participant/:participant_id/data-points/repeating-data-instance/:repeating_data_instance_id", "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." }, { "name": "repeating_data_instance_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates the data points of a repeating-data instance." } ] } ], "bundled": true }