Integrations
Update integration source schema
Integrations
Update integration source schema
Updates the integration source schema config for the specified integration
PATCH
/
integrations
/
{id}
/
schemas
curl --request PATCH \
--url https://api.matia.io/v1/integrations/{id}/schemas \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"schemas": {
"schema": {
"enabled": true,
"tables": {
"table": {
"enabled": true,
"columns": {
"column": {
"enabled": true,
"hashed": true
}
}
}
}
}
}
}'
{
"code": "<string>",
"data": {
"schemas": {
"schema": {
"nameInDestination": "<string>",
"enabled": true,
"tables": {
"table": {
"nameInDestination": "<string>",
"enabled": true,
"syncMode": "<string>",
"cursorField": "<string>",
"columns": {
"column": {
"nameInDestination": "<string>",
"enabled": true,
"hashed": true,
"isPrimaryKey": true
}
}
}
}
}
}
}
}
Authorizations
Path Parameters
The ID of the integration
Body
application/json
Response
200
application/json
Successful operation
The response is of type object
.
curl --request PATCH \
--url https://api.matia.io/v1/integrations/{id}/schemas \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"schemas": {
"schema": {
"enabled": true,
"tables": {
"table": {
"enabled": true,
"columns": {
"column": {
"enabled": true,
"hashed": true
}
}
}
}
}
}
}'
{
"code": "<string>",
"data": {
"schemas": {
"schema": {
"nameInDestination": "<string>",
"enabled": true,
"tables": {
"table": {
"nameInDestination": "<string>",
"enabled": true,
"syncMode": "<string>",
"cursorField": "<string>",
"columns": {
"column": {
"nameInDestination": "<string>",
"enabled": true,
"hashed": true,
"isPrimaryKey": true
}
}
}
}
}
}
}
}