Notice deployments track when a notice configuration was published and deployed to your production environments. They are used for audit and compliance purposes to keep a full log of changes made to how consent is being collected.
/widgets/notices/deploymentsendpoint of the API exposes the notice deployments managed by Didomi for your organizations. For a full reference of the endpoint and the resources that it returns, visit https://api.didomi.io/docs/.
Only draft configurations can be published. A draft configuration is marked as deployed once it is published and cannot be published or modified anymore.
To publish the current draft configuration, create a deployment for that configuration by sending a
POST /widgets/notices/deploymentsrequest for that specific configuration.
After a configuration is published, the publishing date is set in its
deployed_atfield and that configuration cannot be modified or published anymore.
"message": "Description of changes included in my deployment"
production_config_idshould be the ID of the draft config you are publishing.
messageis a text field that can be used to indicate information on what changes are included in your deployment.