[
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/21",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/21/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/21/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/21/events",
    "html_url": "https://github.com/hub4j/github-api/pull/21",
    "id": 7135183,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MjQ1MDAzMQ==",
    "number": 21,
    "title": "tweaks to enable access to github enterprise instances",
    "user": {
      "login": "toddtomkinson",
      "id": 279614,
      "node_id": "MDQ6VXNlcjI3OTYxNA==",
      "avatar_url": "https://avatars3.githubusercontent.com/u/279614?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/toddtomkinson",
      "html_url": "https://github.com/toddtomkinson",
      "followers_url": "https://api.github.com/users/toddtomkinson/followers",
      "following_url": "https://api.github.com/users/toddtomkinson/following{/other_user}",
      "gists_url": "https://api.github.com/users/toddtomkinson/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/toddtomkinson/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/toddtomkinson/subscriptions",
      "organizations_url": "https://api.github.com/users/toddtomkinson/orgs",
      "repos_url": "https://api.github.com/users/toddtomkinson/repos",
      "events_url": "https://api.github.com/users/toddtomkinson/events{/privacy}",
      "received_events_url": "https://api.github.com/users/toddtomkinson/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 5,
    "created_at": "2012-09-25T21:43:39Z",
    "updated_at": "2014-07-01T17:26:23Z",
    "closed_at": "2013-01-06T01:12:33Z",
    "author_association": "NONE",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/21",
      "html_url": "https://github.com/hub4j/github-api/pull/21",
      "diff_url": "https://github.com/hub4j/github-api/pull/21.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/21.patch"
    },
    "body": "The api on github enterprise instances is available at /api/v3.  This change looks at the githubServer parameter and sets the 'ApiURL' accordingly.\n\nAlso added another constructor that takes the githubServer as a parameter along with login, password, and apiToken.\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/20",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/20/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/20/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/20/events",
    "html_url": "https://github.com/hub4j/github-api/issues/20",
    "id": 6760891,
    "node_id": "MDU6SXNzdWU2NzYwODkx",
    "number": 20,
    "title": "GHIssue.getComments() throws NoSuchElementException when there are no comments",
    "user": {
      "login": "janinko",
      "id": 644267,
      "node_id": "MDQ6VXNlcjY0NDI2Nw==",
      "avatar_url": "https://avatars2.githubusercontent.com/u/644267?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/janinko",
      "html_url": "https://github.com/janinko",
      "followers_url": "https://api.github.com/users/janinko/followers",
      "following_url": "https://api.github.com/users/janinko/following{/other_user}",
      "gists_url": "https://api.github.com/users/janinko/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/janinko/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/janinko/subscriptions",
      "organizations_url": "https://api.github.com/users/janinko/orgs",
      "repos_url": "https://api.github.com/users/janinko/repos",
      "events_url": "https://api.github.com/users/janinko/events{/privacy}",
      "received_events_url": "https://api.github.com/users/janinko/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2012-09-10T12:48:54Z",
    "updated_at": "2012-09-13T22:46:52Z",
    "closed_at": "2012-09-13T22:46:52Z",
    "author_association": "COLLABORATOR",
    "body": "When trying to get comments for pull requests with no comments `NoSuchElementException` is thrown. \nI would except empty list instead.\n\n```\njava.util.NoSuchElementException\n    at org.kohsuke.github.Requester$1.next(Requester.java:212)\n    at org.kohsuke.github.PagedIterator.fetch(PagedIterator.java:42)\n    at org.kohsuke.github.PagedIterator.nextPage(PagedIterator.java:57)\n    at org.kohsuke.github.PagedIterable.asList(PagedIterable.java:20)\n    at org.kohsuke.github.GHIssue.getComments(GHIssue.java:184)\n```\n\n---\n\n API response for `/repos/janinko/test/issues/7/comments` with no comments - there are no `Link` header and returns empty array:\n\n```\nHTTP/1.1 200 OK\nServer: nginx\nDate: Mon, 10 Sep 2012 12:11:37 GMT\nContent-Type: application/json; charset=utf-8\nConnection: keep-alive\nStatus: 200 OK\nCache-Control: max-age=0, private, must-revalidate\nX-Content-Type-Options: nosniff\nETag: \"a00049ba79152d03380c34652f2cb612\"\nContent-Length: 5\nX-RateLimit-Limit: 5000\nX-GitHub-Media-Type: github.beta\nX-RateLimit-Remaining: 4957\n\n[\n\n]\n```\n\nSo IMHO in `PagedIterable.asList()` `i.hasNext()` returns true because it has next (but empty) array. \n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/19",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/19/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/19/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/19/events",
    "html_url": "https://github.com/hub4j/github-api/pull/19",
    "id": 6713330,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MjMyMDQyOA==",
    "number": 19,
    "title": "PagedIterable dosn't use authentication",
    "user": {
      "login": "janinko",
      "id": 644267,
      "node_id": "MDQ6VXNlcjY0NDI2Nw==",
      "avatar_url": "https://avatars2.githubusercontent.com/u/644267?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/janinko",
      "html_url": "https://github.com/janinko",
      "followers_url": "https://api.github.com/users/janinko/followers",
      "following_url": "https://api.github.com/users/janinko/following{/other_user}",
      "gists_url": "https://api.github.com/users/janinko/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/janinko/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/janinko/subscriptions",
      "organizations_url": "https://api.github.com/users/janinko/orgs",
      "repos_url": "https://api.github.com/users/janinko/repos",
      "events_url": "https://api.github.com/users/janinko/events{/privacy}",
      "received_events_url": "https://api.github.com/users/janinko/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 3,
    "created_at": "2012-09-07T12:54:08Z",
    "updated_at": "2014-06-17T16:32:24Z",
    "closed_at": "2012-09-13T22:32:57Z",
    "author_association": "COLLABORATOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/19",
      "html_url": "https://github.com/hub4j/github-api/pull/19",
      "diff_url": "https://github.com/hub4j/github-api/pull/19.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/19.patch"
    },
    "body": "When retrieving eg. pull requests or comments, authentication isn't used. For public repositories it's ok, but for private it ends up with `java.io.FileNotFoundException`\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/18",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/18/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/18/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/18/events",
    "html_url": "https://github.com/hub4j/github-api/pull/18",
    "id": 6685445,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MjI2MzA4MQ==",
    "number": 18,
    "title": "When using lazy population, this is not deprecated",
    "user": {
      "login": "janinko",
      "id": 644267,
      "node_id": "MDQ6VXNlcjY0NDI2Nw==",
      "avatar_url": "https://avatars2.githubusercontent.com/u/644267?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/janinko",
      "html_url": "https://github.com/janinko",
      "followers_url": "https://api.github.com/users/janinko/followers",
      "following_url": "https://api.github.com/users/janinko/following{/other_user}",
      "gists_url": "https://api.github.com/users/janinko/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/janinko/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/janinko/subscriptions",
      "organizations_url": "https://api.github.com/users/janinko/orgs",
      "repos_url": "https://api.github.com/users/janinko/repos",
      "events_url": "https://api.github.com/users/janinko/events{/privacy}",
      "received_events_url": "https://api.github.com/users/janinko/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2012-09-06T11:24:02Z",
    "updated_at": "2014-07-01T17:26:24Z",
    "closed_at": "2012-09-07T16:52:12Z",
    "author_association": "COLLABORATOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/18",
      "html_url": "https://github.com/hub4j/github-api/pull/18",
      "diff_url": "https://github.com/hub4j/github-api/pull/18.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/18.patch"
    },
    "body": ""
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/17",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/17/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/17/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/17/events",
    "html_url": "https://github.com/hub4j/github-api/pull/17",
    "id": 6579724,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MjIxNzc4Mg==",
    "number": 17,
    "title": "Issues pull requests apiv3",
    "user": {
      "login": "janinko",
      "id": 644267,
      "node_id": "MDQ6VXNlcjY0NDI2Nw==",
      "avatar_url": "https://avatars2.githubusercontent.com/u/644267?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/janinko",
      "html_url": "https://github.com/janinko",
      "followers_url": "https://api.github.com/users/janinko/followers",
      "following_url": "https://api.github.com/users/janinko/following{/other_user}",
      "gists_url": "https://api.github.com/users/janinko/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/janinko/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/janinko/subscriptions",
      "organizations_url": "https://api.github.com/users/janinko/orgs",
      "repos_url": "https://api.github.com/users/janinko/repos",
      "events_url": "https://api.github.com/users/janinko/events{/privacy}",
      "received_events_url": "https://api.github.com/users/janinko/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2012-08-31T14:11:53Z",
    "updated_at": "2014-06-13T15:22:06Z",
    "closed_at": "2012-09-06T02:27:56Z",
    "author_association": "COLLABORATOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/17",
      "html_url": "https://github.com/hub4j/github-api/pull/17",
      "diff_url": "https://github.com/hub4j/github-api/pull/17.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/17.patch"
    },
    "body": "**Overview**\nI cleaned up GHIssue and GHPullRequest and make them relevant to api v3\n\nAdded SmallUser representing reference to user. In api this user is represented by:   \n\n```\n    \"user\": {\n        \"login\": \"janinko\",\n        \"avatar_url\": \"https://secure.gravatar.com/avatar/bf8425ee432f7e9748f9e1c540a125ed?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png\",\n        \"url\": \"https://api.github.com/users/janinko\",\n        \"gravatar_id\": \"bf8425ee432f7e9748f9e1c540a125ed\",\n        \"id\": 644267\n    },\n```\n\nAdded DetailedPullRequest - when retrieving pull request by id, it has more attributes then pull requests obtained by GHRepository.getPullRequests(). The attributes are:\n\n```\nmerged_by - SmallUser\nreview_comments - int\nadditions - int\nmerged - boolean\nmergeable - Boolean\ndeletions - int\nmergeable_state - String (\"unknown\", \"dirty\", \"clean\")\nchanged_files - int\n```\n\n**Possible issues**\nI'm not sure if change in b40677a3ca5fe8f614c55e53ee12d1305e227352 is OK. I changed return value of GHRepository.getPullRequest(int) from `GHPullRequest` to its subclass `GHDetailedPullRequest`. IMO it shouldn't be causing any problems.\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/16",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/16/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/16/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/16/events",
    "html_url": "https://github.com/hub4j/github-api/pull/16",
    "id": 6504839,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MjE4MzEyMg==",
    "number": 16,
    "title": "Fixes for github api v3",
    "user": {
      "login": "janinko",
      "id": 644267,
      "node_id": "MDQ6VXNlcjY0NDI2Nw==",
      "avatar_url": "https://avatars2.githubusercontent.com/u/644267?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/janinko",
      "html_url": "https://github.com/janinko",
      "followers_url": "https://api.github.com/users/janinko/followers",
      "following_url": "https://api.github.com/users/janinko/following{/other_user}",
      "gists_url": "https://api.github.com/users/janinko/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/janinko/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/janinko/subscriptions",
      "organizations_url": "https://api.github.com/users/janinko/orgs",
      "repos_url": "https://api.github.com/users/janinko/repos",
      "events_url": "https://api.github.com/users/janinko/events{/privacy}",
      "received_events_url": "https://api.github.com/users/janinko/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2012-08-28T17:22:13Z",
    "updated_at": "2014-07-01T17:26:25Z",
    "closed_at": "2012-08-28T18:02:11Z",
    "author_association": "COLLABORATOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/16",
      "html_url": "https://github.com/hub4j/github-api/pull/16",
      "diff_url": "https://github.com/hub4j/github-api/pull/16.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/16.patch"
    },
    "body": "I've made some fixes of problems I ran across.\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/15",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/15/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/15/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/15/events",
    "html_url": "https://github.com/hub4j/github-api/pull/15",
    "id": 6176432,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MjAzNjExOA==",
    "number": 15,
    "title": "Using pagination when getting Pull Requests from a repository",
    "user": {
      "login": "athieriot",
      "id": 661901,
      "node_id": "MDQ6VXNlcjY2MTkwMQ==",
      "avatar_url": "https://avatars3.githubusercontent.com/u/661901?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/athieriot",
      "html_url": "https://github.com/athieriot",
      "followers_url": "https://api.github.com/users/athieriot/followers",
      "following_url": "https://api.github.com/users/athieriot/following{/other_user}",
      "gists_url": "https://api.github.com/users/athieriot/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/athieriot/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/athieriot/subscriptions",
      "organizations_url": "https://api.github.com/users/athieriot/orgs",
      "repos_url": "https://api.github.com/users/athieriot/repos",
      "events_url": "https://api.github.com/users/athieriot/events{/privacy}",
      "received_events_url": "https://api.github.com/users/athieriot/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2012-08-12T11:06:37Z",
    "updated_at": "2014-07-01T17:26:25Z",
    "closed_at": "2012-08-28T16:42:14Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/15",
      "html_url": "https://github.com/hub4j/github-api/pull/15",
      "diff_url": "https://github.com/hub4j/github-api/pull/15.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/15.patch"
    },
    "body": "Hi,\n\n   As Pull Request API is paginate in the Github API v3, I propose to modify the GHPullRequest getter to return a PagedIterator instead of a simple List.\n\n   I didn't knew if I need to maintain the List signature so, instead, I write a new method in PagedIterator that allow to fetch all items at once.\n\nI'll be happy if you can look a it :)\n\nThanks\n\nAurélien\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/14",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/14/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/14/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/14/events",
    "html_url": "https://github.com/hub4j/github-api/issues/14",
    "id": 6027956,
    "node_id": "MDU6SXNzdWU2MDI3OTU2",
    "number": 14,
    "title": "scm in pom.xml is incorrect",
    "user": {
      "login": "ianatha",
      "id": 38443,
      "node_id": "MDQ6VXNlcjM4NDQz",
      "avatar_url": "https://avatars3.githubusercontent.com/u/38443?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/ianatha",
      "html_url": "https://github.com/ianatha",
      "followers_url": "https://api.github.com/users/ianatha/followers",
      "following_url": "https://api.github.com/users/ianatha/following{/other_user}",
      "gists_url": "https://api.github.com/users/ianatha/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/ianatha/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/ianatha/subscriptions",
      "organizations_url": "https://api.github.com/users/ianatha/orgs",
      "repos_url": "https://api.github.com/users/ianatha/repos",
      "events_url": "https://api.github.com/users/ianatha/events{/privacy}",
      "received_events_url": "https://api.github.com/users/ianatha/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 3,
    "created_at": "2012-08-04T04:21:24Z",
    "updated_at": "2014-01-17T09:40:55Z",
    "closed_at": "2012-09-13T22:47:16Z",
    "author_association": "NONE",
    "body": "It should be \"git@github.com:kohsuke/github-api.git\", it is \"git@github.com/kohsuke/github-api.git\".\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/13",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/13/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/13/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/13/events",
    "html_url": "https://github.com/hub4j/github-api/issues/13",
    "id": 5757177,
    "node_id": "MDU6SXNzdWU1NzU3MTc3",
    "number": 13,
    "title": "support for: Create an issue  POST /repos/:user/:repo/issues",
    "user": {
      "login": "maciek-l",
      "id": 2019014,
      "node_id": "MDQ6VXNlcjIwMTkwMTQ=",
      "avatar_url": "https://avatars3.githubusercontent.com/u/2019014?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/maciek-l",
      "html_url": "https://github.com/maciek-l",
      "followers_url": "https://api.github.com/users/maciek-l/followers",
      "following_url": "https://api.github.com/users/maciek-l/following{/other_user}",
      "gists_url": "https://api.github.com/users/maciek-l/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/maciek-l/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/maciek-l/subscriptions",
      "organizations_url": "https://api.github.com/users/maciek-l/orgs",
      "repos_url": "https://api.github.com/users/maciek-l/repos",
      "events_url": "https://api.github.com/users/maciek-l/events{/privacy}",
      "received_events_url": "https://api.github.com/users/maciek-l/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2012-07-21T23:50:57Z",
    "updated_at": "2012-09-13T23:24:20Z",
    "closed_at": "2012-09-13T23:24:20Z",
    "author_association": "NONE",
    "body": "hi,\n\nI`ve noticed that there is no support for:\n\"Create an issue\"\n\"POST /repos/:user/:repo/issues\"\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/12",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/12/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/12/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/12/events",
    "html_url": "https://github.com/hub4j/github-api/issues/12",
    "id": 5660479,
    "node_id": "MDU6SXNzdWU1NjYwNDc5",
    "number": 12,
    "title": "Enterprise Github without HTTPS not supported",
    "user": {
      "login": "next2you",
      "id": 20007,
      "node_id": "MDQ6VXNlcjIwMDA3",
      "avatar_url": "https://avatars0.githubusercontent.com/u/20007?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/next2you",
      "html_url": "https://github.com/next2you",
      "followers_url": "https://api.github.com/users/next2you/followers",
      "following_url": "https://api.github.com/users/next2you/following{/other_user}",
      "gists_url": "https://api.github.com/users/next2you/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/next2you/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/next2you/subscriptions",
      "organizations_url": "https://api.github.com/users/next2you/orgs",
      "repos_url": "https://api.github.com/users/next2you/repos",
      "events_url": "https://api.github.com/users/next2you/events{/privacy}",
      "received_events_url": "https://api.github.com/users/next2you/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 3,
    "created_at": "2012-07-17T10:17:14Z",
    "updated_at": "2013-01-06T01:13:18Z",
    "closed_at": "2013-01-06T01:13:18Z",
    "author_association": "NONE",
    "body": "Hi,\n\njust tried your plugin on jenkins with our internal enterprise github. This is only accessible via http (not https). The code to access the api always adds the \"https://api\" prefix in front of it. \n\nGithub-api plugin: 1.28\nOauth plugin: 0.12\n\nIf I have time I'll try to find a workaround... Maybe someone knows quickly how this could be fixed :-)\n\nChristian\n\nBtw, the stacktrace says \"plain\" connection because I've entered the URL to github in jenkins to be http://github.internal.net:80\n\nStack trace is attached, \n\n<pre>\njavax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?\n    at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:523)\n    at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)\n    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)\n    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)\n    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165)\n    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1149)\n    at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)\n    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)\n    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1177)\n    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)\n    at org.kohsuke.github.GitHub.parse(GitHub.java:300)\n    at org.kohsuke.github.GitHub._retrieve(GitHub.java:186)\n    at org.kohsuke.github.GitHub.retrieveWithAuth(GitHub.java:175)\n    at org.kohsuke.github.GitHub.getMyself(GitHub.java:365)\n    at org.kohsuke.github.GitHub.<init>(GitHub.java:114)\n    at org.kohsuke.github.GitHub.connectUsingOAuth(GitHub.java:145)\n    at org.jenkinsci.plugins.GithubAuthenticationToken.<init>(GithubAuthenticationToken.java:68)\n    at org.jenkinsci.plugins.GithubSecurityRealm.doFinishLogin(GithubSecurityRealm.java:315)\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\n    at java.lang.reflect.Method.invoke(Method.java:597)\n    at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)\n    at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)\n    at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)\n    at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)\n    at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)\n    at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)\n    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)\n    at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:203)\n    at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)\n    at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)\n    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)\n    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)\n    at org.kohsuke.stapler.Stapler.service(Stapler.java:162)\n    at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)\n    at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)\n    at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)\n    at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)\n    at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)\n</pre>\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/11",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/11/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/11/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/11/events",
    "html_url": "https://github.com/hub4j/github-api/issues/11",
    "id": 5039181,
    "node_id": "MDU6SXNzdWU1MDM5MTgx",
    "number": 11,
    "title": "NPE Crash on 1.27",
    "user": {
      "login": "jcollas",
      "id": 164569,
      "node_id": "MDQ6VXNlcjE2NDU2OQ==",
      "avatar_url": "https://avatars2.githubusercontent.com/u/164569?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/jcollas",
      "html_url": "https://github.com/jcollas",
      "followers_url": "https://api.github.com/users/jcollas/followers",
      "following_url": "https://api.github.com/users/jcollas/following{/other_user}",
      "gists_url": "https://api.github.com/users/jcollas/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/jcollas/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/jcollas/subscriptions",
      "organizations_url": "https://api.github.com/users/jcollas/orgs",
      "repos_url": "https://api.github.com/users/jcollas/repos",
      "events_url": "https://api.github.com/users/jcollas/events{/privacy}",
      "received_events_url": "https://api.github.com/users/jcollas/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2012-06-13T02:22:59Z",
    "updated_at": "2012-06-14T16:25:59Z",
    "closed_at": "2012-06-14T16:25:59Z",
    "author_association": "NONE",
    "body": "Just installed the latest version of the plugin from Jenkins to deal with v1 and v2 github going away, and got this:\n\njava.lang.NullPointerException\n    at org.acegisecurity.GrantedAuthorityImpl.hashCode(GrantedAuthorityImpl.java:62)\n    at org.acegisecurity.providers.AbstractAuthenticationToken.hashCode(AbstractAuthenticationToken.java:146)\n    at hudson.security.NotSerilizableSecurityContext.hashCode(NotSerilizableSecurityContext.java:80)\n    at org.acegisecurity.context.HttpSessionContextIntegrationFilter.storeSecurityContextInSession(HttpSessionContextIntegrationFilter.java:407)\n    at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:264)\n    at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)\n    at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\n    at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)\n    at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)\n    at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)\n    at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)\n    at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)\n    at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)\n    at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)\n    at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)\n    at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215)\n    at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)\n    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)\n    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)\n    at java.util.concurrent.FutureTask.run(FutureTask.java:138)\n    at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)\n    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)\n    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)\n    at java.lang.Thread.run(Thread.java:680)\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/10",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/10/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/10/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/10/events",
    "html_url": "https://github.com/hub4j/github-api/pull/10",
    "id": 5035378,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTU1MDIzOA==",
    "number": 10,
    "title": "Fix getMyOrganizations to build hash on `login` instead of `name`",
    "user": {
      "login": "ryanbrainard",
      "id": 966764,
      "node_id": "MDQ6VXNlcjk2Njc2NA==",
      "avatar_url": "https://avatars3.githubusercontent.com/u/966764?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/ryanbrainard",
      "html_url": "https://github.com/ryanbrainard",
      "followers_url": "https://api.github.com/users/ryanbrainard/followers",
      "following_url": "https://api.github.com/users/ryanbrainard/following{/other_user}",
      "gists_url": "https://api.github.com/users/ryanbrainard/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/ryanbrainard/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/ryanbrainard/subscriptions",
      "organizations_url": "https://api.github.com/users/ryanbrainard/orgs",
      "repos_url": "https://api.github.com/users/ryanbrainard/repos",
      "events_url": "https://api.github.com/users/ryanbrainard/events{/privacy}",
      "received_events_url": "https://api.github.com/users/ryanbrainard/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2012-06-12T22:25:52Z",
    "updated_at": "2014-07-01T17:26:25Z",
    "closed_at": "2012-06-13T16:06:30Z",
    "author_association": "COLLABORATOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/10",
      "html_url": "https://github.com/hub4j/github-api/pull/10",
      "diff_url": "https://github.com/hub4j/github-api/pull/10.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/10.patch"
    },
    "body": "In v3, orgs always have a `login`, but the `name` is only returned on the detailed call. `getMyOrganizations()` was keying on `name`, but was always `null`. This is to change it to `login` as the unique id for orgs.\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/9",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/9/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/9/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/9/events",
    "html_url": "https://github.com/hub4j/github-api/pull/9",
    "id": 5034613,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTU0OTk1Ng==",
    "number": 9,
    "title": "Using v3 for Organizations",
    "user": {
      "login": "johnnyhalife",
      "id": 92490,
      "node_id": "MDQ6VXNlcjkyNDkw",
      "avatar_url": "https://avatars3.githubusercontent.com/u/92490?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/johnnyhalife",
      "html_url": "https://github.com/johnnyhalife",
      "followers_url": "https://api.github.com/users/johnnyhalife/followers",
      "following_url": "https://api.github.com/users/johnnyhalife/following{/other_user}",
      "gists_url": "https://api.github.com/users/johnnyhalife/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/johnnyhalife/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/johnnyhalife/subscriptions",
      "organizations_url": "https://api.github.com/users/johnnyhalife/orgs",
      "repos_url": "https://api.github.com/users/johnnyhalife/repos",
      "events_url": "https://api.github.com/users/johnnyhalife/events{/privacy}",
      "received_events_url": "https://api.github.com/users/johnnyhalife/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 3,
    "created_at": "2012-06-12T21:57:00Z",
    "updated_at": "2014-07-01T17:26:26Z",
    "closed_at": "2012-06-13T16:07:28Z",
    "author_association": "COLLABORATOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/9",
      "html_url": "https://github.com/hub4j/github-api/pull/9",
      "diff_url": "https://github.com/hub4j/github-api/pull/9.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/9.patch"
    },
    "body": "Hi @kohsuke, \n\nWe're using your plugin on our Jenkins, we found that it's no longer working (since today v2 was deprecated). I don't know how to go through the hassel of creating a Jenkins plugin, so if you want to merge it and publish we'll be more than welcomed.\n\nthanks,\n~johnny (from Tactivos)\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/8",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/8/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/8/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/8/events",
    "html_url": "https://github.com/hub4j/github-api/issues/8",
    "id": 5031458,
    "node_id": "MDU6SXNzdWU1MDMxNDU4",
    "number": 8,
    "title": "Github API V2 shuts down",
    "user": {
      "login": "ywen",
      "id": 22895,
      "node_id": "MDQ6VXNlcjIyODk1",
      "avatar_url": "https://avatars2.githubusercontent.com/u/22895?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/ywen",
      "html_url": "https://github.com/ywen",
      "followers_url": "https://api.github.com/users/ywen/followers",
      "following_url": "https://api.github.com/users/ywen/following{/other_user}",
      "gists_url": "https://api.github.com/users/ywen/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/ywen/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/ywen/subscriptions",
      "organizations_url": "https://api.github.com/users/ywen/orgs",
      "repos_url": "https://api.github.com/users/ywen/repos",
      "events_url": "https://api.github.com/users/ywen/events{/privacy}",
      "received_events_url": "https://api.github.com/users/ywen/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 8,
    "created_at": "2012-06-12T19:30:40Z",
    "updated_at": "2012-06-14T08:26:37Z",
    "closed_at": "2012-06-13T16:08:43Z",
    "author_association": "NONE",
    "body": "https://github.com/blog/1160-github-api-v2-end-of-life\n\nIt means a lot of stuff in the API using V2 are broken. :(\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/7",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/7/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/7/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/7/events",
    "html_url": "https://github.com/hub4j/github-api/pull/7",
    "id": 3988943,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTExMjUzNQ==",
    "number": 7,
    "title": "Listing of branches in a repository",
    "user": {
      "login": "derfred",
      "id": 24133,
      "node_id": "MDQ6VXNlcjI0MTMz",
      "avatar_url": "https://avatars0.githubusercontent.com/u/24133?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/derfred",
      "html_url": "https://github.com/derfred",
      "followers_url": "https://api.github.com/users/derfred/followers",
      "following_url": "https://api.github.com/users/derfred/following{/other_user}",
      "gists_url": "https://api.github.com/users/derfred/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/derfred/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/derfred/subscriptions",
      "organizations_url": "https://api.github.com/users/derfred/orgs",
      "repos_url": "https://api.github.com/users/derfred/repos",
      "events_url": "https://api.github.com/users/derfred/events{/privacy}",
      "received_events_url": "https://api.github.com/users/derfred/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 0,
    "created_at": "2012-04-05T14:23:46Z",
    "updated_at": "2014-07-01T17:26:27Z",
    "closed_at": "2012-04-06T15:25:00Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/7",
      "html_url": "https://github.com/hub4j/github-api/pull/7",
      "diff_url": "https://github.com/hub4j/github-api/pull/7.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/7.patch"
    },
    "body": "I've implemented listing the branches in a repository like so:\n\n``` java\nList<GHBranch> b = gitHub.getUser(\"jenkinsci\").getRepository(\"jenkins\").getBranches();\n```\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/6",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/6/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/6/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/6/events",
    "html_url": "https://github.com/hub4j/github-api/pull/6",
    "id": 2827735,
    "node_id": "MDExOlB1bGxSZXF1ZXN0Njg1NDQ3",
    "number": 6,
    "title": "milestone api via v3",
    "user": {
      "login": "YusukeKokubo",
      "id": 74654,
      "node_id": "MDQ6VXNlcjc0NjU0",
      "avatar_url": "https://avatars0.githubusercontent.com/u/74654?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/YusukeKokubo",
      "html_url": "https://github.com/YusukeKokubo",
      "followers_url": "https://api.github.com/users/YusukeKokubo/followers",
      "following_url": "https://api.github.com/users/YusukeKokubo/following{/other_user}",
      "gists_url": "https://api.github.com/users/YusukeKokubo/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/YusukeKokubo/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/YusukeKokubo/subscriptions",
      "organizations_url": "https://api.github.com/users/YusukeKokubo/orgs",
      "repos_url": "https://api.github.com/users/YusukeKokubo/repos",
      "events_url": "https://api.github.com/users/YusukeKokubo/events{/privacy}",
      "received_events_url": "https://api.github.com/users/YusukeKokubo/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 3,
    "created_at": "2012-01-13T05:39:08Z",
    "updated_at": "2014-06-14T12:21:06Z",
    "closed_at": "2012-03-08T20:50:19Z",
    "author_association": "COLLABORATOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/6",
      "html_url": "https://github.com/hub4j/github-api/pull/6",
      "diff_url": "https://github.com/hub4j/github-api/pull/6.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/6.patch"
    },
    "body": "please review my patch.\n\nthanks.\n### \n\nテストコードも書いた方が良いと思うのですがどう書くのが適切なのかちょっとわからないでいます…。\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/5",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/5/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/5/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/5/events",
    "html_url": "https://github.com/hub4j/github-api/issues/5",
    "id": 2766701,
    "node_id": "MDU6SXNzdWUyNzY2NzAx",
    "number": 5,
    "title": "error on getRepositories()",
    "user": {
      "login": "YusukeKokubo",
      "id": 74654,
      "node_id": "MDQ6VXNlcjc0NjU0",
      "avatar_url": "https://avatars0.githubusercontent.com/u/74654?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/YusukeKokubo",
      "html_url": "https://github.com/YusukeKokubo",
      "followers_url": "https://api.github.com/users/YusukeKokubo/followers",
      "following_url": "https://api.github.com/users/YusukeKokubo/following{/other_user}",
      "gists_url": "https://api.github.com/users/YusukeKokubo/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/YusukeKokubo/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/YusukeKokubo/subscriptions",
      "organizations_url": "https://api.github.com/users/YusukeKokubo/orgs",
      "repos_url": "https://api.github.com/users/YusukeKokubo/repos",
      "events_url": "https://api.github.com/users/YusukeKokubo/events{/privacy}",
      "received_events_url": "https://api.github.com/users/YusukeKokubo/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 3,
    "created_at": "2012-01-09T09:39:57Z",
    "updated_at": "2012-01-10T02:21:42Z",
    "closed_at": "2012-01-10T02:21:42Z",
    "author_association": "COLLABORATOR",
    "body": "I written like below;\n\nGitHub gh = GitHub.connect(\"YusukeKokubo\", \"xxx\", \"xxx\");\nGHUser user = gh.getMyself();\nuser.getRepositories();\n\nand got exception\n\nException in thread \"main\" java.io.FileNotFoundException: https://api.github.com/user/YusukeKokubo/repos?per_page=100&page=1\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/4",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/4/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/4/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/4/events",
    "html_url": "https://github.com/hub4j/github-api/issues/4",
    "id": 2733631,
    "node_id": "MDU6SXNzdWUyNzMzNjMx",
    "number": 4,
    "title": "Link to Javadoc incorrect at http://github-api.kohsuke.org/",
    "user": {
      "login": "andrewrjones",
      "id": 140817,
      "node_id": "MDQ6VXNlcjE0MDgxNw==",
      "avatar_url": "https://avatars3.githubusercontent.com/u/140817?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/andrewrjones",
      "html_url": "https://github.com/andrewrjones",
      "followers_url": "https://api.github.com/users/andrewrjones/followers",
      "following_url": "https://api.github.com/users/andrewrjones/following{/other_user}",
      "gists_url": "https://api.github.com/users/andrewrjones/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/andrewrjones/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/andrewrjones/subscriptions",
      "organizations_url": "https://api.github.com/users/andrewrjones/orgs",
      "repos_url": "https://api.github.com/users/andrewrjones/repos",
      "events_url": "https://api.github.com/users/andrewrjones/events{/privacy}",
      "received_events_url": "https://api.github.com/users/andrewrjones/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2012-01-05T10:25:21Z",
    "updated_at": "2012-04-11T17:04:51Z",
    "closed_at": "2012-04-11T17:04:51Z",
    "author_association": "NONE",
    "body": "The link to Javadoc currently points at http://github-api.kohsuke.org/apidocs/index.html, which seems incorrect.\n\nThanks.\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/3",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/3/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/3/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/3/events",
    "html_url": "https://github.com/hub4j/github-api/pull/3",
    "id": 2706585,
    "node_id": "MDExOlB1bGxSZXF1ZXN0NjQ1NDI4",
    "number": 3,
    "title": "Fix for finding private repos on organizations",
    "user": {
      "login": "jkrall",
      "id": 11402,
      "node_id": "MDQ6VXNlcjExNDAy",
      "avatar_url": "https://avatars0.githubusercontent.com/u/11402?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/jkrall",
      "html_url": "https://github.com/jkrall",
      "followers_url": "https://api.github.com/users/jkrall/followers",
      "following_url": "https://api.github.com/users/jkrall/following{/other_user}",
      "gists_url": "https://api.github.com/users/jkrall/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/jkrall/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/jkrall/subscriptions",
      "organizations_url": "https://api.github.com/users/jkrall/orgs",
      "repos_url": "https://api.github.com/users/jkrall/repos",
      "events_url": "https://api.github.com/users/jkrall/events{/privacy}",
      "received_events_url": "https://api.github.com/users/jkrall/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2012-01-03T01:52:26Z",
    "updated_at": "2014-07-01T17:26:27Z",
    "closed_at": "2012-01-03T19:12:31Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/3",
      "html_url": "https://github.com/hub4j/github-api/pull/3",
      "diff_url": "https://github.com/hub4j/github-api/pull/3.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/3.patch"
    },
    "body": "If you have a private repo on an organization, you need to access it via an authenticated API call.  \n\nThis adds support for querying organization repos to GHOrganization.\n\n(I needed this for a fix to the jenkins github plugin... pull request for that one coming momentarily.)\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/2",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/2/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/2/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/2/events",
    "html_url": "https://github.com/hub4j/github-api/pull/2",
    "id": 1576990,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MzExMTA0",
    "number": 2,
    "title": "expose issue_updated_at. It looks like a better representation of update ",
    "user": {
      "login": "lacostej",
      "id": 24282,
      "node_id": "MDQ6VXNlcjI0Mjgy",
      "avatar_url": "https://avatars2.githubusercontent.com/u/24282?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/lacostej",
      "html_url": "https://github.com/lacostej",
      "followers_url": "https://api.github.com/users/lacostej/followers",
      "following_url": "https://api.github.com/users/lacostej/following{/other_user}",
      "gists_url": "https://api.github.com/users/lacostej/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/lacostej/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/lacostej/subscriptions",
      "organizations_url": "https://api.github.com/users/lacostej/orgs",
      "repos_url": "https://api.github.com/users/lacostej/repos",
      "events_url": "https://api.github.com/users/lacostej/events{/privacy}",
      "received_events_url": "https://api.github.com/users/lacostej/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2011-09-06T11:21:44Z",
    "updated_at": "2014-07-01T17:26:28Z",
    "closed_at": "2011-09-06T20:28:30Z",
    "author_association": "COLLABORATOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/2",
      "html_url": "https://github.com/hub4j/github-api/pull/2",
      "diff_url": "https://github.com/hub4j/github-api/pull/2.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/2.patch"
    },
    "body": "expose issue_updated_at.\n\nIt looks like a better representation of update time for an pull request than updated_at\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/1",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/1/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/1/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/1/events",
    "html_url": "https://github.com/hub4j/github-api/pull/1",
    "id": 1198638,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MjE2OTYy",
    "number": 1,
    "title": "Add support for oauth token and a way to see my organizations",
    "user": {
      "login": "mocleiri",
      "id": 250942,
      "node_id": "MDQ6VXNlcjI1MDk0Mg==",
      "avatar_url": "https://avatars0.githubusercontent.com/u/250942?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/mocleiri",
      "html_url": "https://github.com/mocleiri",
      "followers_url": "https://api.github.com/users/mocleiri/followers",
      "following_url": "https://api.github.com/users/mocleiri/following{/other_user}",
      "gists_url": "https://api.github.com/users/mocleiri/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/mocleiri/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/mocleiri/subscriptions",
      "organizations_url": "https://api.github.com/users/mocleiri/orgs",
      "repos_url": "https://api.github.com/users/mocleiri/repos",
      "events_url": "https://api.github.com/users/mocleiri/events{/privacy}",
      "received_events_url": "https://api.github.com/users/mocleiri/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2011-07-10T21:16:33Z",
    "updated_at": "2014-07-01T17:26:28Z",
    "closed_at": "2011-07-11T18:20:33Z",
    "author_association": "COLLABORATOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/1",
      "html_url": "https://github.com/hub4j/github-api/pull/1",
      "diff_url": "https://github.com/hub4j/github-api/pull/1.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/1.patch"
    },
    "body": "I've written a github oauth authentication plugin for jenkins and I used github-api for the interactions with github once I have the token.\n\nMy first pass implementation of the plugin works so I want to contribute the github-api changes back.\n\nChanges:\n1. setup the Github class using the oauth token.\n2. get a list of organizations that the **current** user belongs to.\n"
  }
]