Report this

What is the reason for this report?

DO Status API

Posted on July 24, 2013

Hello.

I was wondering if there is an API in place for the Digital Ocean Status domain? Not the droplets/domains etc API.

I want to be able to use the API to automatically display the kind of same message the DO status has on my sites so that visitors are aware that there may be performance issues.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@kamaln7 I tried to access https://status.digitalocean.com/api/v1/status.json to get the current status. The problem is that I get the following error:

XMLHttpRequest cannot load https://status.digitalocean.com/api/v1/status.json. The 'Access-Control-Allow-Origin' header contains multiple values '*, http://localhost:4200', but only one is allowed. Origin 'http://localhost:4200' is therefore not allowed access.

It seems that the server is using the Origin from the AJAX Request and adds it to the Access-Control-Allow-Origin header. That isn’t necessary as you already have * that allows all origins.

Hi! There’s an RSS feed that you can use: <a href=“https://status.digitalocean.com/rss”>https://status.digitalocean.com/rss</a>.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.