Directus
Back to Listing

API: New way to add X2M data

Adding new X2M data without the data param.

Ex:

{
  "name":"hallo",
  "regions":[
    {
      "translation_id":17,
      "region_id":8
    },
    {
      "translation_id":17,
      "region_id":8
    }
  ]
}

Ref: #1800