By Craig McKie
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!
@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>.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.