Skip to content

@coop /gist:1325324
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
$ curl -i -H "Authorization: token my_token" https://api.github.com/orgs/everydayhero/repos
HTTP/1.1 200 OK
Server: nginx/1.0.4
Date: Sun, 30 Oct 2011 01:02:50 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Status: 200 OK
X-RateLimit-Limit: 5000
ETag: "55fef90d58683e3270408d09eae6ee71"
X-OAuth-Scopes:
X-RateLimit-Remaining: 4987
Content-Length: 25409
X-Accepted-OAuth-Scopes: repo
[
{
"homepage": "",
"svn_url": "https://svn.github.com/everydayhero/command_centre",
"language": "Ruby",
"git_url": "git://github.com/everydayhero/command_centre.git",
"forks": 0,
"pushed_at": "2011-10-28T06:46:33Z",
"fork": false,
"updated_at": "2011-10-28T06:46:33Z",
"html_url": "https://github.com/everydayhero/command_centre",
"watchers": 2,
"url": "https://api.github.com/repos/everydayhero/command_centre",
"private": true,
"description": "",
"size": 716,
"master_branch": null,
"owner": {
"url": "https://api.github.com/users/everydayhero",
"avatar_url": "https://secure.gravatar.com/avatar/bc142b8357dfd4123df0da774aed40c3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png",
"id": 558383,
"gravatar_id": "bc142b8357dfd4123df0da774aed40c3",
"login": "everydayhero"
},
"name": "command_centre",
"ssh_url": "git@github.com:everydayhero/command_centre.git",
"created_at": "2011-01-12T01:36:39Z",
"id": 1243896,
"clone_url": "https://github.com/everydayhero/command_centre.git",
"open_issues": 2
},
{
"homepage": "",
"svn_url": "https://svn.github.com/everydayhero/donation_timeline",
"language": "JavaScript",
"git_url": "git://github.com/everydayhero/donation_timeline.git",
"forks": 1,
"pushed_at": "2011-10-28T02:00:16Z",
"fork": false,
"updated_at": "2011-10-28T02:00:19Z",
"html_url": "https://github.com/everydayhero/donation_timeline",
"watchers": 1,
"url": "https://api.github.com/repos/everydayhero/donation_timeline",
"private": false,
"description": "",
"size": 152,
"master_branch": null,
"owner": {
"url": "https://api.github.com/users/everydayhero",
"avatar_url": "https://secure.gravatar.com/avatar/bc142b8357dfd4123df0da774aed40c3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png",
"id": 558383,
"gravatar_id": "bc142b8357dfd4123df0da774aed40c3",
"login": "everydayhero"
},
"name": "donation_timeline",
"ssh_url": "git@github.com:everydayhero/donation_timeline.git",
"created_at": "2011-10-28T01:59:57Z",
"id": 2662568,
"clone_url": "https://github.com/everydayhero/donation_timeline.git",
"open_issues": 0
}
]
$ curl -i -H "Authorization: token my_token" https://api.github.com/repos/everydayhero/donation_timeline
HTTP/1.1 200 OK
Server: nginx/1.0.4
Date: Sun, 30 Oct 2011 01:04:32 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Status: 200 OK
X-RateLimit-Limit: 5000
ETag: "573eb23ad7470ddd272a930059d559c2"
X-OAuth-Scopes:
X-RateLimit-Remaining: 4986
Content-Length: 1606
X-Accepted-OAuth-Scopes: repo, public_repo
{
"has_downloads": true,
"homepage": "",
"language": "JavaScript",
"has_wiki": true,
"svn_url": "https://svn.github.com/everydayhero/donation_timeline",
"forks": 1,
"fork": false,
"updated_at": "2011-10-28T02:00:19Z",
"integrate_branch": null,
"html_url": "https://github.com/everydayhero/donation_timeline",
"git_url": "git://github.com/everydayhero/donation_timeline.git",
"watchers": 1,
"url": "https://api.github.com/repos/everydayhero/donation_timeline",
"has_issues": true,
"private": false,
"description": "",
"size": 152,
"mirror_url": null,
"master_branch": null,
"pushed_at": "2011-10-28T02:00:16Z",
"owner": {
"avatar_url": "https://secure.gravatar.com/avatar/bc142b8357dfd4123df0da774aed40c3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png",
"url": "https://api.github.com/users/everydayhero",
"login": "everydayhero",
"id": 558383,
"gravatar_id": "bc142b8357dfd4123df0da774aed40c3"
},
"name": "donation_timeline",
"organization": {
"avatar_url": "https://secure.gravatar.com/avatar/bc142b8357dfd4123df0da774aed40c3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png",
"url": "https://api.github.com/users/everydayhero",
"login": "everydayhero",
"id": 558383,
"gravatar_id": "bc142b8357dfd4123df0da774aed40c3"
},
"ssh_url": "git@github.com:everydayhero/donation_timeline.git",
"open_issues": 0,
"created_at": "2011-10-28T01:59:57Z",
"id": 2662568,
"clone_url": "https://github.com/everydayhero/donation_timeline.git"
}
$ curl -i -H "Authorization: token my_token" https://api.github.com/repos/everydayhero/command_centre
HTTP/1.1 404 Not Found
Server: nginx/1.0.4
Date: Sun, 30 Oct 2011 01:05:02 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Status: 404 Not Found
X-RateLimit-Limit: 5000
ETag: "31b00b4920d3470b70611b10e0ba62a7"
X-OAuth-Scopes:
X-RateLimit-Remaining: 4985
Content-Length: 29
X-Accepted-OAuth-Scopes: repo
{
"message": "Not Found"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.