{"action":"created","issue":{"url":"https://api.github.com/repos/flapjack/flapjack/issues/831","labels_url":"https://api.github.com/repos/flapjack/flapjack/issues/831/labels{/name}","comments_url":"https://api.github.com/repos/flapjack/flapjack/issues/831/comments","events_url":"https://api.github.com/repos/flapjack/flapjack/issues/831/events","html_url":"https://github.com/flapjack/flapjack/pull/831","id":67232508,"number":831,"title":"use token authentication for pagerduty gateway","user":{"login":"alperkokmen","id":1657578,"avatar_url":"https://avatars.githubusercontent.com/u/1657578?v=3","gravatar_id":"","url":"https://api.github.com/users/alperkokmen","html_url":"https://github.com/alperkokmen","followers_url":"https://api.github.com/users/alperkokmen/followers","following_url":"https://api.github.com/users/alperkokmen/following{/other_user}","gists_url":"https://api.github.com/users/alperkokmen/gists{/gist_id}","starred_url":"https://api.github.com/users/alperkokmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alperkokmen/subscriptions","organizations_url":"https://api.github.com/users/alperkokmen/orgs","repos_url":"https://api.github.com/users/alperkokmen/repos","events_url":"https://api.github.com/users/alperkokmen/events{/privacy}","received_events_url":"https://api.github.com/users/alperkokmen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-08T22:19:26Z","updated_at":"2015-04-09T01:54:32Z","closed_at":"2015-04-09T00:09:53Z","pull_request":{"url":"https://api.github.com/repos/flapjack/flapjack/pulls/831","html_url":"https://github.com/flapjack/flapjack/pull/831","diff_url":"https://github.com/flapjack/flapjack/pull/831.diff","patch_url":"https://github.com/flapjack/flapjack/pull/831.patch"},"body":"on June 16, 2014, PagerDuty [announced](https://developer.pagerduty.com/release_notes) that _Basic Authentication_ was being deprecated.\r\n\r\nthese changes remove using `username` and `password` for communicating with [PagerDuty REST API](https://developer.pagerduty.com/) in favor of `token`. more details about how PagerDuty API authentication works can be found [here](https://developer.pagerduty.com/documentation/rest/authentication).\r\n\r\n- update gateway to set `Authorization` header using `token` (available via credentials) instead of `username` and `password`.\r\n- update `jsonapi` to remove `username` and `password` in favor of `token`.\r\n- update `contact` to remove `username` and `password` in favor of `token`.\r\n- update consumer specs to work with token rather than `username` and `password`.\r\n- update specs to work with the changes above.\r\n\r\ni am also going to create a pull request for [flapjack-diner](https://github.com/flapjack/flapjack-diner)."},"comment":{"url":"https://api.github.com/repos/flapjack/flapjack/issues/comments/91088937","html_url":"https://github.com/flapjack/flapjack/pull/831#issuecomment-91088937","issue_url":"https://api.github.com/repos/flapjack/flapjack/issues/831","id":91088937,"user":{"login":"jessereynolds","id":391439,"avatar_url":"https://avatars.githubusercontent.com/u/391439?v=3","gravatar_id":"","url":"https://api.github.com/users/jessereynolds","html_url":"https://github.com/jessereynolds","followers_url":"https://api.github.com/users/jessereynolds/followers","following_url":"https://api.github.com/users/jessereynolds/following{/other_user}","gists_url":"https://api.github.com/users/jessereynolds/gists{/gist_id}","starred_url":"https://api.github.com/users/jessereynolds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessereynolds/subscriptions","organizations_url":"https://api.github.com/users/jessereynolds/orgs","repos_url":"https://api.github.com/users/jessereynolds/repos","events_url":"https://api.github.com/users/jessereynolds/events{/privacy}","received_events_url":"https://api.github.com/users/jessereynolds/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T01:54:32Z","updated_at":"2015-04-09T01:54:32Z","body":":balloon: :tada: "}}