Skip to content

Instantly share code, notes, and snippets.

@catsby
Created May 22, 2012 18:29
Show Gist options
  • Save catsby/2770782 to your computer and use it in GitHub Desktop.
Save catsby/2770782 to your computer and use it in GitHub Desktop.
octokit git:master ❯ curl http://github.com/api/v2/json/issues/show/pengwynn/octokit/23 | jsonpretty
{
"issue": {
"gravatar_id": "dfb3948650131e4f0385c3328187cfca",
"position": 20.0,
"number": 23,
"votes": 0,
"created_at": "2011/04/29 13:17:06 -0700",
"comments": 0,
"body": "API v3 has extended/updated support for Labels, need to upgrade issues.rb to support the new url.\r\n\r\nNotes:\r\n\r\n- Labels can now have colors, sent as 6 character hex code, without a leading #\r\n\r\nAdditions:\r\n\r\n- List Labels on a specific Issue\r\n- Add Labels to an Issue\r\n- Remove a Labile from an Issue\r\n- Replace all Labels for an Issue\r\n- Remove all Labels from an Issue\r\n- Get Labels for every Issue in a Milestone\r\n\r\n\r\n\r\n[OLD documentation][1] — [NEW documentation][2]\r\n\r\n\r\n\r\n\r\n[1]: http://develop.github.com/p/issues.html\r\n[2]: http://developer.github.com/v3/issues/\r\n",
"title": "Move Labels to v3 API",
"updated_at": "2011/07/20 09:24:28 -0700",
"diff_url": "https://github.com/pengwynn/octokit/pull/23.diff",
"patch_url": "https://github.com/pengwynn/octokit/pull/23.patch",
"pull_request_url": "https://github.com/pengwynn/octokit/pull/23",
"closed_at": "2011/07/20 09:24:28 -0700",
"html_url": "https://github.com/pengwynn/octokit/issues/23",
"user": "ctshryock",
"labels": [
"V3 Addition",
"V3 Transition"
],
"state": "closed"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment