curl --request POST \
--url https://developer.synq.io/api/monitors/automated/v1/deployment-rules/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"deploymentRules": [
{
"exclusiveQueryConfig": {
"query": {
"parts": [
{
"identifierList": {
"identifiers": [
{
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
}
]
}
}
],
"operand": "QUERY_OPERAND_UNSPECIFIED"
}
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"source": "SOURCE_APP",
"configId": "<string>"
}
]
}
'{
"createdIds": [
"<string>"
],
"updatedIds": [
"<string>"
],
"errors": [
{
"id": "<string>",
"reason": "<string>"
}
]
}curl --request POST \
--url https://developer.synq.io/api/monitors/automated/v1/deployment-rules/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"deploymentRules": [
{
"exclusiveQueryConfig": {
"query": {
"parts": [
{
"identifierList": {
"identifiers": [
{
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
}
]
}
}
],
"operand": "QUERY_OPERAND_UNSPECIFIED"
}
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"source": "SOURCE_APP",
"configId": "<string>"
}
]
}
'{
"createdIds": [
"<string>"
],
"updatedIds": [
"<string>"
],
"errors": [
{
"id": "<string>",
"reason": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
List of DeploymentRules to upsert.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Resolves to entities matching any of the given identifiers.
Show child attributes
Identifier is a unique reference to an entity in SYNQ system. Entity identifiers are designed to closely mimic identifiers used by data platforms and tools. To construct an identifier, you need to know the kind of the entity and the ids that you would normally use to identify it in the data platform or tool. For example, to identify a table in BigQuery, you would need to know the project, dataset, and table names.
Show child attributes
Airflow DAG identifier
Show child attributes
SYNQ integration_id that identifies the Airflow instance
Airflow dag_id that identifies the DAG
QUERY_OPERAND_UNSPECIFIED, QUERY_OPERAND_AND, QUERY_OPERAND_OR, QUERY_OPERAND_EXCEPT, QUERY_OPERAND_UPSTREAM, QUERY_OPERAND_DOWNSTREAM 1 - 100SOURCE_APP, SOURCE_API Success
IDs for which DeploymentRules were created without error.
IDs for which DeploymentRules were updated without error.