curl --location --request PUT 'https://api.makini.io/v4/connections//pipeline/mappings' \
--header 'Content-Type: application/json' \
--data '{
"clientId": "5e505642-9024-474d-9434-e5a44f505cc5",
"spec": {
"version": 2,
"mappings": [
{
"entity": "string",
"field": "string",
"type": "text",
"role": "custom",
"cardinality": "one",
"source": {
"kind": "attribute",
"path": [
"string"
]
}
}
],
"entities": [],
"sources": []
},
"ifMatchDigest": "string"
}'{
"revision": 1,
"digest": "string",
"generated": [
"string"
],
"baseline": {
"slug": "string",
"version": "string"
},
"refresh": {
"triggered": true,
"scopes": [
"string"
],
"executionId": "string",
"reason": "disabled"
}
}