GET
/
api
/
schema
/
v1
/
{id}
curl --request GET \
  --url https://developer.synq.io/api/schema/v1/{id} \
  --header 'Authorization: Bearer <token>'
{
  "schema": {
    "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

id
object
required

Identifier of the entity to get.

Response

200
application/json

OK

GetEntityResponse is the response message for the GetEntity method.