CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sun, 24 Aug 2025 20:56:40 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20130805213344
location: https://web.archive.org/web/20130805213344/https://developer.github.com/v3/git/blobs/
server-timing: captures_list;dur=0.473684, exclusion.robots;dur=0.017827, exclusion.robots.policy;dur=0.007331, esindex;dur=0.010286, cdx.remote;dur=37.555303, LoadShardBlock;dur=311.263299, PetaboxLoader3.datanode;dur=116.488066, PetaboxLoader3.resolve;dur=154.641379
x-app-server: wwwb-app221
x-ts: 302
x-tr: 373
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app221; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sun, 24 Aug 2025 20:56:41 GMT
content-type: text/html
x-archive-orig-server: GitHub.com
x-archive-orig-last-modified: Tue, 23 Jul 2013 13:29:22 GMT
x-archive-orig-expires: Mon, 05 Aug 2013 21:43:44 GMT
x-archive-orig-cache-control: max-age=600
x-archive-orig-content-length: 13697
x-archive-orig-accept-ranges: bytes
x-archive-orig-date: Mon, 05 Aug 2013 21:33:44 GMT
x-archive-orig-via: 1.1 varnish
x-archive-orig-age: 0
x-archive-orig-connection: close
x-archive-orig-x-served-by: cache-sv60-SJC3
x-archive-orig-x-cache: MISS
x-archive-orig-x-cache-hits: 0
x-archive-orig-x-timer: S1375738424.495590925,VS0,VE72
x-archive-orig-vary: Accept-Encoding
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 05 Aug 2013 21:33:44 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Thu, 23 Jun 2011 02:03:27 GMT", ; rel="prev memento"; datetime="Sun, 28 Jul 2013 06:24:56 GMT", ; rel="memento"; datetime="Mon, 05 Aug 2013 21:33:44 GMT", ; rel="next memento"; datetime="Fri, 23 Aug 2013 00:48:19 GMT", ; rel="last memento"; datetime="Sun, 25 May 2025 17:16:49 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: WIDE-20130805190003-crawl411/WIDE-20130805195147-00012.warc.gz
server-timing: captures_list;dur=2.316844, exclusion.robots;dur=0.024665, exclusion.robots.policy;dur=0.010757, esindex;dur=0.018448, cdx.remote;dur=72.462080, LoadShardBlock;dur=581.624359, PetaboxLoader3.datanode;dur=186.146524, PetaboxLoader3.resolve;dur=219.260121, load_resource;dur=244.399628
x-app-server: wwwb-app221
x-ts: 200
x-tr: 956
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
Git Blobs | GitHub API
Blobs API
Since blobs can be any arbitrary binary data, the input and responses
for the blob API takes an encoding parameter that can be either utf-8
or base64
. If your data cannot be losslessly sent as a UTF-8 string,
you can base64 encode it.
Blobs leverage these custom media types. You can read more about the use of media types in the API here.
Get a Blob
GET /repos/:owner/:repo/git/blobs/:sha
Response
Status: 200 OK
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
{
"content": "Content of the blob",
"encoding": "utf-8",
"sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
"size": 100
}
Create a Blob
POST /repos/:owner/:repo/git/blobs
Input
{
"content": "Content of the blob",
"encoding": "utf-8"
}
Response
Status: 201 Created
Location: https://api.github.com/git/:owner/:repo/blob/:sha
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
{
"sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15"
}
Custom media types
These are the supported media types for blobs. You can read more about the use of media types in the API here.
application/json
application/vnd.github.VERSION.raw
This website is a public GitHub repository. Please help us by forking the project and adding to it.
Design © 2013 GitHub, Inc. All rights reserved.
Except where otherwise noted, content on this site is licensed under a Creative Commons CC-BY license.