-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
The prolific study create command has fallen out of sync with the current API spec.
Objective
Update the CreateStudy model and related structs to align with the current Prolific API specification, replacing deprecated fields and adding new required and
optional fields.
Critical Changes
Breaking Changes (with Backward Compatibility)
- Replace
completion_code(string) withcompletion_codes(array of objects) - Replace
completion_option(string) - deprecated - Replace
eligibility_requirementswithfiltersorfilter_set_id - Replace
access_details_collection_idwithaccess_detailsarray for taskflow studies
New Required Fields
completion_codes- array of CompletionCode objects withcode,code_type,actionsfields
New Optional Fields
access_details- array for taskflow studies with multiple URLsfilter_set_id,filter_set_version- for using predefined filter setsis_custom_screening- custom screening flagcontent_warnings,content_warning_details- content warningsmetadata- custom metadata as map[string]interface{}is_external_study_url_secure- security flag for JWT signingauto_rejection_categories- add to SubmissionsConfig struct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers