POST
/
api
/
datawarehouse
/
v1
/
connection
/
{connectionId}
/
upload
/
{uploadId}
/
schemas
curl --request POST \
  --url https://developer.synq.io/api/datawarehouse/v1/connection/{connectionId}/upload/{uploadId}/schemas \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "connectionId": "<string>",
  "uploadId": "<string>",
  "stateAt": "2023-11-07T05:31:56Z",
  "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": [
                {}
              ]
            }
          ]
        }
      ]
    }
  ]
}'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

connectionId
string
required
uploadId
string
required

Body

application/json

Response

200
application/json

OK

The response is of type object.