POST
/
v0
/
data-asset
/
ingest
cURL
curl --request POST \
  --url 'https://api-(organization).gable.ai/v0/data-asset/ingest' \
  --header 'Content-Type: application/json' \
  --data '{
  "sourceType": "postgres",
  "sourceNames": [
    "<string>"
  ],
  "databaseSchema": "<string>",
  "schema": [
    "<string>"
  ],
  "dryRun": false,
  "prLink": "https://github.com/fakeorg/fakerepo/pull/123"
}'
{
  "message": "<string>",
  "registered": [
    "<string>"
  ],
  "success": true
}

Body

application/json

Data Asset Schema

The body is of type object.

Response

200
application/json

Data Asset ID

The response is of type object.