CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 23 Aug 2025 11:10:48 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20130728062456
location: https://web.archive.org/web/20130728062456/https://developer.github.com/v3/git/blobs
server-timing: captures_list;dur=0.714192, exclusion.robots;dur=0.031052, exclusion.robots.policy;dur=0.016337, esindex;dur=0.017522, cdx.remote;dur=89.092702, LoadShardBlock;dur=280.308222, PetaboxLoader3.datanode;dur=203.227952
x-app-server: wwwb-app215
x-ts: 302
x-tr: 410
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app215; 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: Sat, 23 Aug 2025 11:10:49 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: Sun, 28 Jul 2013 06:34:53 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: Sun, 28 Jul 2013 06:24:53 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-ny58-NYC
x-archive-orig-x-cache: MISS
x-archive-orig-x-cache-hits: 0
x-archive-orig-x-timer: S1374992693.770958900,VS0,VE14
x-archive-orig-vary: Accept-Encoding
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 28 Jul 2013 06:24:56 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, 23 Jun 2013 02:30:12 GMT", ; rel="memento"; datetime="Sun, 28 Jul 2013 06:24:56 GMT", ; rel="next memento"; datetime="Mon, 05 Aug 2013 21:33:44 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: alexa20130729-27/51_35_20130728062455_crawl101.arc.gz
server-timing: captures_list;dur=1.275191, exclusion.robots;dur=0.049615, exclusion.robots.policy;dur=0.022510, esindex;dur=0.030363, cdx.remote;dur=10.997320, LoadShardBlock;dur=136.432227, PetaboxLoader3.datanode;dur=170.275511, load_resource;dur=181.438416, PetaboxLoader3.resolve;dur=75.354101
x-app-server: wwwb-app215
x-ts: 200
x-tr: 404
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.