{"action":"created","issue":{"url":"https://api.github.com/repos/convox/rack/issues/75","labels_url":"https://api.github.com/repos/convox/rack/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/convox/rack/issues/75/comments","events_url":"https://api.github.com/repos/convox/rack/issues/75/events","html_url":"https://github.com/convox/rack/pull/75","id":110334998,"number":75,"title":"Papertrail Service","user":{"login":"nzoschke","id":147410,"avatar_url":"https://avatars.githubusercontent.com/u/147410?v=3","gravatar_id":"","url":"https://api.github.com/users/nzoschke","html_url":"https://github.com/nzoschke","followers_url":"https://api.github.com/users/nzoschke/followers","following_url":"https://api.github.com/users/nzoschke/following{/other_user}","gists_url":"https://api.github.com/users/nzoschke/gists{/gist_id}","starred_url":"https://api.github.com/users/nzoschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzoschke/subscriptions","organizations_url":"https://api.github.com/users/nzoschke/orgs","repos_url":"https://api.github.com/users/nzoschke/repos","events_url":"https://api.github.com/users/nzoschke/events{/privacy}","received_events_url":"https://api.github.com/users/nzoschke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-07T22:57:47Z","updated_at":"2015-10-08T16:48:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/convox/rack/pulls/75","html_url":"https://github.com/convox/rack/pull/75","diff_url":"https://github.com/convox/rack/pull/75.diff","patch_url":"https://github.com/convox/rack/pull/75.patch"},"body":"This depends on https://github.com/convox/papertrail/pull/1 and the `s3://convox/lambda/papertrail.zip` artifact that it releases.\r\n\r\nTodo\r\n- [ ] Factor papertrail specific code into it's own file?\r\n- [ ] Refactor Arns from Parameter to Outputs\r\n- [ ] Restrict Lambda IAM scope\r\n- [ ] Review and document service link/unlink API\r\n- [ ] Fix log prefixes that show up in Papertrail"},"comment":{"url":"https://api.github.com/repos/convox/rack/issues/comments/146618726","html_url":"https://github.com/convox/rack/pull/75#issuecomment-146618726","issue_url":"https://api.github.com/repos/convox/rack/issues/75","id":146618726,"user":{"login":"nzoschke","id":147410,"avatar_url":"https://avatars.githubusercontent.com/u/147410?v=3","gravatar_id":"","url":"https://api.github.com/users/nzoschke","html_url":"https://github.com/nzoschke","followers_url":"https://api.github.com/users/nzoschke/followers","following_url":"https://api.github.com/users/nzoschke/following{/other_user}","gists_url":"https://api.github.com/users/nzoschke/gists{/gist_id}","starred_url":"https://api.github.com/users/nzoschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzoschke/subscriptions","organizations_url":"https://api.github.com/users/nzoschke/orgs","repos_url":"https://api.github.com/users/nzoschke/repos","events_url":"https://api.github.com/users/nzoschke/events{/privacy}","received_events_url":"https://api.github.com/users/nzoschke/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T16:48:39Z","updated_at":"2015-10-08T16:48:39Z","body":"@ddollar any feedback on the API?\r\n\r\n```\r\nrouter.HandleFunc(\"/services/{service}/link\", api(\"service.link\", ServiceLink)).Methods(\"POST\")\r\nrouter.HandleFunc(\"/services/{service}/link/{app}\", api(\"service.unlink\", ServiceUnlink)).Methods(\"DELETE\")\r\n```"}}