{"action":"created","issue":{"url":"https://api.github.com/repos/bosun-monitor/bosun/issues/1680","repository_url":"https://api.github.com/repos/bosun-monitor/bosun","labels_url":"https://api.github.com/repos/bosun-monitor/bosun/issues/1680/labels{/name}","comments_url":"https://api.github.com/repos/bosun-monitor/bosun/issues/1680/comments","events_url":"https://api.github.com/repos/bosun-monitor/bosun/issues/1680/events","html_url":"https://github.com/bosun-monitor/bosun/issues/1680","id":142535842,"number":1680,"title":"Add bosun alarm rules???","user":{"login":"msqiao","id":17996616,"avatar_url":"https://avatars.githubusercontent.com/u/17996616?v=3","gravatar_id":"","url":"https://api.github.com/users/msqiao","html_url":"https://github.com/msqiao","followers_url":"https://api.github.com/users/msqiao/followers","following_url":"https://api.github.com/users/msqiao/following{/other_user}","gists_url":"https://api.github.com/users/msqiao/gists{/gist_id}","starred_url":"https://api.github.com/users/msqiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msqiao/subscriptions","organizations_url":"https://api.github.com/users/msqiao/orgs","repos_url":"https://api.github.com/users/msqiao/repos","events_url":"https://api.github.com/users/msqiao/events{/privacy}","received_events_url":"https://api.github.com/users/msqiao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-22T03:23:22Z","updated_at":"2016-03-30T13:17:21Z","closed_at":"2016-03-30T13:17:21Z","body":"hello:\r\n    I want to ask, how to through the Java language to add the corresponding alarm rules and amendments, alarm information query and view of Valles long HTTP API does not find the answers I need. Thank you who can help me to explain, thank you."},"comment":{"url":"https://api.github.com/repos/bosun-monitor/bosun/issues/comments/203427735","html_url":"https://github.com/bosun-monitor/bosun/issues/1680#issuecomment-203427735","issue_url":"https://api.github.com/repos/bosun-monitor/bosun/issues/1680","id":203427735,"user":{"login":"kylebrandt","id":1692624,"avatar_url":"https://avatars.githubusercontent.com/u/1692624?v=3","gravatar_id":"","url":"https://api.github.com/users/kylebrandt","html_url":"https://github.com/kylebrandt","followers_url":"https://api.github.com/users/kylebrandt/followers","following_url":"https://api.github.com/users/kylebrandt/following{/other_user}","gists_url":"https://api.github.com/users/kylebrandt/gists{/gist_id}","starred_url":"https://api.github.com/users/kylebrandt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylebrandt/subscriptions","organizations_url":"https://api.github.com/users/kylebrandt/orgs","repos_url":"https://api.github.com/users/kylebrandt/repos","events_url":"https://api.github.com/users/kylebrandt/events{/privacy}","received_events_url":"https://api.github.com/users/kylebrandt/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T13:17:21Z","updated_at":"2016-03-30T13:17:21Z","body":"Bosun does not provide a way to add rules via an API. It is all in the config file, and the process needs to restart to pick up changes in that file.\r\n\r\nOpen alerts can be queried via `http://bosun/api/alerts`"}}