curl --request POST \
--url https://developer.synq.io/api/monitors/automated/v1/deployment-rules/deployed \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"deploymentRule": {
"exclusiveQueryConfig": {
"query": {
"parts": [
{
"identifierList": {
"identifiers": [
{
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
}
]
}
}
],
"operand": "QUERY_OPERAND_UNSPECIFIED"
}
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
}
}'
{}
curl --request POST \
--url https://developer.synq.io/api/monitors/automated/v1/deployment-rules/deployed \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"deploymentRule": {
"exclusiveQueryConfig": {
"query": {
"parts": [
{
"identifierList": {
"identifiers": [
{
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
}
]
}
}
],
"operand": "QUERY_OPERAND_UNSPECIFIED"
}
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
}
}'
{}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Success
The response is of type object
.