curl --request POST \
--url https://developer.synq.io/api/datawarehouse/v1/connection/{connection_id}/upload/{upload_id}/schemas \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"stateAt": "1s",
"schemas": [
{
"fqn": {
"instanceName": "<string>",
"databaseName": "<string>",
"schemaName": "<string>",
"objectName": "<string>"
},
"columns": [
{
"name": "<string>",
"nativeType": "<string>",
"ordinalPosition": 123,
"description": "<string>",
"tags": [
{
"tagName": "<string>",
"tagValue": "<string>"
}
],
"isStruct": true,
"isRepeated": true,
"fields": [
{
"name": "<string>",
"nativeType": "<string>",
"description": "<string>",
"ordinalPosition": 123,
"isStruct": true,
"isRepeated": true,
"fields": [
{}
]
}
]
}
]
}
]
}'
{}
curl --request POST \
--url https://developer.synq.io/api/datawarehouse/v1/connection/{connection_id}/upload/{upload_id}/schemas \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"stateAt": "1s",
"schemas": [
{
"fqn": {
"instanceName": "<string>",
"databaseName": "<string>",
"schemaName": "<string>",
"objectName": "<string>"
},
"columns": [
{
"name": "<string>",
"nativeType": "<string>",
"ordinalPosition": 123,
"description": "<string>",
"tags": [
{
"tagName": "<string>",
"tagValue": "<string>"
}
],
"isStruct": true,
"isRepeated": true,
"fields": [
{
"name": "<string>",
"nativeType": "<string>",
"description": "<string>",
"ordinalPosition": 123,
"isStruct": true,
"isRepeated": true,
"fields": [
{}
]
}
]
}
]
}
]
}'
{}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Success
The response is of type object
.