{"action":"created","issue":{"url":"https://api.github.com/repos/KnpLabs/php-github-api/issues/226","labels_url":"https://api.github.com/repos/KnpLabs/php-github-api/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/KnpLabs/php-github-api/issues/226/comments","events_url":"https://api.github.com/repos/KnpLabs/php-github-api/issues/226/events","html_url":"https://github.com/KnpLabs/php-github-api/pull/226","id":54669847,"number":226,"title":"Fixed archive download by reference","user":{"login":"lrlopez","id":547387,"avatar_url":"https://avatars.githubusercontent.com/u/547387?v=3","gravatar_id":"","url":"https://api.github.com/users/lrlopez","html_url":"https://github.com/lrlopez","followers_url":"https://api.github.com/users/lrlopez/followers","following_url":"https://api.github.com/users/lrlopez/following{/other_user}","gists_url":"https://api.github.com/users/lrlopez/gists{/gist_id}","starred_url":"https://api.github.com/users/lrlopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrlopez/subscriptions","organizations_url":"https://api.github.com/users/lrlopez/orgs","repos_url":"https://api.github.com/users/lrlopez/repos","events_url":"https://api.github.com/users/lrlopez/events{/privacy}","received_events_url":"https://api.github.com/users/lrlopez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-17T18:11:51Z","updated_at":"2015-01-23T08:02:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/KnpLabs/php-github-api/pulls/226","html_url":"https://github.com/KnpLabs/php-github-api/pull/226","diff_url":"https://github.com/KnpLabs/php-github-api/pull/226.diff","patch_url":"https://github.com/KnpLabs/php-github-api/pull/226.patch"},"body":"According to [the API docs](https://developer.github.com/v3/repos/contents/#get-archive-link), the reference should be passed directly as the last URL segment, not as a GET parameter.\r\n\r\nBug triaged by @garak.\r\n\r\nCloses #225"},"comment":{"url":"https://api.github.com/repos/KnpLabs/php-github-api/issues/comments/71159365","html_url":"https://github.com/KnpLabs/php-github-api/pull/226#issuecomment-71159365","issue_url":"https://api.github.com/repos/KnpLabs/php-github-api/issues/226","id":71159365,"user":{"login":"garak","id":179866,"avatar_url":"https://avatars.githubusercontent.com/u/179866?v=3","gravatar_id":"","url":"https://api.github.com/users/garak","html_url":"https://github.com/garak","followers_url":"https://api.github.com/users/garak/followers","following_url":"https://api.github.com/users/garak/following{/other_user}","gists_url":"https://api.github.com/users/garak/gists{/gist_id}","starred_url":"https://api.github.com/users/garak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garak/subscriptions","organizations_url":"https://api.github.com/users/garak/orgs","repos_url":"https://api.github.com/users/garak/repos","events_url":"https://api.github.com/users/garak/events{/privacy}","received_events_url":"https://api.github.com/users/garak/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T08:02:44Z","updated_at":"2015-01-23T08:02:44Z","body":":+1: "}}