Check list of data assets for contract violations
curl --request POST \
--url 'https://api-(organization).gable.ai/v0/data-assets/check' \
--header 'Content-Type: application/json' \
--data '{
"inputs": [
{
"sourceName": "<string>",
"sourceType": "postgres",
"schemaContents": "<string>",
"realDbName": "<string>",
"realDbSchema": "<string>"
}
],
"includeUnchangedAssets": false,
"responseType": "DETAILED",
"prLink": "<string>"
}'
[
{
"dataAssetNamespace": "postgres://service-one.aaa.eu-west-1.rds.amazonaws.com:5432",
"dataAssetResourceName": "postgres://service-one.aaa.eu-west-1.rds.amazonaws.com:5432:serviceone.public.sales",
"dataAssetPath": "serviceone.public.sales",
"responseType": "NO_CONTRACT"
}
]
List of data assets to check
The body is of type object
.
Data Asset ID
curl --request POST \
--url 'https://api-(organization).gable.ai/v0/data-assets/check' \
--header 'Content-Type: application/json' \
--data '{
"inputs": [
{
"sourceName": "<string>",
"sourceType": "postgres",
"schemaContents": "<string>",
"realDbName": "<string>",
"realDbSchema": "<string>"
}
],
"includeUnchangedAssets": false,
"responseType": "DETAILED",
"prLink": "<string>"
}'
[
{
"dataAssetNamespace": "postgres://service-one.aaa.eu-west-1.rds.amazonaws.com:5432",
"dataAssetResourceName": "postgres://service-one.aaa.eu-west-1.rds.amazonaws.com:5432:serviceone.public.sales",
"dataAssetPath": "serviceone.public.sales",
"responseType": "NO_CONTRACT"
}
]