{"action":"created","issue":{"url":"https://api.github.com/repos/librenms/librenms/issues/8245","repository_url":"https://api.github.com/repos/librenms/librenms","labels_url":"https://api.github.com/repos/librenms/librenms/issues/8245/labels{/name}","comments_url":"https://api.github.com/repos/librenms/librenms/issues/8245/comments","events_url":"https://api.github.com/repos/librenms/librenms/issues/8245/events","html_url":"https://github.com/librenms/librenms/pull/8245","id":296338632,"number":8245,"title":"Add Billing Graphs & Data to API","user":{"login":"richardlawley","id":1608083,"avatar_url":"https://avatars0.githubusercontent.com/u/1608083?v=4","gravatar_id":"","url":"https://api.github.com/users/richardlawley","html_url":"https://github.com/richardlawley","followers_url":"https://api.github.com/users/richardlawley/followers","following_url":"https://api.github.com/users/richardlawley/following{/other_user}","gists_url":"https://api.github.com/users/richardlawley/gists{/gist_id}","starred_url":"https://api.github.com/users/richardlawley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardlawley/subscriptions","organizations_url":"https://api.github.com/users/richardlawley/orgs","repos_url":"https://api.github.com/users/richardlawley/repos","events_url":"https://api.github.com/users/richardlawley/events{/privacy}","received_events_url":"https://api.github.com/users/richardlawley/received_events","type":"User","site_admin":false},"labels":[{"id":211051801,"url":"https://api.github.com/repos/librenms/librenms/labels/API","name":"API","color":"66ccff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-02-12T11:13:40Z","updated_at":"2018-02-20T14:18:01Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/librenms/librenms/pulls/8245","html_url":"https://github.com/librenms/librenms/pull/8245","diff_url":"https://github.com/librenms/librenms/pull/8245.diff","patch_url":"https://github.com/librenms/librenms/pull/8245.patch"},"body":"This PR makes billing graphs available through the API, along with the data backing them for use generating graphs in an external system.  Updated documentation demonstrates the new API functions available.\r\n\r\nAs part of this, the billing_graph and bandwidth_graph pages were moved into the standard graph structure.  The remaining billing_graph.php and bandwidth_graph.php pages have been converted to redirect to the new location, but this should really only affect people who have been accessing them directly, or that a page opened prior to updating librenms might try loading the old pages.  If preferred, we can simply remove these pages.\r\n\r\nDO NOT DELETE THIS TEXT\r\n\r\n#### Please note\r\n\r\n> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.\r\n\r\n- [X] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)\r\n\r\n#### Testers\r\n\r\nIf you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`\r\n"},"comment":{"url":"https://api.github.com/repos/librenms/librenms/issues/comments/366990764","html_url":"https://github.com/librenms/librenms/pull/8245#issuecomment-366990764","issue_url":"https://api.github.com/repos/librenms/librenms/issues/8245","id":366990764,"user":{"login":"scrutinizer-notifier","id":6398257,"avatar_url":"https://avatars3.githubusercontent.com/u/6398257?v=4","gravatar_id":"","url":"https://api.github.com/users/scrutinizer-notifier","html_url":"https://github.com/scrutinizer-notifier","followers_url":"https://api.github.com/users/scrutinizer-notifier/followers","following_url":"https://api.github.com/users/scrutinizer-notifier/following{/other_user}","gists_url":"https://api.github.com/users/scrutinizer-notifier/gists{/gist_id}","starred_url":"https://api.github.com/users/scrutinizer-notifier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrutinizer-notifier/subscriptions","organizations_url":"https://api.github.com/users/scrutinizer-notifier/orgs","repos_url":"https://api.github.com/users/scrutinizer-notifier/repos","events_url":"https://api.github.com/users/scrutinizer-notifier/events{/privacy}","received_events_url":"https://api.github.com/users/scrutinizer-notifier/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T14:18:01Z","updated_at":"2018-02-20T14:18:01Z","author_association":"NONE","body":"A [new inspection](https://scrutinizer-ci.com/g/librenms/librenms/inspections/a2f88df9-d258-4a94-be79-4c5d77c06b1c) was created."}}
{"actor":{"display_login":"scrutinizer-notifier"}}