[
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/189",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/189/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/189/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/189/events",
    "html_url": "https://github.com/hub4j/github-api/pull/189",
    "id": 74617885,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MzUwNjMzMzI=",
    "number": 189,
    "title": "fixed regression that caused POST operations to be sent as GET",
    "user": {
      "login": "if6was9",
      "id": 463742,
      "node_id": "MDQ6VXNlcjQ2Mzc0Mg==",
      "avatar_url": "https://avatars0.githubusercontent.com/u/463742?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/if6was9",
      "html_url": "https://github.com/if6was9",
      "followers_url": "https://api.github.com/users/if6was9/followers",
      "following_url": "https://api.github.com/users/if6was9/following{/other_user}",
      "gists_url": "https://api.github.com/users/if6was9/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/if6was9/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/if6was9/subscriptions",
      "organizations_url": "https://api.github.com/users/if6was9/orgs",
      "repos_url": "https://api.github.com/users/if6was9/repos",
      "events_url": "https://api.github.com/users/if6was9/events{/privacy}",
      "received_events_url": "https://api.github.com/users/if6was9/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2015-05-09T08:03:24Z",
    "updated_at": "2015-07-17T10:39:52Z",
    "closed_at": "2015-07-17T10:39:52Z",
    "author_association": "NONE",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/189",
      "html_url": "https://github.com/hub4j/github-api/pull/189",
      "diff_url": "https://github.com/hub4j/github-api/pull/189.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/189.patch"
    },
    "body": "This fixes a major regression where operations that are supposed to POST data to the server were actually just issuing GETs.\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/188",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/188/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/188/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/188/events",
    "html_url": "https://github.com/hub4j/github-api/issues/188",
    "id": 73772045,
    "node_id": "MDU6SXNzdWU3Mzc3MjA0NQ==",
    "number": 188,
    "title": "JDK Version",
    "user": {
      "login": "mohamed-ennahdi",
      "id": 6767325,
      "node_id": "MDQ6VXNlcjY3NjczMjU=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/6767325?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/mohamed-ennahdi",
      "html_url": "https://github.com/mohamed-ennahdi",
      "followers_url": "https://api.github.com/users/mohamed-ennahdi/followers",
      "following_url": "https://api.github.com/users/mohamed-ennahdi/following{/other_user}",
      "gists_url": "https://api.github.com/users/mohamed-ennahdi/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/mohamed-ennahdi/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/mohamed-ennahdi/subscriptions",
      "organizations_url": "https://api.github.com/users/mohamed-ennahdi/orgs",
      "repos_url": "https://api.github.com/users/mohamed-ennahdi/repos",
      "events_url": "https://api.github.com/users/mohamed-ennahdi/events{/privacy}",
      "received_events_url": "https://api.github.com/users/mohamed-ennahdi/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2015-05-06T23:40:58Z",
    "updated_at": "2017-05-04T20:01:46Z",
    "closed_at": "2015-12-01T15:58:26Z",
    "author_association": "NONE",
    "body": "github-api was developed with JDK 1.4?\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/187",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/187/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/187/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/187/events",
    "html_url": "https://github.com/hub4j/github-api/pull/187",
    "id": 72451044,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MzQ1NDI2OTY=",
    "number": 187,
    "title": "Recognize previous_file field in GHCommit.File",
    "user": {
      "login": "yegorius",
      "id": 309959,
      "node_id": "MDQ6VXNlcjMwOTk1OQ==",
      "avatar_url": "https://avatars2.githubusercontent.com/u/309959?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/yegorius",
      "html_url": "https://github.com/yegorius",
      "followers_url": "https://api.github.com/users/yegorius/followers",
      "following_url": "https://api.github.com/users/yegorius/following{/other_user}",
      "gists_url": "https://api.github.com/users/yegorius/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/yegorius/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/yegorius/subscriptions",
      "organizations_url": "https://api.github.com/users/yegorius/orgs",
      "repos_url": "https://api.github.com/users/yegorius/repos",
      "events_url": "https://api.github.com/users/yegorius/events{/privacy}",
      "received_events_url": "https://api.github.com/users/yegorius/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2015-05-01T15:10:38Z",
    "updated_at": "2015-07-17T10:46:21Z",
    "closed_at": "2015-07-17T10:46:21Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/187",
      "html_url": "https://github.com/hub4j/github-api/pull/187",
      "diff_url": "https://github.com/hub4j/github-api/pull/187.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/187.patch"
    },
    "body": "This field appears in API response in case file has moved.\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/186",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/186/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/186/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/186/events",
    "html_url": "https://github.com/hub4j/github-api/issues/186",
    "id": 72300355,
    "node_id": "MDU6SXNzdWU3MjMwMDM1NQ==",
    "number": 186,
    "title": "Obtain Pushed Commit using GitHub API",
    "user": {
      "login": "mohamed-ennahdi",
      "id": 6767325,
      "node_id": "MDQ6VXNlcjY3NjczMjU=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/6767325?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/mohamed-ennahdi",
      "html_url": "https://github.com/mohamed-ennahdi",
      "followers_url": "https://api.github.com/users/mohamed-ennahdi/followers",
      "following_url": "https://api.github.com/users/mohamed-ennahdi/following{/other_user}",
      "gists_url": "https://api.github.com/users/mohamed-ennahdi/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/mohamed-ennahdi/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/mohamed-ennahdi/subscriptions",
      "organizations_url": "https://api.github.com/users/mohamed-ennahdi/orgs",
      "repos_url": "https://api.github.com/users/mohamed-ennahdi/repos",
      "events_url": "https://api.github.com/users/mohamed-ennahdi/events{/privacy}",
      "received_events_url": "https://api.github.com/users/mohamed-ennahdi/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2015-04-30T22:34:19Z",
    "updated_at": "2015-12-01T16:06:15Z",
    "closed_at": "2015-12-01T16:06:15Z",
    "author_association": "NONE",
    "body": "Is it enough to use repo.listCommits() to get \"pushed\" commits?\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/185",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/185/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/185/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/185/events",
    "html_url": "https://github.com/hub4j/github-api/pull/185",
    "id": 72099945,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MzQ0Mzg0MTU=",
    "number": 185,
    "title": "Fixes #183: added a method listForks() to GHRepository",
    "user": {
      "login": "marc-guenther",
      "id": 393230,
      "node_id": "MDQ6VXNlcjM5MzIzMA==",
      "avatar_url": "https://avatars3.githubusercontent.com/u/393230?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/marc-guenther",
      "html_url": "https://github.com/marc-guenther",
      "followers_url": "https://api.github.com/users/marc-guenther/followers",
      "following_url": "https://api.github.com/users/marc-guenther/following{/other_user}",
      "gists_url": "https://api.github.com/users/marc-guenther/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/marc-guenther/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/marc-guenther/subscriptions",
      "organizations_url": "https://api.github.com/users/marc-guenther/orgs",
      "repos_url": "https://api.github.com/users/marc-guenther/repos",
      "events_url": "https://api.github.com/users/marc-guenther/events{/privacy}",
      "received_events_url": "https://api.github.com/users/marc-guenther/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 6,
    "created_at": "2015-04-30T08:33:04Z",
    "updated_at": "2015-07-17T10:48:29Z",
    "closed_at": "2015-07-17T10:47:17Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/185",
      "html_url": "https://github.com/hub4j/github-api/pull/185",
      "diff_url": "https://github.com/hub4j/github-api/pull/185.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/185.patch"
    },
    "body": "listForks() will list all forks of a repository.\n\nAn optional sort argument is also supported.\n\nI did not know if list\\* or get\\* is the way to go, but as getForks() is already taken (it returns the number of forks), I decided to use listForks(), with an optional sort argument.\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/184",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/184/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/184/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/184/events",
    "html_url": "https://github.com/hub4j/github-api/issues/184",
    "id": 72098068,
    "node_id": "MDU6SXNzdWU3MjA5ODA2OA==",
    "number": 184,
    "title": "Enable this to work with GitHub Enterprise",
    "user": {
      "login": "clancychilds",
      "id": 8244623,
      "node_id": "MDQ6VXNlcjgyNDQ2MjM=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/8244623?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/clancychilds",
      "html_url": "https://github.com/clancychilds",
      "followers_url": "https://api.github.com/users/clancychilds/followers",
      "following_url": "https://api.github.com/users/clancychilds/following{/other_user}",
      "gists_url": "https://api.github.com/users/clancychilds/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/clancychilds/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/clancychilds/subscriptions",
      "organizations_url": "https://api.github.com/users/clancychilds/orgs",
      "repos_url": "https://api.github.com/users/clancychilds/repos",
      "events_url": "https://api.github.com/users/clancychilds/events{/privacy}",
      "received_events_url": "https://api.github.com/users/clancychilds/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2015-04-30T08:24:05Z",
    "updated_at": "2015-05-05T06:44:59Z",
    "closed_at": "2015-05-05T06:44:59Z",
    "author_association": "NONE",
    "body": "Putting this out there without much knowledge about GitHub Enterprise APIs.\n\nOur organization uses GitHub Enterprise hosted internally. We would love to integrate Gerrit, which uses this package, with it, but the GitHub API in here is currently a static final string: https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GitHub.java#L558\n\nWould be very nice if there was a way to use this with the apis for an internal Enterprise instance of github.\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/183",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/183/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/183/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/183/events",
    "html_url": "https://github.com/hub4j/github-api/issues/183",
    "id": 71697591,
    "node_id": "MDU6SXNzdWU3MTY5NzU5MQ==",
    "number": 183,
    "title": "no way to list forks of a repository",
    "user": {
      "login": "marc-guenther",
      "id": 393230,
      "node_id": "MDQ6VXNlcjM5MzIzMA==",
      "avatar_url": "https://avatars3.githubusercontent.com/u/393230?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/marc-guenther",
      "html_url": "https://github.com/marc-guenther",
      "followers_url": "https://api.github.com/users/marc-guenther/followers",
      "following_url": "https://api.github.com/users/marc-guenther/following{/other_user}",
      "gists_url": "https://api.github.com/users/marc-guenther/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/marc-guenther/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/marc-guenther/subscriptions",
      "organizations_url": "https://api.github.com/users/marc-guenther/orgs",
      "repos_url": "https://api.github.com/users/marc-guenther/repos",
      "events_url": "https://api.github.com/users/marc-guenther/events{/privacy}",
      "received_events_url": "https://api.github.com/users/marc-guenther/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 0,
    "created_at": "2015-04-28T20:42:11Z",
    "updated_at": "2015-07-17T10:47:20Z",
    "closed_at": "2015-07-17T10:47:20Z",
    "author_association": "CONTRIBUTOR",
    "body": "Seems there is no way to list all the forks of a GHRepository. I only find methods to count them(?), and to check if it is a fork, and look for parent/source, and to create a fork.\n\nGithub API supports to [list forks](https://developer.github.com/v3/repos/forks/)\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/182",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/182/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/182/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/182/events",
    "html_url": "https://github.com/hub4j/github-api/pull/182",
    "id": 71288224,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MzQxNjk1NjQ=",
    "number": 182,
    "title": "Fix invalid URL for pull request comments update/delete",
    "user": {
      "login": "henryju",
      "id": 281596,
      "node_id": "MDQ6VXNlcjI4MTU5Ng==",
      "avatar_url": "https://avatars3.githubusercontent.com/u/281596?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/henryju",
      "html_url": "https://github.com/henryju",
      "followers_url": "https://api.github.com/users/henryju/followers",
      "following_url": "https://api.github.com/users/henryju/following{/other_user}",
      "gists_url": "https://api.github.com/users/henryju/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/henryju/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/henryju/subscriptions",
      "organizations_url": "https://api.github.com/users/henryju/orgs",
      "repos_url": "https://api.github.com/users/henryju/repos",
      "events_url": "https://api.github.com/users/henryju/events{/privacy}",
      "received_events_url": "https://api.github.com/users/henryju/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 14,
    "created_at": "2015-04-27T13:42:15Z",
    "updated_at": "2015-07-17T10:47:50Z",
    "closed_at": "2015-07-17T10:47:43Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/182",
      "html_url": "https://github.com/hub4j/github-api/pull/182",
      "diff_url": "https://github.com/hub4j/github-api/pull/182.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/182.patch"
    },
    "body": ""
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/181",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/181/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/181/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/181/events",
    "html_url": "https://github.com/hub4j/github-api/issues/181",
    "id": 70777432,
    "node_id": "MDU6SXNzdWU3MDc3NzQzMg==",
    "number": 181,
    "title": "Nothing is Fetched when calling repo.listNotifications();",
    "user": {
      "login": "mohamed-ennahdi",
      "id": 6767325,
      "node_id": "MDQ6VXNlcjY3NjczMjU=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/6767325?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/mohamed-ennahdi",
      "html_url": "https://github.com/mohamed-ennahdi",
      "followers_url": "https://api.github.com/users/mohamed-ennahdi/followers",
      "following_url": "https://api.github.com/users/mohamed-ennahdi/following{/other_user}",
      "gists_url": "https://api.github.com/users/mohamed-ennahdi/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/mohamed-ennahdi/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/mohamed-ennahdi/subscriptions",
      "organizations_url": "https://api.github.com/users/mohamed-ennahdi/orgs",
      "repos_url": "https://api.github.com/users/mohamed-ennahdi/repos",
      "events_url": "https://api.github.com/users/mohamed-ennahdi/events{/privacy}",
      "received_events_url": "https://api.github.com/users/mohamed-ennahdi/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 5,
    "created_at": "2015-04-24T19:44:01Z",
    "updated_at": "2015-04-30T22:31:11Z",
    "closed_at": "2015-04-30T22:31:11Z",
    "author_association": "NONE",
    "body": "Hello,\n\nI try to fetch notifications of a specific repository, but nothing is retrieved (See code below).\n\nWhat am I missing ?\n\nGHRepository repo = gh.getUser(\"blueimp\").getRepository(\"jQuery-File-Upload\");\nSystem.out.println(\"Start\");\nfor (GHThread t : repo.listNotifications().nonBlocking(true)) {\n    System.out.println(t.getReason());\n}\nSystem.out.println(\"Finish\");\n\nThank you,\nMohamed Ennahdi El Idrissi\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/180",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/180/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/180/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/180/events",
    "html_url": "https://github.com/hub4j/github-api/issues/180",
    "id": 70015991,
    "node_id": "MDU6SXNzdWU3MDAxNTk5MQ==",
    "number": 180,
    "title": "java.net.ProtocolException: DELETE does not support writing",
    "user": {
      "login": "varis",
      "id": 65634,
      "node_id": "MDQ6VXNlcjY1NjM0",
      "avatar_url": "https://avatars0.githubusercontent.com/u/65634?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/varis",
      "html_url": "https://github.com/varis",
      "followers_url": "https://api.github.com/users/varis/followers",
      "following_url": "https://api.github.com/users/varis/following{/other_user}",
      "gists_url": "https://api.github.com/users/varis/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/varis/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/varis/subscriptions",
      "organizations_url": "https://api.github.com/users/varis/orgs",
      "repos_url": "https://api.github.com/users/varis/repos",
      "events_url": "https://api.github.com/users/varis/events{/privacy}",
      "received_events_url": "https://api.github.com/users/varis/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 0,
    "created_at": "2015-04-22T04:03:18Z",
    "updated_at": "2015-04-26T17:52:58Z",
    "closed_at": "2015-04-26T17:52:58Z",
    "author_association": "NONE",
    "body": "run example from http://github-api.kohsuke.org/\n\n```\nGitHub github = GitHub.connect();\nGHRepository repo = github.createRepository(\n  \"new-repository\",\"this is my new repository\",\n  \"http://www.kohsuke.org/\",true/*public*/);\nrepo.delete();\n```\n\non android 4.4.4 API 19 and on delete got error\n\n----- begin exception -----\n04-21 23:58:06.992    1823-1836/? I/TestRunner﹕ java.net.ProtocolException: DELETE does not support writing\n            at com.android.okhttp.internal.http.HttpURLConnectionImpl.initHttpEngine(HttpURLConnectionImpl.java:258)\n            at com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:86)\n            at com.android.okhttp.internal.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:197)\n            at com.android.okhttp.internal.http.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:254)\n            at org.kohsuke.github.Requester.buildRequest(Requester.java:299)\n            at org.kohsuke.github.Requester._to(Requester.java:221)\n            at org.kohsuke.github.Requester.to(Requester.java:191)\n            at org.kohsuke.github.Requester.to(Requester.java:179)\n            at org.kohsuke.github.GHRepository.delete(GHRepository.java:502)\n            at com.example.varis.githubtest.ApplicationTest.test(ApplicationTest.java:25)\n            at java.lang.reflect.Method.invokeNative(Native Method)\n            at java.lang.reflect.Method.invoke(Method.java:515)\n            at junit.framework.TestCase.runTest(TestCase.java:168)\n            at junit.framework.TestCase.runBare(TestCase.java:134)\n            at junit.framework.TestResult$1.protect(TestResult.java:115)\n            at junit.framework.TestResult.runProtected(TestResult.java:133)\n            at junit.framework.TestResult.run(TestResult.java:118)\n            at junit.framework.TestCase.run(TestCase.java:124)\n            at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)\n            at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)\n            at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)\n            at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/179",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/179/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/179/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/179/events",
    "html_url": "https://github.com/hub4j/github-api/pull/179",
    "id": 68386833,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MzMyNjAzMjM=",
    "number": 179,
    "title": "Fix NullPointerException on RateLimitHandler when handling API errors.",
    "user": {
      "login": "lskillen",
      "id": 2248287,
      "node_id": "MDQ6VXNlcjIyNDgyODc=",
      "avatar_url": "https://avatars2.githubusercontent.com/u/2248287?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/lskillen",
      "html_url": "https://github.com/lskillen",
      "followers_url": "https://api.github.com/users/lskillen/followers",
      "following_url": "https://api.github.com/users/lskillen/following{/other_user}",
      "gists_url": "https://api.github.com/users/lskillen/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/lskillen/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/lskillen/subscriptions",
      "organizations_url": "https://api.github.com/users/lskillen/orgs",
      "repos_url": "https://api.github.com/users/lskillen/repos",
      "events_url": "https://api.github.com/users/lskillen/events{/privacy}",
      "received_events_url": "https://api.github.com/users/lskillen/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 3,
    "created_at": "2015-04-14T14:06:00Z",
    "updated_at": "2015-04-20T00:03:50Z",
    "closed_at": "2015-04-20T00:03:50Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/179",
      "html_url": "https://github.com/hub4j/github-api/pull/179",
      "diff_url": "https://github.com/hub4j/github-api/pull/179.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/179.patch"
    },
    "body": "Hello!\n\nWe encountered a NullPointerException after the upgrade to 1.67 when rate limited by the GitHub API.  Essentially it is because the call to `getMyself().getLogin()` failed during the construction of the GitHub object due to being rate limited.  However, the RateLimitHandler object had not yet been set at that point in time within the GitHub object constructor.  Fix is a simple statement movement.\n\nError within GitHub::handleApiError():\n\n```\n        if (\"0\".equals(uc.getHeaderField(\"X-RateLimit-Remaining\"))) {\n            root.rateLimitHandler.onError(e,uc);  // rateLimitHandler is null\n        }\n```\n\nRan the test suite locally after setting github authentication details:\n\n```\nResults :\n\nFailed tests:   setLabels(org.kohsuke.github.PullRequestTest): expected:<1> but was:<0>\n  setAssignee(org.kohsuke.github.PullRequestTest): expected:<User:lskillen> but was:<null>\n\nTests in error:\n  testMembership(org.kohsuke.github.AppTest): {\"message\":\"Must have push access to view repository collaborators.\",\"documentation_url\":\"https://developer.github.com/v3\"}\n  testListDeployments(org.kohsuke.github.AppTest): {\"message\":\"No ref found for: master\",\"documentation_url\":\"https://developer.github.com/v3\"}\n  testCreateDeployment(org.kohsuke.github.AppTest): {\"message\":\"No ref found for: master\",\"documentation_url\":\"https://developer.github.com/v3\"}\n  testMemberPagenation(org.kohsuke.github.AppTest): java.io.IOException: {\"message\":\"Must have admin rights to Repository.\",\"documentation_url\":\"https://developer.github.com/v3\"}\n  testRepoLabel(org.kohsuke.github.AppTest): {\"message\":\"Not Found\",\"documentation_url\":\"https://developer.github.com/v3/issues/labels/#create-a-label\"}\n  testGetDeploymentStatuses(org.kohsuke.github.AppTest): {\"message\":\"No ref found for: master\",\"documentation_url\":\"https://developer.github.com/v3\"}\n  testCreateRepository(org.kohsuke.github.LifecycleTest): java.io.IOException: {\"message\":\"Must have admin rights to Repository.\",\"documentation_url\":\"https://developer.github.com/v3\"}\n\nTests run: 79, Failures: 2, Errors: 7, Skipped: 10\n```\n\nFailures seem to be mostly related to access to the hub4j-test-org (which obviously I don't have any permissions for), and I had the same results before/after the change so it looks like they are unrelated to it - Hopefully that's acceptable!\n\nThanks,\nLee\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/177",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/177/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/177/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/177/events",
    "html_url": "https://github.com/hub4j/github-api/pull/177",
    "id": 67965127,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MzMxMjczNTU=",
    "number": 177,
    "title": "Added getters for the objects notifications refer to",
    "user": {
      "login": "syniuhin",
      "id": 6153943,
      "node_id": "MDQ6VXNlcjYxNTM5NDM=",
      "avatar_url": "https://avatars3.githubusercontent.com/u/6153943?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/syniuhin",
      "html_url": "https://github.com/syniuhin",
      "followers_url": "https://api.github.com/users/syniuhin/followers",
      "following_url": "https://api.github.com/users/syniuhin/following{/other_user}",
      "gists_url": "https://api.github.com/users/syniuhin/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/syniuhin/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/syniuhin/subscriptions",
      "organizations_url": "https://api.github.com/users/syniuhin/orgs",
      "repos_url": "https://api.github.com/users/syniuhin/repos",
      "events_url": "https://api.github.com/users/syniuhin/events{/privacy}",
      "received_events_url": "https://api.github.com/users/syniuhin/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2015-04-12T22:00:22Z",
    "updated_at": "2015-04-13T23:38:22Z",
    "closed_at": "2015-04-13T23:38:22Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/177",
      "html_url": "https://github.com/hub4j/github-api/pull/177",
      "diff_url": "https://github.com/hub4j/github-api/pull/177.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/177.patch"
    },
    "body": "I'm using this wrapper primarily interacting with notifications, so I find these methods useful.\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/176",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/176/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/176/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/176/events",
    "html_url": "https://github.com/hub4j/github-api/issues/176",
    "id": 67408401,
    "node_id": "MDU6SXNzdWU2NzQwODQwMQ==",
    "number": 176,
    "title": "Merging with SHA1",
    "user": {
      "login": "sonOfRa",
      "id": 1269520,
      "node_id": "MDQ6VXNlcjEyNjk1MjA=",
      "avatar_url": "https://avatars3.githubusercontent.com/u/1269520?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/sonOfRa",
      "html_url": "https://github.com/sonOfRa",
      "followers_url": "https://api.github.com/users/sonOfRa/followers",
      "following_url": "https://api.github.com/users/sonOfRa/following{/other_user}",
      "gists_url": "https://api.github.com/users/sonOfRa/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/sonOfRa/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/sonOfRa/subscriptions",
      "organizations_url": "https://api.github.com/users/sonOfRa/orgs",
      "repos_url": "https://api.github.com/users/sonOfRa/repos",
      "events_url": "https://api.github.com/users/sonOfRa/events{/privacy}",
      "received_events_url": "https://api.github.com/users/sonOfRa/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 0,
    "created_at": "2015-04-09T17:15:25Z",
    "updated_at": "2015-04-20T00:25:32Z",
    "closed_at": "2015-04-20T00:25:32Z",
    "author_association": "NONE",
    "body": "Does the current implementation use the SHA-1 head to check whether a merge of a Pull Request is good? https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button Describes that you can add a SHA-1 to the merge API call, which causes GitHub to check whether the SHA-1 and the current head of that Pull Request match.\n\nThis would be useful for security reasons in our application. We're building a review-tool-bot that merges Pull Requests for us after we signal (via a comment) that the Pull Request is OK to merge. Now, a malicious person could theoretically introduce a new commit to their Pull Request branch, while the Request to merge is still on the way (either from the GitHub comment webhook to the bot, or from the bot to the GitHub API). If the SHA-1 doesn't match, the merge should be denied by GitHub.\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/175",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/175/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/175/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/175/events",
    "html_url": "https://github.com/hub4j/github-api/pull/175",
    "id": 66154677,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MzI1OTEyNzU=",
    "number": 175,
    "title": "Added the source attribute to GHRepository",
    "user": {
      "login": "kickroot",
      "id": 1015101,
      "node_id": "MDQ6VXNlcjEwMTUxMDE=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/1015101?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/kickroot",
      "html_url": "https://github.com/kickroot",
      "followers_url": "https://api.github.com/users/kickroot/followers",
      "following_url": "https://api.github.com/users/kickroot/following{/other_user}",
      "gists_url": "https://api.github.com/users/kickroot/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/kickroot/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/kickroot/subscriptions",
      "organizations_url": "https://api.github.com/users/kickroot/orgs",
      "repos_url": "https://api.github.com/users/kickroot/repos",
      "events_url": "https://api.github.com/users/kickroot/events{/privacy}",
      "received_events_url": "https://api.github.com/users/kickroot/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2015-04-03T14:18:37Z",
    "updated_at": "2015-04-13T23:50:10Z",
    "closed_at": "2015-04-13T23:50:10Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/175",
      "html_url": "https://github.com/hub4j/github-api/pull/175",
      "diff_url": "https://github.com/hub4j/github-api/pull/175.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/175.patch"
    },
    "body": "Forked repositories have a 'source' attribute that specifies the repository they were forked from.  The source attribute is itself a GHRepository instance.  \n\nFor repos that were not forked, this field will be null.\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/174",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/174/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/174/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/174/events",
    "html_url": "https://github.com/hub4j/github-api/pull/174",
    "id": 66146575,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MzI1ODg2Nzg=",
    "number": 174,
    "title": "Add more binding for pull requests:",
    "user": {
      "login": "henryju",
      "id": 281596,
      "node_id": "MDQ6VXNlcjI4MTU5Ng==",
      "avatar_url": "https://avatars3.githubusercontent.com/u/281596?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/henryju",
      "html_url": "https://github.com/henryju",
      "followers_url": "https://api.github.com/users/henryju/followers",
      "following_url": "https://api.github.com/users/henryju/following{/other_user}",
      "gists_url": "https://api.github.com/users/henryju/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/henryju/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/henryju/subscriptions",
      "organizations_url": "https://api.github.com/users/henryju/orgs",
      "repos_url": "https://api.github.com/users/henryju/repos",
      "events_url": "https://api.github.com/users/henryju/events{/privacy}",
      "received_events_url": "https://api.github.com/users/henryju/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 7,
    "created_at": "2015-04-03T13:28:30Z",
    "updated_at": "2015-04-20T00:22:54Z",
    "closed_at": "2015-04-20T00:22:54Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/174",
      "html_url": "https://github.com/hub4j/github-api/pull/174",
      "diff_url": "https://github.com/hub4j/github-api/pull/174.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/174.patch"
    },
    "body": "- ability to list files of a pull request\n- ability to add/remove/update PR review comment\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/173",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/173/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/173/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/173/events",
    "html_url": "https://github.com/hub4j/github-api/pull/173",
    "id": 63813318,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MzE3NjY0MDY=",
    "number": 173,
    "title": "Removing mis-match of decorator and method defintions",
    "user": {
      "login": "madhephaestus",
      "id": 1254726,
      "node_id": "MDQ6VXNlcjEyNTQ3MjY=",
      "avatar_url": "https://avatars2.githubusercontent.com/u/1254726?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/madhephaestus",
      "html_url": "https://github.com/madhephaestus",
      "followers_url": "https://api.github.com/users/madhephaestus/followers",
      "following_url": "https://api.github.com/users/madhephaestus/following{/other_user}",
      "gists_url": "https://api.github.com/users/madhephaestus/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/madhephaestus/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/madhephaestus/subscriptions",
      "organizations_url": "https://api.github.com/users/madhephaestus/orgs",
      "repos_url": "https://api.github.com/users/madhephaestus/repos",
      "events_url": "https://api.github.com/users/madhephaestus/events{/privacy}",
      "received_events_url": "https://api.github.com/users/madhephaestus/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 3,
    "created_at": "2015-03-23T19:37:06Z",
    "updated_at": "2015-04-20T00:41:25Z",
    "closed_at": "2015-04-20T00:41:25Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/173",
      "html_url": "https://github.com/hub4j/github-api/pull/173",
      "diff_url": "https://github.com/hub4j/github-api/pull/173.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/173.patch"
    },
    "body": "This addresses the issue #171 \n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/172",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/172/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/172/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/172/events",
    "html_url": "https://github.com/hub4j/github-api/issues/172",
    "id": 63757226,
    "node_id": "MDU6SXNzdWU2Mzc1NzIyNg==",
    "number": 172,
    "title": "Rate limiting causes silent freezing failures",
    "user": {
      "login": "madhephaestus",
      "id": 1254726,
      "node_id": "MDQ6VXNlcjEyNTQ3MjY=",
      "avatar_url": "https://avatars2.githubusercontent.com/u/1254726?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/madhephaestus",
      "html_url": "https://github.com/madhephaestus",
      "followers_url": "https://api.github.com/users/madhephaestus/followers",
      "following_url": "https://api.github.com/users/madhephaestus/following{/other_user}",
      "gists_url": "https://api.github.com/users/madhephaestus/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/madhephaestus/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/madhephaestus/subscriptions",
      "organizations_url": "https://api.github.com/users/madhephaestus/orgs",
      "repos_url": "https://api.github.com/users/madhephaestus/repos",
      "events_url": "https://api.github.com/users/madhephaestus/events{/privacy}",
      "received_events_url": "https://api.github.com/users/madhephaestus/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2015-03-23T15:52:26Z",
    "updated_at": "2015-03-23T15:59:43Z",
    "closed_at": "2015-03-23T15:59:43Z",
    "author_association": "CONTRIBUTOR",
    "body": "WHen Github rate limits the API will lock up until the rate limit is cleared (up to an hour!) A rate limit block should be shown as an exception and in a perfect world an event listener for remaining trys (in the API) \n\nI had to go in and manually print a stacktrace in RateLimitHandler.java that was being caught silently to even figure out what was happening. \n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/171",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/171/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/171/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/171/events",
    "html_url": "https://github.com/hub4j/github-api/issues/171",
    "id": 63739705,
    "node_id": "MDU6SXNzdWU2MzczOTcwNQ==",
    "number": 171,
    "title": "@WithBridgeMethods decorator in GHObject has no value adapterMethod",
    "user": {
      "login": "madhephaestus",
      "id": 1254726,
      "node_id": "MDQ6VXNlcjEyNTQ3MjY=",
      "avatar_url": "https://avatars2.githubusercontent.com/u/1254726?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/madhephaestus",
      "html_url": "https://github.com/madhephaestus",
      "followers_url": "https://api.github.com/users/madhephaestus/followers",
      "following_url": "https://api.github.com/users/madhephaestus/following{/other_user}",
      "gists_url": "https://api.github.com/users/madhephaestus/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/madhephaestus/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/madhephaestus/subscriptions",
      "organizations_url": "https://api.github.com/users/madhephaestus/orgs",
      "repos_url": "https://api.github.com/users/madhephaestus/repos",
      "events_url": "https://api.github.com/users/madhephaestus/events{/privacy}",
      "received_events_url": "https://api.github.com/users/madhephaestus/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 11,
    "created_at": "2015-03-23T14:40:53Z",
    "updated_at": "2015-12-01T16:04:40Z",
    "closed_at": "2015-12-01T16:04:39Z",
    "author_association": "CONTRIBUTOR",
    "body": "When pulling the sources and building there is a build error in GHObject at each usage of adapterMethod. This is not a runtime problem, it will not even compile. \n\nPerhaps this is a problem with the decorator definition and the dependency version number problem?\n\nbuild 1.6.4-SNAPSHOT \nbridge-method-annotation-1.8.jar\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/170",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/170/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/170/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/170/events",
    "html_url": "https://github.com/hub4j/github-api/pull/170",
    "id": 63589888,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MzE2OTc0NDk=",
    "number": 170,
    "title": "Improvements",
    "user": {
      "login": "KostyaSha",
      "id": 231611,
      "node_id": "MDQ6VXNlcjIzMTYxMQ==",
      "avatar_url": "https://avatars2.githubusercontent.com/u/231611?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/KostyaSha",
      "html_url": "https://github.com/KostyaSha",
      "followers_url": "https://api.github.com/users/KostyaSha/followers",
      "following_url": "https://api.github.com/users/KostyaSha/following{/other_user}",
      "gists_url": "https://api.github.com/users/KostyaSha/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/KostyaSha/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/KostyaSha/subscriptions",
      "organizations_url": "https://api.github.com/users/KostyaSha/orgs",
      "repos_url": "https://api.github.com/users/KostyaSha/repos",
      "events_url": "https://api.github.com/users/KostyaSha/events{/privacy}",
      "received_events_url": "https://api.github.com/users/KostyaSha/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 4,
    "created_at": "2015-03-22T23:25:31Z",
    "updated_at": "2015-04-13T23:55:24Z",
    "closed_at": "2015-04-13T23:55:24Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/170",
      "html_url": "https://github.com/hub4j/github-api/pull/170",
      "diff_url": "https://github.com/hub4j/github-api/pull/170.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/170.patch"
    },
    "body": "Similar to other events\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/169",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/169/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/169/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/169/events",
    "html_url": "https://github.com/hub4j/github-api/pull/169",
    "id": 63588706,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MzE2OTcxOTc=",
    "number": 169,
    "title": "Throw error for bad creds",
    "user": {
      "login": "KostyaSha",
      "id": 231611,
      "node_id": "MDQ6VXNlcjIzMTYxMQ==",
      "avatar_url": "https://avatars2.githubusercontent.com/u/231611?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/KostyaSha",
      "html_url": "https://github.com/KostyaSha",
      "followers_url": "https://api.github.com/users/KostyaSha/followers",
      "following_url": "https://api.github.com/users/KostyaSha/following{/other_user}",
      "gists_url": "https://api.github.com/users/KostyaSha/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/KostyaSha/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/KostyaSha/subscriptions",
      "organizations_url": "https://api.github.com/users/KostyaSha/orgs",
      "repos_url": "https://api.github.com/users/KostyaSha/repos",
      "events_url": "https://api.github.com/users/KostyaSha/events{/privacy}",
      "received_events_url": "https://api.github.com/users/KostyaSha/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2015-03-22T23:10:10Z",
    "updated_at": "2015-04-13T23:55:58Z",
    "closed_at": "2015-04-13T23:55:58Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/169",
      "html_url": "https://github.com/hub4j/github-api/pull/169",
      "diff_url": "https://github.com/hub4j/github-api/pull/169.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/169.patch"
    },
    "body": "PoC for https://github.com/kohsuke/github-api/pull/160#issuecomment-81986789\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/168",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/168/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/168/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/168/events",
    "html_url": "https://github.com/hub4j/github-api/issues/168",
    "id": 63560074,
    "node_id": "MDU6SXNzdWU2MzU2MDA3NA==",
    "number": 168,
    "title": "Pluggable persistent cache support",
    "user": {
      "login": "kohsuke",
      "id": 50003,
      "node_id": "MDQ6VXNlcjUwMDAz",
      "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/kohsuke",
      "html_url": "https://github.com/kohsuke",
      "followers_url": "https://api.github.com/users/kohsuke/followers",
      "following_url": "https://api.github.com/users/kohsuke/following{/other_user}",
      "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions",
      "organizations_url": "https://api.github.com/users/kohsuke/orgs",
      "repos_url": "https://api.github.com/users/kohsuke/repos",
      "events_url": "https://api.github.com/users/kohsuke/events{/privacy}",
      "received_events_url": "https://api.github.com/users/kohsuke/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2015-03-22T18:17:37Z",
    "updated_at": "2015-03-22T19:13:48Z",
    "closed_at": "2015-03-22T19:13:48Z",
    "author_association": "MEMBER",
    "body": "This is a fall out from issue #104.\n\nIt would be nice to leverage [conditional get support in GitHub](https://developer.github.com/v3/#conditional-requests) by offering some kind of optional classes that adds persistent cache on the disk.\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/167",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/167/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/167/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/167/events",
    "html_url": "https://github.com/hub4j/github-api/issues/167",
    "id": 63551821,
    "node_id": "MDU6SXNzdWU2MzU1MTgyMQ==",
    "number": 167,
    "title": "SBT build is broken from version 1.53",
    "user": {
      "login": "lev4ik",
      "id": 4324962,
      "node_id": "MDQ6VXNlcjQzMjQ5NjI=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/4324962?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/lev4ik",
      "html_url": "https://github.com/lev4ik",
      "followers_url": "https://api.github.com/users/lev4ik/followers",
      "following_url": "https://api.github.com/users/lev4ik/following{/other_user}",
      "gists_url": "https://api.github.com/users/lev4ik/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/lev4ik/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/lev4ik/subscriptions",
      "organizations_url": "https://api.github.com/users/lev4ik/orgs",
      "repos_url": "https://api.github.com/users/lev4ik/repos",
      "events_url": "https://api.github.com/users/lev4ik/events{/privacy}",
      "received_events_url": "https://api.github.com/users/lev4ik/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 3,
    "created_at": "2015-03-22T16:42:57Z",
    "updated_at": "2016-03-08T21:37:14Z",
    "closed_at": "2015-03-22T17:36:19Z",
    "author_association": "NONE",
    "body": "When adding \n\nlibraryDependencies += \"org.kohsuke\" % \"github-api\" % \"1.53\"\n\nor higher version to *.sbt files the build breaks with unresolved dependency of org.jenkins-ci#annotation-indexer, with the following error :\n\n```\n    at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:126)\n    at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:125)\n    at sbt.IvySbt$$anon$3.call(Ivy.scala:57)\n    at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:98)\n    at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:81)\n    at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:102)\n    at xsbt.boot.Using$.withResource(Using.scala:11)\n    at xsbt.boot.Using$.apply(Using.scala:10)\n    at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:62)\n    at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:52)\n    at xsbt.boot.Locks$.apply0(Locks.scala:31)\n    at xsbt.boot.Locks$.apply(Locks.scala:28)\n    at sbt.IvySbt.withDefaultLogger(Ivy.scala:57)\n    at sbt.IvySbt.withIvy(Ivy.scala:98)\n    at sbt.IvySbt.withIvy(Ivy.scala:94)\n    at sbt.IvySbt$Module.withModule(Ivy.scala:115)\n    at sbt.IvyActions$.update(IvyActions.scala:125)\n    at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1223)\n    at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1221)\n    at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$74.apply(Defaults.scala:1244)\n    at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$74.apply(Defaults.scala:1242)\n    at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:35)\n    at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1246)\n    at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1241)\n    at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:45)\n    at sbt.Classpaths$.cachedUpdate(Defaults.scala:1249)\n    at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1214)\n    at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1192)\n    at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)\n    at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)\n    at sbt.std.Transform$$anon$4.work(System.scala:64)\n    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)\n    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)\n    at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)\n    at sbt.Execute.work(Execute.scala:244)\n    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)\n    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)\n    at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)\n    at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)\n    at java.util.concurrent.FutureTask.run(FutureTask.java:262)\n    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\n    at java.util.concurrent.FutureTask.run(FutureTask.java:262)\n    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n    at java.lang.Thread.run(Thread.java:745)\n```\n\n[error] sbt.ResolveException: unresolved dependency: org.jenkins-ci#annotation-indexer;1.4: not found\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/166",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/166/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/166/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/166/events",
    "html_url": "https://github.com/hub4j/github-api/issues/166",
    "id": 63492849,
    "node_id": "MDU6SXNzdWU2MzQ5Mjg0OQ==",
    "number": 166,
    "title": "Reading a gist in anonymonous mode causes error",
    "user": {
      "login": "madhephaestus",
      "id": 1254726,
      "node_id": "MDQ6VXNlcjEyNTQ3MjY=",
      "avatar_url": "https://avatars2.githubusercontent.com/u/1254726?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/madhephaestus",
      "html_url": "https://github.com/madhephaestus",
      "followers_url": "https://api.github.com/users/madhephaestus/followers",
      "following_url": "https://api.github.com/users/madhephaestus/following{/other_user}",
      "gists_url": "https://api.github.com/users/madhephaestus/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/madhephaestus/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/madhephaestus/subscriptions",
      "organizations_url": "https://api.github.com/users/madhephaestus/orgs",
      "repos_url": "https://api.github.com/users/madhephaestus/repos",
      "events_url": "https://api.github.com/users/madhephaestus/events{/privacy}",
      "received_events_url": "https://api.github.com/users/madhephaestus/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 6,
    "created_at": "2015-03-22T05:48:49Z",
    "updated_at": "2015-03-23T21:12:21Z",
    "closed_at": "2015-03-22T17:39:08Z",
    "author_association": "CONTRIBUTOR",
    "body": "When I run  \n\n`GitHub github = GitHub.connectAnonymously();`\n\n`GHGist gist = github.getGist(currentGist);`\n\nI get the following exception: \n\njava.lang.NullPointerException\n    at java.util.Hashtable.put(Hashtable.java:464)\n    at org.kohsuke.github.GitHub.getUser(GitHub.java:293)\n    at org.kohsuke.github.GHGist.wrapUp(GHGist.java:106)\n    at org.kohsuke.github.GitHub.getGist(GitHub.java:370)\n    at ...\n\nSInce i connected anynomously, why is it asking for the user? Is there something i can set to get it to ignore this? \n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/165",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/165/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/165/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/165/events",
    "html_url": "https://github.com/hub4j/github-api/issues/165",
    "id": 63454342,
    "node_id": "MDU6SXNzdWU2MzQ1NDM0Mg==",
    "number": 165,
    "title": "Add support for the Markdown API",
    "user": {
      "login": "s0undt3ch",
      "id": 300048,
      "node_id": "MDQ6VXNlcjMwMDA0OA==",
      "avatar_url": "https://avatars3.githubusercontent.com/u/300048?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/s0undt3ch",
      "html_url": "https://github.com/s0undt3ch",
      "followers_url": "https://api.github.com/users/s0undt3ch/followers",
      "following_url": "https://api.github.com/users/s0undt3ch/following{/other_user}",
      "gists_url": "https://api.github.com/users/s0undt3ch/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/s0undt3ch/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/s0undt3ch/subscriptions",
      "organizations_url": "https://api.github.com/users/s0undt3ch/orgs",
      "repos_url": "https://api.github.com/users/s0undt3ch/repos",
      "events_url": "https://api.github.com/users/s0undt3ch/events{/privacy}",
      "received_events_url": "https://api.github.com/users/s0undt3ch/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2015-03-21T20:44:33Z",
    "updated_at": "2015-03-22T19:34:36Z",
    "closed_at": "2015-03-22T18:01:00Z",
    "author_association": "NONE",
    "body": "https://developer.github.com/v3/markdown/\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/164",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/164/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/164/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/164/events",
    "html_url": "https://github.com/hub4j/github-api/pull/164",
    "id": 60742530,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MzA5OTI3NzQ=",
    "number": 164,
    "title": "Add Delete Branch",
    "user": {
      "login": "DavidTanner",
      "id": 368889,
      "node_id": "MDQ6VXNlcjM2ODg4OQ==",
      "avatar_url": "https://avatars0.githubusercontent.com/u/368889?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/DavidTanner",
      "html_url": "https://github.com/DavidTanner",
      "followers_url": "https://api.github.com/users/DavidTanner/followers",
      "following_url": "https://api.github.com/users/DavidTanner/following{/other_user}",
      "gists_url": "https://api.github.com/users/DavidTanner/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/DavidTanner/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/DavidTanner/subscriptions",
      "organizations_url": "https://api.github.com/users/DavidTanner/orgs",
      "repos_url": "https://api.github.com/users/DavidTanner/repos",
      "events_url": "https://api.github.com/users/DavidTanner/events{/privacy}",
      "received_events_url": "https://api.github.com/users/DavidTanner/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 4,
    "created_at": "2015-03-11T22:42:19Z",
    "updated_at": "2015-03-12T03:58:38Z",
    "closed_at": "2015-03-12T03:58:38Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/164",
      "html_url": "https://github.com/hub4j/github-api/pull/164",
      "diff_url": "https://github.com/hub4j/github-api/pull/164.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/164.patch"
    },
    "body": "Add the request to delete a branch.  This is useful after merging a pull request.\n\nMy use case is in the Github Pull Request Builder plugin for Jenkins I would like to delete the branch after merging the pull request. \n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/163",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/163/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/163/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/163/events",
    "html_url": "https://github.com/hub4j/github-api/pull/163",
    "id": 60603017,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MzA5MTIxNDY=",
    "number": 163,
    "title": "merge",
    "user": {
      "login": "weijianzhenli",
      "id": 10072397,
      "node_id": "MDQ6VXNlcjEwMDcyMzk3",
      "avatar_url": "https://avatars2.githubusercontent.com/u/10072397?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/weijianzhenli",
      "html_url": "https://github.com/weijianzhenli",
      "followers_url": "https://api.github.com/users/weijianzhenli/followers",
      "following_url": "https://api.github.com/users/weijianzhenli/following{/other_user}",
      "gists_url": "https://api.github.com/users/weijianzhenli/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/weijianzhenli/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/weijianzhenli/subscriptions",
      "organizations_url": "https://api.github.com/users/weijianzhenli/orgs",
      "repos_url": "https://api.github.com/users/weijianzhenli/repos",
      "events_url": "https://api.github.com/users/weijianzhenli/events{/privacy}",
      "received_events_url": "https://api.github.com/users/weijianzhenli/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2015-03-11T03:01:19Z",
    "updated_at": "2015-03-11T03:05:33Z",
    "closed_at": "2015-03-11T03:05:33Z",
    "author_association": "FIRST_TIMER",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/163",
      "html_url": "https://github.com/hub4j/github-api/pull/163",
      "diff_url": "https://github.com/hub4j/github-api/pull/163.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/163.patch"
    },
    "body": ""
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/162",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/162/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/162/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/162/events",
    "html_url": "https://github.com/hub4j/github-api/issues/162",
    "id": 59959411,
    "node_id": "MDU6SXNzdWU1OTk1OTQxMQ==",
    "number": 162,
    "title": "GHContent#content always returns master version",
    "user": {
      "login": "tilayealemu",
      "id": 11229217,
      "node_id": "MDQ6VXNlcjExMjI5MjE3",
      "avatar_url": "https://avatars3.githubusercontent.com/u/11229217?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/tilayealemu",
      "html_url": "https://github.com/tilayealemu",
      "followers_url": "https://api.github.com/users/tilayealemu/followers",
      "following_url": "https://api.github.com/users/tilayealemu/following{/other_user}",
      "gists_url": "https://api.github.com/users/tilayealemu/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/tilayealemu/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/tilayealemu/subscriptions",
      "organizations_url": "https://api.github.com/users/tilayealemu/orgs",
      "repos_url": "https://api.github.com/users/tilayealemu/repos",
      "events_url": "https://api.github.com/users/tilayealemu/events{/privacy}",
      "received_events_url": "https://api.github.com/users/tilayealemu/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 3,
    "created_at": "2015-03-05T14:34:45Z",
    "updated_at": "2015-03-22T17:21:23Z",
    "closed_at": "2015-03-22T17:21:09Z",
    "author_association": "NONE",
    "body": "GHContent#content always returns content from the master branch. Included sample code. Content 1  comes from  master and 2 from the specified branch. Using github-api 1.62.\n\n```\n@Test\npublic void github_api_issue() throws Exception {\n    String branch = \"mybranch\";\n    GitHub github = GitHub.connectUsingPassword(\"myyser\", \"mypassword\");\n    GHRepository ghRepo = github.getRepository(\"myrepo\");\n    List<GHContent> contents = ghRepo.getDirectoryContent(\"myfolder\", \"heads/\" + branch);\n    for (GHContent content : contents) {\n        String content1 = content.getContent();\n        String content2 = ghRepo.getFileContent(content.getPath(), branch).getContent();\n        System.out.println(\"Contents of \" + content.getPath());\n        System.out.println(\"Content1\");\n        System.out.println(content1);\n        System.out.println(\"Content2\");\n        System.out.println(content2);\n    }\n}\n```\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/161",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/161/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/161/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/161/events",
    "html_url": "https://github.com/hub4j/github-api/pull/161",
    "id": 59922679,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MzA1Mzk2NjI=",
    "number": 161,
    "title": "Add method to get the list of languages using in repository",
    "user": {
      "login": "khoa-nd",
      "id": 1620282,
      "node_id": "MDQ6VXNlcjE2MjAyODI=",
      "avatar_url": "https://avatars2.githubusercontent.com/u/1620282?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/khoa-nd",
      "html_url": "https://github.com/khoa-nd",
      "followers_url": "https://api.github.com/users/khoa-nd/followers",
      "following_url": "https://api.github.com/users/khoa-nd/following{/other_user}",
      "gists_url": "https://api.github.com/users/khoa-nd/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/khoa-nd/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/khoa-nd/subscriptions",
      "organizations_url": "https://api.github.com/users/khoa-nd/orgs",
      "repos_url": "https://api.github.com/users/khoa-nd/repos",
      "events_url": "https://api.github.com/users/khoa-nd/events{/privacy}",
      "received_events_url": "https://api.github.com/users/khoa-nd/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 5,
    "created_at": "2015-03-05T08:58:11Z",
    "updated_at": "2015-03-13T14:58:09Z",
    "closed_at": "2015-03-13T14:58:01Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/161",
      "html_url": "https://github.com/hub4j/github-api/pull/161",
      "diff_url": "https://github.com/hub4j/github-api/pull/161.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/161.patch"
    },
    "body": "Hi kohsuke\nI used your API to call Github API but I found that there isn't any method lists all languages using in repository. Therefore, I ask you to add it into your master code.\nThanks\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/160",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/160/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/160/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/160/events",
    "html_url": "https://github.com/hub4j/github-api/pull/160",
    "id": 59666318,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MzAzODg0MjM=",
    "number": 160,
    "title": "Rate-Limit: Thread fix, reset date",
    "user": {
      "login": "KostyaSha",
      "id": 231611,
      "node_id": "MDQ6VXNlcjIzMTYxMQ==",
      "avatar_url": "https://avatars2.githubusercontent.com/u/231611?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/KostyaSha",
      "html_url": "https://github.com/KostyaSha",
      "followers_url": "https://api.github.com/users/KostyaSha/followers",
      "following_url": "https://api.github.com/users/KostyaSha/following{/other_user}",
      "gists_url": "https://api.github.com/users/KostyaSha/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/KostyaSha/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/KostyaSha/subscriptions",
      "organizations_url": "https://api.github.com/users/KostyaSha/orgs",
      "repos_url": "https://api.github.com/users/KostyaSha/repos",
      "events_url": "https://api.github.com/users/KostyaSha/events{/privacy}",
      "received_events_url": "https://api.github.com/users/KostyaSha/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 11,
    "created_at": "2015-03-03T16:25:50Z",
    "updated_at": "2015-06-11T11:52:37Z",
    "closed_at": "2015-03-17T14:46:28Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/160",
      "html_url": "https://github.com/hub4j/github-api/pull/160",
      "diff_url": "https://github.com/hub4j/github-api/pull/160.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/160.patch"
    },
    "body": "for #159 \n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/159",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/159/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/159/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/159/events",
    "html_url": "https://github.com/hub4j/github-api/issues/159",
    "id": 59493545,
    "node_id": "MDU6SXNzdWU1OTQ5MzU0NQ==",
    "number": 159,
    "title": "infinite Thread usage loop with handleApiError",
    "user": {
      "login": "KostyaSha",
      "id": 231611,
      "node_id": "MDQ6VXNlcjIzMTYxMQ==",
      "avatar_url": "https://avatars2.githubusercontent.com/u/231611?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/KostyaSha",
      "html_url": "https://github.com/KostyaSha",
      "followers_url": "https://api.github.com/users/KostyaSha/followers",
      "following_url": "https://api.github.com/users/KostyaSha/following{/other_user}",
      "gists_url": "https://api.github.com/users/KostyaSha/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/KostyaSha/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/KostyaSha/subscriptions",
      "organizations_url": "https://api.github.com/users/KostyaSha/orgs",
      "repos_url": "https://api.github.com/users/KostyaSha/repos",
      "events_url": "https://api.github.com/users/KostyaSha/events{/privacy}",
      "received_events_url": "https://api.github.com/users/KostyaSha/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2015-03-02T15:11:23Z",
    "updated_at": "2015-03-17T15:07:14Z",
    "closed_at": "2015-03-17T15:07:14Z",
    "author_association": "CONTRIBUTOR",
    "body": "https://github.com/kohsuke/github-api/blob/4b6981c2e7e60a510d5881e33f850aafa5bad25d/src/main/java/org/kohsuke/github/Requester.java#L191-L222\n+\nhttps://github.com/kohsuke/github-api/blob/4b6981c2e7e60a510d5881e33f850aafa5bad25d/src/main/java/org/kohsuke/github/Requester.java#L423-L428\nends with infinite loop that may lock all jenkins Timers\n"
  }
]