CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sun, 10 Aug 2025 18:34:44 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20131223025326
location: https://web.archive.org/web/20131223025326/https://developer.github.com/v3/git/blobs/
server-timing: captures_list;dur=0.499567, exclusion.robots;dur=0.019640, exclusion.robots.policy;dur=0.009993, esindex;dur=0.011457, cdx.remote;dur=583.695013, LoadShardBlock;dur=70.890600, PetaboxLoader3.datanode;dur=48.228305
x-app-server: wwwb-app213
x-ts: 302
x-tr: 684
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app213; 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, 10 Aug 2025 18:34:46 GMT
content-type: text/html
x-archive-orig-server: GitHub.com
x-archive-orig-last-modified: Fri, 20 Dec 2013 15:14:18 GMT
x-archive-orig-expires: Mon, 23 Dec 2013 03:03:26 GMT
x-archive-orig-cache-control: max-age=600
x-archive-orig-content-length: 12754
x-archive-orig-accept-ranges: bytes
x-archive-orig-date: Mon, 23 Dec 2013 02:53:26 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-mia1327-MIA
x-archive-orig-x-cache: MISS
x-archive-orig-x-cache-hits: 0
x-archive-orig-x-timer: S1387767206.069249868,VS0,VE28
x-archive-orig-vary: Accept-Encoding
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 23 Dec 2013 02:53:26 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="Thu, 21 Nov 2013 11:38:30 GMT", ; rel="memento"; datetime="Mon, 23 Dec 2013 02:53:26 GMT", ; rel="next memento"; datetime="Tue, 28 Jan 2014 19:01:43 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: alexa20131223-27/52_37_20131223025206_crawl101.arc.gz
server-timing: captures_list;dur=0.531510, exclusion.robots;dur=0.021404, exclusion.robots.policy;dur=0.010621, esindex;dur=0.014588, cdx.remote;dur=818.190452, LoadShardBlock;dur=76.817451, PetaboxLoader3.datanode;dur=185.118074, load_resource;dur=483.825266, PetaboxLoader3.resolve;dur=367.350308
x-app-server: wwwb-app213
x-ts: 200
x-tr: 1425
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
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
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.