Support modern configuration in CreateExportProcess
https://redmine.teklia.com/issues/12378
The user_configuration validation of CreateExportProcess should be entirely removed to allow it to create WorkerConfigurations for exports with modern configurations.
The export_id field should also be removed. This endpoint should still perform the validation for existing exports and the auto-creation of a new export, but through configuration["export_id"]. If this field doesn't exist in the configuration, it should treat it as if it was null and should try to create a new export.
The help_text of the configuration field in the serializer should be updated to document these changes.
If #1966 is implemented:
- This endpoint should be switched to the new error format;
- This endpoint should now be calling
WorkerVersion.validate_configurationusing the specifiedconfigurationandcorpusto validate the configuration with the new format, just like whatCreateWorkerConfigurationdoes.
Otherwise, this should be copied into a new issue as a follow-up, and this endpoint will temporarily not validate the configuration.