v1

latestOpenAPI 3.0.32026-07-12124032.8 KB
mappings

storeConfig

Store new MappingConfig

post/v1/mappings

Query parameters

with_idstring

Whether ids are part of the body or not

Request body

idstring required
created_atstring date-time
updated_atstring date-time
org_idstring required
versioninteger required

Example request

{
  "source": {
    "config": {
      "entity_schema": "submission"
    }
  },
  "targets": [
    {
      "mapping_attributes": [
        {
          "target": "_tags",
          "operation": {
            "_append": [
              "new",
              "tags"
            ],
            "_uniq": true
          }
        }
      ]
    }
  ],
  "org_id": "66",
  "version": 2
}

Response

The updated entity mapping config

idstring required
created_atstring date-time
updated_atstring date-time
org_idstring required
versioninteger required

Example response

{
  "source": {
    "config": {
      "entity_schema": "submission"
    }
  },
  "targets": [
    {
      "mapping_attributes": [
        {
          "target": "_tags",
          "operation": {
            "_append": [
              "new",
              "tags"
            ],
            "_uniq": true
          }
        }
      ]
    }
  ],
  "org_id": "66",
  "version": 2
}
All 12 operations