Hello team,
In the Realm Admin API docs section for the triggers, there is no mention of the property unordered which is useful for setting the default value for enable event ordering.
I think we should add this to the docs. The following cURL will work, so this is supported:
curl --location --request POST 'https://realm.mongodb.com/api/admin/v3.0/groups/604a015e2cd96e727e5aa613/apps/604a02389a3024bc9a0a2a04/triggers' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer eyJhb....' \ --data-raw '{ "name": "DatabaseAPITriggerExample", "type": "DATABASE", "function_id": "61123687d87614c7b3258d34", "disabled": false, "config": { "operation_types": ["INSERT", "UPDATE"], "database": "sample_mflix", "unordered": true, "collection": "movies", "service_id": "604a02396d9de2ae9254aff7", "full_document": false, "schedule": "string" } }'
Adding true/false to the property unordered will change this value in the trigger.