{ "opencollection": "1.0.0", "info": { "name": "Castor EDC / CDMS Audit Trail Participants 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": "Participants", "type": "folder" }, "items": [ { "info": { "name": "List participants", "type": "http" }, "http": { "method": "GET", "url": "https://data.castoredc.com/api/study/:study_id/participant", "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": "Lists the participants (records) enrolled in a study." }, { "info": { "name": "Create a participant", "type": "http" }, "http": { "method": "POST", "url": "https://data.castoredc.com/api/study/:study_id/participant", "params": [ { "name": "study_id", "value": "", "type": "path", "description": "The study GUID (uppercase, 8-4-4-4-12 format)." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new participant (record) in a study." }, { "info": { "name": "Retrieve a participant", "type": "http" }, "http": { "method": "GET", "url": "https://data.castoredc.com/api/study/:study_id/participant/:participant_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." } ] }, "docs": "Retrieves a single participant by ID." } ] } ], "bundled": true }