Created
April 25, 2012 19:33
-
-
Save markpundsack/2492606 to your computer and use it in GitHub Desktop.
Revisions
-
markpundsack revised this gist
May 11, 2012 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,10 @@ # Heroku Status API v3 (second draft) ## Get current status ```bash $ curl "https://status-beta.heroku.com/api/v3/current-status" {"status":{"Production":"green","Development":"green"},"issues":[]} ``` ## Get list of issues (optionally limited by date or count) -
markpundsack created this gist
Apr 25, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ # Heroku Status API v3 (first draft) ## Get current status ```bash $ curl "https://status-beta.heroku.com/api/v3/current-status" {"Production":"green","Development":"green"} ``` ## Get list of issues (optionally limited by date or count) ```bash $ curl "https://status-beta.heroku.com/api/v3/issues?since=2012-04-24&limit=1" [{"created_at":"2012-04-24T14:02:39Z","id":336,"resolved":true,"title":"Custom Domains: Errors Adding / Updating","updated_at":"2012-04-24T15:24:58Z","updates":[{"contents":"The fix has been applied, and custom domains are functioning as expected.\r\n\r\nFurther investigation shows that custom domains created or updated after 4/23/2012 19:50 UTC were affected.","created_at":"2012-04-24T15:24:58Z","id":980,"incident_id":336,"status_dev":"green","status_prod":"green","update_type":"resolved","updated_at":"2012-04-24T15:24:58Z"},{"contents":"All previously malfunctioning custom domains are now online. Engineers are continuing to roll out the fix.","created_at":"2012-04-24T15:06:53Z","id":979,"incident_id":336,"status_dev":"green","status_prod":"green","update_type":"update","updated_at":"2012-04-24T15:06:53Z"},{"contents":"The issue has been identified and engineers are working to fix.","created_at":"2012-04-24T14:45:49Z","id":978,"incident_id":336,"status_dev":"green","status_prod":"green","update_type":"update","updated_at":"2012-04-24T14:45:49Z"},{"contents":"Engineers are still investigating the source of issues regarding custom domains. We have determined that only domains added or updated in the past 24 hours should be affected.\r\n\r\nWe'll continue to provide more information as it becomes available.","created_at":"2012-04-24T14:23:58Z","id":977,"incident_id":336,"status_dev":"green","status_prod":"green","update_type":"update","updated_at":"2012-04-24T15:08:53Z"},{"contents":"Engineers are investigating issues with custom domains around applications. We will provide more information as it becomes available.","created_at":"2012-04-24T14:02:39Z","id":976,"incident_id":336,"status_dev":"yellow","status_prod":"yellow","update_type":"issue","updated_at":"2012-04-24T14:02:50Z"}]}] ``` ## Get a single issue by ID number ```bash $ curl "https://status-beta.heroku.com/api/v3/issues/336" {"created_at":"2012-04-24T14:02:39Z","id":336,"resolved":true,"title":"Custom Domains: Errors Adding / Updating","updated_at":"2012-04-24T15:24:58Z","updates":[{"contents":"The fix has been applied, and custom domains are functioning as expected.\r\n\r\nFurther investigation shows that custom domains created or updated after 4/23/2012 19:50 UTC were affected.","created_at":"2012-04-24T15:24:58Z","id":980,"incident_id":336,"status_dev":"green","status_prod":"green","update_type":"resolved","updated_at":"2012-04-24T15:24:58Z"},{"contents":"All previously malfunctioning custom domains are now online. Engineers are continuing to roll out the fix.","created_at":"2012-04-24T15:06:53Z","id":979,"incident_id":336,"status_dev":"green","status_prod":"green","update_type":"update","updated_at":"2012-04-24T15:06:53Z"},{"contents":"The issue has been identified and engineers are working to fix.","created_at":"2012-04-24T14:45:49Z","id":978,"incident_id":336,"status_dev":"green","status_prod":"green","update_type":"update","updated_at":"2012-04-24T14:45:49Z"},{"contents":"Engineers are still investigating the source of issues regarding custom domains. We have determined that only domains added or updated in the past 24 hours should be affected.\r\n\r\nWe'll continue to provide more information as it becomes available.","created_at":"2012-04-24T14:23:58Z","id":977,"incident_id":336,"status_dev":"green","status_prod":"green","update_type":"update","updated_at":"2012-04-24T15:08:53Z"},{"contents":"Engineers are investigating issues with custom domains around applications. We will provide more information as it becomes available.","created_at":"2012-04-24T14:02:39Z","id":976,"incident_id":336,"status_dev":"yellow","status_prod":"yellow","update_type":"issue","updated_at":"2012-04-24T14:02:50Z"}]} ```