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>"
}
]
}'
{}
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>"
}
]
}'
{}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Success
The response is of type object
.