curl --request POST \
--url https://developer.synq.io/api/coordinates/v1/database/by-id \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"ids": [
{
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
}
]
}'
{
"coordinates": [
{
"identifiers": [
{
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
}
],
"synqPaths": [
"<string>"
],
"dialectName": "<string>",
"dialect": "SQL_DIALECT_UNSPECIFIED",
"dataPlatform": {
"bigquery": {
"project": "<string>"
}
},
"dataPlatformType": "DATA_PLATFORM_TYPE_UNSPECIFIED",
"connectionId": "<string>",
"instanceName": "<string>",
"databaseName": "<string>",
"schemaName": "<string>",
"objectName": "<string>",
"sqlFqn": "<string>"
}
]
}
Get multiple DatabaseCoordinates for identifiers.
curl --request POST \
--url https://developer.synq.io/api/coordinates/v1/database/by-id \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"ids": [
{
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
}
]
}'
{
"coordinates": [
{
"identifiers": [
{
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
}
],
"synqPaths": [
"<string>"
],
"dialectName": "<string>",
"dialect": "SQL_DIALECT_UNSPECIFIED",
"dataPlatform": {
"bigquery": {
"project": "<string>"
}
},
"dataPlatformType": "DATA_PLATFORM_TYPE_UNSPECIFIED",
"connectionId": "<string>",
"instanceName": "<string>",
"databaseName": "<string>",
"schemaName": "<string>",
"objectName": "<string>",
"sqlFqn": "<string>"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
BatchGetEntitiesRequest is the request message for the BatchGetEntities method.
Success
BatchGetEntitiesResponse is the response message for the BatchGetEntities method.