Check list of S3 data assets for contract violations
curl --request POST \
--url 'https://api-(organization).gable.ai/v0/data-assets/check-compliance/s3' \
--header 'Content-Type: application/json' \
--data '{
"assets": [
{
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": [
"<any>"
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
},
"pattern": "<string>",
"bucket": "<string>",
"fieldNameToDataAssetFieldProfileMap": {}
}
],
"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 S3 data assets to check for compliance
The body is of type object
.
Data Asset ID
curl --request POST \
--url 'https://api-(organization).gable.ai/v0/data-assets/check-compliance/s3' \
--header 'Content-Type: application/json' \
--data '{
"assets": [
{
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": [
"<any>"
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
},
"pattern": "<string>",
"bucket": "<string>",
"fieldNameToDataAssetFieldProfileMap": {}
}
],
"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"
}
]