curl --request POST \
--url https://developer.synq.io/api/entities/custom/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"entity": {
"workspace": "<string>",
"id": {
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
},
"ids": [
{
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
}
],
"synqPaths": [
"<string>"
],
"typeId": 123,
"name": "<string>",
"description": "<string>",
"createdAt": "1s",
"updatedAt": "1s",
"deletedAt": "1s",
"synqPath": "<string>",
"synqCatalogUrl": "<string>",
"annotations": [
{
"name": "<string>",
"values": [
"<string>"
]
}
]
}
}'
{}
Create or update an entity. If the entity does not exist, it will be created, otherwise it will be updated. Entities are identified and deduplicated by their Identifier in a scope of a given customer workspace.
curl --request POST \
--url https://developer.synq.io/api/entities/custom/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"entity": {
"workspace": "<string>",
"id": {
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
},
"ids": [
{
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
}
],
"synqPaths": [
"<string>"
],
"typeId": 123,
"name": "<string>",
"description": "<string>",
"createdAt": "1s",
"updatedAt": "1s",
"deletedAt": "1s",
"synqPath": "<string>",
"synqCatalogUrl": "<string>",
"annotations": [
{
"name": "<string>",
"values": [
"<string>"
]
}
]
}
}'
{}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
UpsertEntityRequest is the request message for the UpsertEntity method.
Success
UpsertEntityResponse is the response message for the UpsertEntity method.