{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/vmpooler/issues/137","labels_url":"https://api.github.com/repos/puppetlabs/vmpooler/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/vmpooler/issues/137/comments","events_url":"https://api.github.com/repos/puppetlabs/vmpooler/issues/137/events","html_url":"https://github.com/puppetlabs/vmpooler/pull/137","id":115141966,"number":137,"title":"(QENG-2995) Display associated VMs in GET /token/:token endpoint","user":{"login":"sschneid","id":20033,"avatar_url":"https://avatars.githubusercontent.com/u/20033?v=3","gravatar_id":"","url":"https://api.github.com/users/sschneid","html_url":"https://github.com/sschneid","followers_url":"https://api.github.com/users/sschneid/followers","following_url":"https://api.github.com/users/sschneid/following{/other_user}","gists_url":"https://api.github.com/users/sschneid/gists{/gist_id}","starred_url":"https://api.github.com/users/sschneid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sschneid/subscriptions","organizations_url":"https://api.github.com/users/sschneid/orgs","repos_url":"https://api.github.com/users/sschneid/repos","events_url":"https://api.github.com/users/sschneid/events{/privacy}","received_events_url":"https://api.github.com/users/sschneid/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/puppetlabs/vmpooler/labels/awaiting%20review","name":"awaiting review","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-04T20:39:25Z","updated_at":"2015-11-04T21:00:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/vmpooler/pulls/137","html_url":"https://github.com/puppetlabs/vmpooler/pull/137","diff_url":"https://github.com/puppetlabs/vmpooler/pull/137.diff","patch_url":"https://github.com/puppetlabs/vmpooler/pull/137.patch"},"body":"This is deployed on `vmpooler-dev`.\r\n\r\n````\r\n$ curl -k -X GET -u sschneider --url https://vmpooler-dev.delivery.puppetlabs.net/api/v1/token/cxig79je6dzjjinbg5oxmfjup63libs5; e\r\nEnter host password for user 'sschneider':\r\n````\r\n````json\r\n{\r\n  \"ok\": true,\r\n  \"cxig79je6dzjjinbg5oxmfjup63libs5\": {\r\n    \"user\": \"sschneider\",\r\n    \"created\": \"2015-11-03 14:56:57 -0800\",\r\n    \"last\": \"2015-11-04 12:28:37 -0800\",\r\n    \"vms\": {\r\n      \"running\": [\r\n        \"dqs4914g2wjyy5w\",\r\n        \"hul7ib0ssr0f4o0\"\r\n      ]\r\n    }\r\n  }\r\n}\r\n````"},"comment":{"url":"https://api.github.com/repos/puppetlabs/vmpooler/issues/comments/153863917","html_url":"https://github.com/puppetlabs/vmpooler/pull/137#issuecomment-153863917","issue_url":"https://api.github.com/repos/puppetlabs/vmpooler/issues/137","id":153863917,"user":{"login":"stahnma","id":6961,"avatar_url":"https://avatars.githubusercontent.com/u/6961?v=3","gravatar_id":"","url":"https://api.github.com/users/stahnma","html_url":"https://github.com/stahnma","followers_url":"https://api.github.com/users/stahnma/followers","following_url":"https://api.github.com/users/stahnma/following{/other_user}","gists_url":"https://api.github.com/users/stahnma/gists{/gist_id}","starred_url":"https://api.github.com/users/stahnma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stahnma/subscriptions","organizations_url":"https://api.github.com/users/stahnma/orgs","repos_url":"https://api.github.com/users/stahnma/repos","events_url":"https://api.github.com/users/stahnma/events{/privacy}","received_events_url":"https://api.github.com/users/stahnma/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T21:00:54Z","updated_at":"2015-11-04T21:00:54Z","body":"Hmm. What if you always return 404 if the token isn't in the header or if the user isn't authed? Would that protect it? (No idea how difficult that is)"}}