POST
/
api
/
datawarehouse
/
v1
/
connection
/
{connection_id}
/
upload
/
{upload_id}
/
sql-definitions
IngestSqlDefinitions
curl --request POST \
  --url https://developer.synq.io/api/datawarehouse/v1/connection/{connection_id}/upload/{upload_id}/sql-definitions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "stateAt": "1s",
  "sqlDefinitions": [
    {
      "fqn": {
        "instanceName": "<string>",
        "databaseName": "<string>",
        "schemaName": "<string>",
        "objectName": "<string>"
      },
      "sql": "<string>"
    }
  ]
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

connection_id
string
required
upload_id
string
required

Body

application/json

Response

200
application/json

Success

The response is of type object.