Skip to content

Instantly share code, notes, and snippets.

@trodrigues
Created March 13, 2012 14:37
Show Gist options
  • Save trodrigues/2029164 to your computer and use it in GitHub Desktop.
Save trodrigues/2029164 to your computer and use it in GitHub Desktop.
get issues for a repo
% curl -i https://api.github.com/repos/busterjs/buster-docs/pulls
HTTP/1.1 200 OK
Server: nginx/1.0.13
Date: Tue, 13 Mar 2012 14:37:05 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Status: 200 OK
X-RateLimit-Limit: 5000
ETag: "6b10c9c87ff214c41279727e9f391cb5"
X-RateLimit-Remaining: 4995
Content-Length: 6084
[
{
"_links": {
"review_comments": {
"href": "https://api.github.com/repos/busterjs/buster-docs/pulls/8/comments"
},
"html": {
"href": "https://github.com/busterjs/buster-docs/pull/8"
},
"comments": {
"href": "https://api.github.com/repos/busterjs/buster-docs/issues/8/comments"
},
"self": {
"href": "https://api.github.com/repos/busterjs/buster-docs/pulls/8"
}
},
"title": "Fixing config example on overview page",
"html_url": "https://github.com/busterjs/buster-docs/pull/8",
"url": "https://api.github.com/repos/busterjs/buster-docs/pulls/8",
"created_at": "2012-03-12T19:14:37Z",
"merged_at": null,
"number": 8,
"body": "The current config example can be quite misleading with the recent rootPath change.",
"issue_url": "https://github.com/busterjs/buster-docs/issues/8",
"diff_url": "https://github.com/busterjs/buster-docs/pull/8.diff",
"updated_at": "2012-03-12T19:14:37Z",
"state": "open",
"patch_url": "https://github.com/busterjs/buster-docs/pull/8.patch",
"id": 969328,
"closed_at": null,
"user": {
"url": "https://api.github.com/users/trodrigues",
"gravatar_id": "320a88408f2cff2219bf4d92af501e19",
"login": "trodrigues",
"avatar_url": "https://secure.gravatar.com/avatar/320a88408f2cff2219bf4d92af501e19?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
"id": 38177
}
},
{
"_links": {
"review_comments": {
"href": "https://api.github.com/repos/busterjs/buster-docs/pulls/5/comments"
},
"html": {
"href": "https://github.com/busterjs/buster-docs/pull/5"
},
"comments": {
"href": "https://api.github.com/repos/busterjs/buster-docs/issues/5/comments"
},
"self": {
"href": "https://api.github.com/repos/busterjs/buster-docs/pulls/5"
}
},
"title": "doc fix and clarification",
"html_url": "https://github.com/busterjs/buster-docs/pull/5",
"url": "https://api.github.com/repos/busterjs/buster-docs/pulls/5",
"created_at": "2012-02-19T06:03:06Z",
"merged_at": null,
"number": 5,
"body": "## doc clarification for updating with buster-dev-tools\r\nadded part about needing to git pull the buster-dev-tools before running update.js\r\n\r\n## doc fix for location of the buster.js config file\r\nbuster.js file is expected in the test/ or spec/ folders, not tests/ nor specs/\r\n\r\n",
"issue_url": "https://github.com/busterjs/buster-docs/issues/5",
"diff_url": "https://github.com/busterjs/buster-docs/pull/5.diff",
"updated_at": "2012-02-23T05:28:34Z",
"state": "open",
"patch_url": "https://github.com/busterjs/buster-docs/pull/5.patch",
"id": 851197,
"closed_at": null,
"user": {
"url": "https://api.github.com/users/geddesign",
"gravatar_id": "238dabe9f0d4da12c85c694811bb28ce",
"login": "geddesign",
"avatar_url": "https://secure.gravatar.com/avatar/238dabe9f0d4da12c85c694811bb28ce?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
"id": 515722
}
},
{
"_links": {
"review_comments": {
"href": "https://api.github.com/repos/busterjs/buster-docs/pulls/4/comments"
},
"html": {
"href": "https://github.com/busterjs/buster-docs/pull/4"
},
"comments": {
"href": "https://api.github.com/repos/busterjs/buster-docs/issues/4/comments"
},
"self": {
"href": "https://api.github.com/repos/busterjs/buster-docs/pulls/4"
}
},
"title": "Renamed tests/ to test/ and specs/ to spec/",
"html_url": "https://github.com/busterjs/buster-docs/pull/4",
"url": "https://api.github.com/repos/busterjs/buster-docs/pulls/4",
"created_at": "2012-02-18T11:04:14Z",
"merged_at": null,
"number": 4,
"body": "The overview docs used the wrong folder names.",
"issue_url": "https://github.com/busterjs/buster-docs/issues/4",
"diff_url": "https://github.com/busterjs/buster-docs/pull/4.diff",
"updated_at": "2012-02-18T11:04:14Z",
"state": "open",
"patch_url": "https://github.com/busterjs/buster-docs/pull/4.patch",
"id": 849842,
"closed_at": null,
"user": {
"url": "https://api.github.com/users/kjbekkelund",
"gravatar_id": "6c51c14716e24bc1f1a3fb5ad234e773",
"login": "kjbekkelund",
"avatar_url": "https://secure.gravatar.com/avatar/6c51c14716e24bc1f1a3fb5ad234e773?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
"id": 5259
}
},
{
"_links": {
"review_comments": {
"href": "https://api.github.com/repos/busterjs/buster-docs/pulls/3/comments"
},
"html": {
"href": "https://github.com/busterjs/buster-docs/pull/3"
},
"comments": {
"href": "https://api.github.com/repos/busterjs/buster-docs/issues/3/comments"
},
"self": {
"href": "https://api.github.com/repos/busterjs/buster-docs/pulls/3"
}
},
"title": "Fix typo on homepage",
"html_url": "https://github.com/busterjs/buster-docs/pull/3",
"url": "https://api.github.com/repos/busterjs/buster-docs/pulls/3",
"created_at": "2012-02-17T14:35:22Z",
"merged_at": null,
"number": 3,
"body": "",
"issue_url": "https://github.com/busterjs/buster-docs/issues/3",
"diff_url": "https://github.com/busterjs/buster-docs/pull/3.diff",
"updated_at": "2012-02-17T14:35:22Z",
"state": "open",
"patch_url": "https://github.com/busterjs/buster-docs/pull/3.patch",
"id": 845605,
"closed_at": null,
"user": {
"url": "https://api.github.com/users/felixge",
"gravatar_id": "23968f0ca75b13463d2db5343e5c2096",
"login": "felixge",
"avatar_url": "https://secure.gravatar.com/avatar/23968f0ca75b13463d2db5343e5c2096?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
"id": 15000
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment