Developer Q&A Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Programatically monitor the Dynatrace.status.io public status api

cusack_christop
Frequent Guest

Anyone know the url to get the JSON back for the values in the public Dynatrace Status IO page?  Here is the page, rendering in HTML though, https://dynatrace.status.io/

I am looking to get the JSON response from what status.io calls its Public Status API https://kb.status.io/developers/public-status-api/ but cannot find the correct path to get the Dynatrace status using this method. 

Thank you for any information,

Chris

2 REPLIES 2

p_devulapalli
DynaMight Leader
DynaMight Leader

@cusack_christop  You can try the below

GET https://dynatrace.status.io/1.0/status/<statuspage_id>

curl -H "Accept: application/json" \
https://dynatrace.status.io/1.0/status/546d8cb6af8407b6730000cb

 

Phani Devulapalli

sujit_k_singh
Leader

Hi @cusack_christop 

In addition to @p_devulapalli , another easy option is: 

The ID is embedded in the HTML of https://dynatrace.status.io/. To find it:

Open https://dynatrace.status.io/ in your browser, Right-click → View Page Source
Search for statuspage_id, status_page_id

sujit_k_singh_0-1789534480043.png

https://api.status.io/1.0/status/{YOUR_ID_HERE}

This returns JSON with:

  • Overall status
  • Per-component status
  • Active incidents

 

Thanks,

Sujit

Dynatrace Professional Certified

Featured Posts