POST
/
v0
/
data-assets
/
check
cURL
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"
  }
]

Body

application/json

List of data assets to check

The body is of type object.

Response

200
application/json

Data Asset ID