Created
July 10, 2011 00:09
-
-
Save swanson/1074083 to your computer and use it in GitHub Desktop.
github v3 api digging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET https://api.github.com/repos/swanson/swanson.github.com/git/blobs/957e6b4efb22fa921d0e6b17a1fbf46788c97ed3 | |
HTTP/1.1 200 OK | |
Server: nginx/1.0.4 | |
Date: Sun, 10 Jul 2011 00:08:16 GMT | |
Content-Type: application/json | |
Connection: keep-alive | |
Status: 200 OK | |
X-RateLimit-Limit: 5000 | |
X-RateLimit-Remaining: 4988 | |
Content-Length: 581 | |
{ | |
"encoding": "base64", | |
"sha": "957e6b4efb22fa921d0e6b17a1fbf46788c97ed3", | |
"size": 268, | |
"url": "https://api.github.com/repos/swanson/swanson.github.com/git/blobs/957e6b4efb22fa921d0e6b17a1fbf46788c97ed3", | |
"content": "LS0tCmxheW91dDogcG9zdAp0aXRsZTogSGVsbG8gd29ybGQKY2F0ZWdvcmll\nczoKLSBibG9nCi0tLQoKSSBmaW5hbGx5IGdvdCBhcm91bmQgdG8gc2V0dGlu\nZyB1cCBHaXRIdWIgcGFnZXMgKGFuZCB0aGVuIHRoZSBHaXRIdWIgc2VydmVy\nIHByb21wdGx5IGRlY2lkZWQgdG8gc3RhcnQgaGF2aW5nIGlzc3Vlcy4uLm1h\na2luZyBtZSB0aGluayB0aGF0IEkgd2FzIGEgY29tcGxldGUgZmFpbHVyZSku\nCgpCdXQsIG5vdyBldmVyeXRoaW5nIHNlZW1zIHRvIGJlIHdvcmtpbmchCg==\n" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET https://api.github.com/repos/swanson/swanson.github.com/git/blobs/957e6b4efb22fa921d0e6b17a1fbf46788c97ed3 | |
Accept: application/vnd.github-blob.raw | |
HTTP/1.1 200 OK | |
Server: nginx/1.0.4 | |
Date: Sat, 09 Jul 2011 23:24:15 GMT | |
Content-Type: application/vnd.github-blob.raw | |
Connection: keep-alive | |
Status: 200 OK | |
X-RateLimit-Limit: 5000 | |
X-RateLimit-Remaining: 4991 | |
Content-Length: 268 | |
"---\nlayout: post\ntitle: Hello world\ncategories:\n- blog\n---\n\nI finally got around to setting up GitHub pages (and then the GitHub server promptly decided to start having issues...making me think that I was a complete failure).\n\nBut, now everything seems to be working!\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET https://api.github.com/repos/swanson/swanson.github.com/git/trees/master | |
HTTP/1.1 200 OK | |
Server: nginx/1.0.4 | |
Date: Sat, 09 Jul 2011 23:27:50 GMT | |
Content-Type: application/json | |
Connection: keep-alive | |
Status: 200 OK | |
X-RateLimit-Limit: 5000 | |
X-RateLimit-Remaining: 4990 | |
Content-Length: 2520 | |
{ | |
"sha": "master", | |
"url": "https://api.github.com/repos/swanson/swanson.github.com/git/trees/master", | |
"tree": [ | |
{ | |
"size": 13, | |
"sha": "e62c27f3ef265a2630fe527ec62533707ff85215", | |
"mode": "100644", | |
"url": "https://api.github.com/repos/swanson/swanson.github.com/git/blobs/e62c27f3ef265a2630fe527ec62533707ff85215", | |
"type": "blob", | |
"path": ".gitignore" | |
}, | |
{ | |
"size": 28, | |
"sha": "f97791bfd853849ad0fceefbcc9847d620342af2", | |
"mode": "100644", | |
"url": "https://api.github.com/repos/swanson/swanson.github.com/git/blobs/f97791bfd853849ad0fceefbcc9847d620342af2", | |
"type": "blob", | |
"path": "README" | |
}, | |
... snip ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment