Some Question about API #1098
-
Hi Everyone. I can't find these statuses in the API. also, these numbers? API output for monitors |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @burakdonertas, Apologies for the late response, I just saw this post now. The statuses you see there are based on the true -> "up" As for the agregate numbers, they come from this endpoint:
which gives you:
You can find all information on api endpoints in our swagger docs at |
Beta Was this translation helpful? Give feedback.
Hi @burakdonertas,
Apologies for the late response, I just saw this post now.
The statuses you see there are based on the
status
field of the monitor.true -> "up"
false -> "down"
undefined -> "paused"
As for the agregate numbers, they come from this endpoint:
which gives you:
You can find all information on api endpoints in our swagger docs at
<server_host>:<port>/api-docs
exlocalhost:5000/api-docs