Skip to content

Commit

Permalink
Merge pull request #16954 from bpeckNR/DowntimeExample
Browse files Browse the repository at this point in the history
feat(DowntimeExample): Added query example for monitor downtimes
  • Loading branch information
bradleycamacho authored Apr 16, 2024
2 parents b593552 + b94fbd5 commit a8795a5
Showing 1 changed file with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,35 @@ Queries make requests to fetch data. To learn additional query capabilities avai

</Collapser>

<Collapser
id="downtime-query"
title="Query monitor downtimes"
>

Query existing monitor downtimes. Configuration details are stored in tags.

```
{
actor {
entitySearch(query: "domain = 'SYNTH' AND type = 'MONITOR_DOWNTIME'") {
results {
entities {
accountId
guid
name
tags {
key
values
}
}
}
}
}
}
```

</Collapser>

<Collapser
id="credentials-example"
title="Query secure credentials"
Expand Down

0 comments on commit a8795a5

Please sign in to comment.