{"action":"created","issue":{"url":"https://api.github.com/repos/linode/developers/issues/108","repository_url":"https://api.github.com/repos/linode/developers","labels_url":"https://api.github.com/repos/linode/developers/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/linode/developers/issues/108/comments","events_url":"https://api.github.com/repos/linode/developers/issues/108/events","html_url":"https://github.com/linode/developers/issues/108","id":168043547,"number":108,"title":"About GET /linodes API","user":{"login":"hyliker","id":284725,"avatar_url":"https://avatars.githubusercontent.com/u/284725?v=3","gravatar_id":"","url":"https://api.github.com/users/hyliker","html_url":"https://github.com/hyliker","followers_url":"https://api.github.com/users/hyliker/followers","following_url":"https://api.github.com/users/hyliker/following{/other_user}","gists_url":"https://api.github.com/users/hyliker/gists{/gist_id}","starred_url":"https://api.github.com/users/hyliker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyliker/subscriptions","organizations_url":"https://api.github.com/users/hyliker/orgs","repos_url":"https://api.github.com/users/hyliker/repos","events_url":"https://api.github.com/users/hyliker/events{/privacy}","received_events_url":"https://api.github.com/users/hyliker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-28T08:46:14Z","updated_at":"2016-07-28T14:01:05Z","closed_at":"2016-07-28T13:54:56Z","body":"Hi, \r\nNow I have 3 linodes, I get my access_token with right scopes (linodes:view), but when I request the follow API, I got valid response, but linodes is empty.  I also generate  the Personal access tokens to test this API,  and the result is same. \r\n\r\nGET /linodes\r\ncurl -H \"Authorization: token $TOKEN\" \\\r\n    https://api.alpha.linode.com/v4/linodes\r\n\r\nbelow is invalid token to request API\r\n```\r\n?  ~ curl -H \"Authorization: token xxxxinvarlidtokenxxxx” \\\r\n>     https://api.alpha.linode.com/v4/linodes\r\n{\"reason\": \"Invalid OAuth token\", \"error\": true}% \r\n```\r\n\r\nbelow is valid token to request API, with right scopes: linodes:view \r\n```\r\n?  ~ curl -H \"Authorization: token xxxxvalidtokenxxxxwx” \\\r\n>     https://api.alpha.linode.com/v4/linodes\r\n{\"total_pages\": 1, \"total_results\": 0, \"page\": 1, \"linodes\": []}%\r\n```"},"comment":{"url":"https://api.github.com/repos/linode/developers/issues/comments/235903123","html_url":"https://github.com/linode/developers/issues/108#issuecomment-235903123","issue_url":"https://api.github.com/repos/linode/developers/issues/108","id":235903123,"user":{"login":"hyliker","id":284725,"avatar_url":"https://avatars.githubusercontent.com/u/284725?v=3","gravatar_id":"","url":"https://api.github.com/users/hyliker","html_url":"https://github.com/hyliker","followers_url":"https://api.github.com/users/hyliker/followers","following_url":"https://api.github.com/users/hyliker/following{/other_user}","gists_url":"https://api.github.com/users/hyliker/gists{/gist_id}","starred_url":"https://api.github.com/users/hyliker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyliker/subscriptions","organizations_url":"https://api.github.com/users/hyliker/orgs","repos_url":"https://api.github.com/users/hyliker/repos","events_url":"https://api.github.com/users/hyliker/events{/privacy}","received_events_url":"https://api.github.com/users/hyliker/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T14:01:05Z","updated_at":"2016-07-28T14:01:05Z","body":"@eatonphil Thanks for your explanation. 👍 "}}
{"actor":{"display_login":"hyliker"}}