{"action":"created","issue":{"url":"https://api.github.com/repos/adc4392/python-cloudatcost/issues/5","labels_url":"https://api.github.com/repos/adc4392/python-cloudatcost/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/adc4392/python-cloudatcost/issues/5/comments","events_url":"https://api.github.com/repos/adc4392/python-cloudatcost/issues/5/events","html_url":"https://github.com/adc4392/python-cloudatcost/pull/5","id":63528338,"number":5,"title":"Return full json payload for get_*_info() calls","user":{"login":"foospidy","id":5958241,"avatar_url":"https://avatars.githubusercontent.com/u/5958241?v=3","gravatar_id":"","url":"https://api.github.com/users/foospidy","html_url":"https://github.com/foospidy","followers_url":"https://api.github.com/users/foospidy/followers","following_url":"https://api.github.com/users/foospidy/following{/other_user}","gists_url":"https://api.github.com/users/foospidy/gists{/gist_id}","starred_url":"https://api.github.com/users/foospidy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foospidy/subscriptions","organizations_url":"https://api.github.com/users/foospidy/orgs","repos_url":"https://api.github.com/users/foospidy/repos","events_url":"https://api.github.com/users/foospidy/events{/privacy}","received_events_url":"https://api.github.com/users/foospidy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-22T12:37:55Z","updated_at":"2015-03-23T13:41:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/adc4392/python-cloudatcost/pulls/5","html_url":"https://github.com/adc4392/python-cloudatcost/pull/5","diff_url":"https://github.com/adc4392/python-cloudatcost/pull/5.diff","patch_url":"https://github.com/adc4392/python-cloudatcost/pull/5.patch"},"body":"For example, if the whitelisted IP is no longer valid, CACPy.py will return {\"status\":\"error\",\"time\":1427024270,\"error\":104,\"error_description\":\"invalid ip address connection\"}. The calling program should have the ability to check (and should check) status so it can handle errors accordingly."},"comment":{"url":"https://api.github.com/repos/adc4392/python-cloudatcost/issues/comments/85000016","html_url":"https://github.com/adc4392/python-cloudatcost/pull/5#issuecomment-85000016","issue_url":"https://api.github.com/repos/adc4392/python-cloudatcost/issues/5","id":85000016,"user":{"login":"adc4392","id":6269081,"avatar_url":"https://avatars.githubusercontent.com/u/6269081?v=3","gravatar_id":"","url":"https://api.github.com/users/adc4392","html_url":"https://github.com/adc4392","followers_url":"https://api.github.com/users/adc4392/followers","following_url":"https://api.github.com/users/adc4392/following{/other_user}","gists_url":"https://api.github.com/users/adc4392/gists{/gist_id}","starred_url":"https://api.github.com/users/adc4392/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adc4392/subscriptions","organizations_url":"https://api.github.com/users/adc4392/orgs","repos_url":"https://api.github.com/users/adc4392/repos","events_url":"https://api.github.com/users/adc4392/events{/privacy}","received_events_url":"https://api.github.com/users/adc4392/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T13:41:05Z","updated_at":"2015-03-23T13:41:05Z","body":"Seems reasonable. I had originally just returned the data in an attempt to streamline the return values, but I agree that the calling program should check the status and act/report accordingly."}}