curl --request POST \
--url https://developer.synq.io/synq.entities.entities.v1.EntitiesService/GetEntity \
--header 'Authorization: Bearer <token>' \
--header 'Connect-Protocol-Version: <connect-protocol-version>' \
--header 'Content-Type: application/json' \
--data '{
"id": {
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
}
}'
{
"entity": {
"workspace": "<string>",
"id": {
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
},
"typeId": 123,
"name": "<string>",
"description": "<string>",
"createdAt": "1s",
"updatedAt": "1s",
"deletedAt": "1s",
"synqPath": "<string>",
"synqCatalogUrl": "<string>",
"ids": [
{
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
}
],
"synqPaths": [
"<string>"
],
"annotations": [
{
"name": "<string>",
"values": [
"<string>"
]
}
]
}
}
Get specific entity by its identifier.
curl --request POST \
--url https://developer.synq.io/synq.entities.entities.v1.EntitiesService/GetEntity \
--header 'Authorization: Bearer <token>' \
--header 'Connect-Protocol-Version: <connect-protocol-version>' \
--header 'Content-Type: application/json' \
--data '{
"id": {
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
}
}'
{
"entity": {
"workspace": "<string>",
"id": {
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
},
"typeId": 123,
"name": "<string>",
"description": "<string>",
"createdAt": "1s",
"updatedAt": "1s",
"deletedAt": "1s",
"synqPath": "<string>",
"synqCatalogUrl": "<string>",
"ids": [
{
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
}
],
"synqPaths": [
"<string>"
],
"annotations": [
{
"name": "<string>",
"values": [
"<string>"
]
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Define the version of the Connect protocol
1
Define the timeout, in ms
GetEntityRequest is the request message for the GetEntity method.
Success
GetEntityResponse is the response message for the GetEntity method.