{ "opencollection": "1.0.0", "info": { "name": "Prolific Bonuses Participant Groups API", "version": "v1" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Participant Groups", "type": "folder" }, "items": [ { "info": { "name": "Get all participant groups", "type": "http" }, "http": { "method": "GET", "url": "https://api.prolific.com/api/v1/participant-groups/", "params": [ { "name": "workspace_id", "value": "", "type": "query" }, { "name": "project_id", "value": "", "type": "query" } ] }, "docs": "List participant groups scoped to a workspace_id or project_id." }, { "info": { "name": "Create participant group", "type": "http" }, "http": { "method": "POST", "url": "https://api.prolific.com/api/v1/participant-groups/", "body": { "type": "json", "data": "{}" } }, "docs": "Create participant group" }, { "info": { "name": "Get a participant group", "type": "http" }, "http": { "method": "GET", "url": "https://api.prolific.com/api/v1/participant-groups/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "The participant group ID." } ] }, "docs": "Get a participant group" }, { "info": { "name": "Update a participant group", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.prolific.com/api/v1/participant-groups/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "The participant group ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a participant group" }, { "info": { "name": "Delete a participant group", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.prolific.com/api/v1/participant-groups/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "The participant group ID." } ] }, "docs": "Delete a participant group" }, { "info": { "name": "Get group participants", "type": "http" }, "http": { "method": "GET", "url": "https://api.prolific.com/api/v1/participant-groups/:id/participants/", "params": [ { "name": "id", "value": "", "type": "path", "description": "The participant group ID." } ] }, "docs": "Get group participants" }, { "info": { "name": "Add participants to group", "type": "http" }, "http": { "method": "POST", "url": "https://api.prolific.com/api/v1/participant-groups/:id/participants/", "params": [ { "name": "id", "value": "", "type": "path", "description": "The participant group ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add participants to group" }, { "info": { "name": "Remove participants from group", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.prolific.com/api/v1/participant-groups/:id/participants/", "params": [ { "name": "id", "value": "", "type": "path", "description": "The participant group ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Remove participants from group" } ] } ], "bundled": true }