CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 26 Aug 2025 06:17:16 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20160814225253
location: https://web.archive.org/web/20160814225253/https://developer.github.com/v3/git/blobs
server-timing: captures_list;dur=1.087828, exclusion.robots;dur=0.043601, exclusion.robots.policy;dur=0.018433, esindex;dur=0.027718, cdx.remote;dur=16.463609, LoadShardBlock;dur=159.698084, PetaboxLoader3.datanode;dur=113.624517
x-app-server: wwwb-app222
x-ts: 302
x-tr: 211
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app222; 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 302
server: nginx
date: Tue, 26 Aug 2025 06:17:17 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20161114184648
location: https://web.archive.org/web/20161114184648/https://developer.github.com/v3/git/blobs/
server-timing: captures_list;dur=0.987567, exclusion.robots;dur=0.032820, exclusion.robots.policy;dur=0.015967, esindex;dur=0.023024, cdx.remote;dur=22.538232, LoadShardBlock;dur=68.918992, PetaboxLoader3.datanode;dur=248.315487, load_resource;dur=616.048321, PetaboxLoader3.resolve;dur=367.822366
x-app-server: wwwb-app222
x-ts: 302
x-tr: 757
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=()
HTTP/2 200
server: nginx
date: Tue, 26 Aug 2025 06:17:18 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: GitHub.com
x-archive-orig-last-modified: Mon, 14 Nov 2016 05:40:40 GMT
x-archive-orig-access-control-allow-origin: *
x-archive-orig-expires: Mon, 14 Nov 2016 18:56:48 GMT
x-archive-orig-cache-control: max-age=600
x-archive-orig-x-github-request-id: 17EB2F28:4BFC:68AE6CF:582A0696
x-archive-orig-content-length: 32149
x-archive-orig-accept-ranges: bytes
x-archive-orig-date: Mon, 14 Nov 2016 18:46:48 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-sjc3123-SJC
x-archive-orig-x-cache: MISS
x-archive-orig-x-cache-hits: 0
x-archive-orig-x-timer: S1479149208.474267,VS0,VE147
x-archive-orig-vary: Accept-Encoding
x-archive-orig-x-fastly-request-id: cb940c1f7615cf93c3a97a5e9c6fc52843ab3854
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 14 Nov 2016 18:46:48 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, 14 Aug 2016 22:52:53 GMT", ; rel="memento"; datetime="Mon, 14 Nov 2016 18:46:48 GMT", ; rel="next memento"; datetime="Tue, 15 Nov 2016 03:52:34 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: ARCHIVEIT-771-QUARTERLY-JOB248887-20161114-00001/ARCHIVEIT-771-QUARTERLY-JOB248887-20161114184331856-00016.warc.gz
server-timing: captures_list;dur=0.811972, exclusion.robots;dur=0.034699, exclusion.robots.policy;dur=0.015948, esindex;dur=0.016598, cdx.remote;dur=19.749373, LoadShardBlock;dur=155.387549, PetaboxLoader3.datanode;dur=192.215031, load_resource;dur=107.091753, PetaboxLoader3.resolve;dur=65.030366
x-app-server: wwwb-app222
x-ts: 200
x-tr: 398
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 Developer Guide
Blobs
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
The content
in the response will always be Base64 encoded.
Note: This API supports blobs up to 100 megabytes in size.
Response
Status: 200 OK
{
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==\n",
"encoding": "base64",
"url": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
"sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
"size": 19
}
Create a Blob
POST /repos/:owner/:repo/git/blobs
Parameters
Name | Type | Description |
---|---|---|
content |
string |
Required. The new blob's content. |
encoding |
string |
The encoding used for content . Currently, "utf-8" and "base64" are supported. Default: "utf-8" . |
Example Input
{
"content": "Content of the blob",
"encoding": "utf-8"
}
Response
Status: 201 Created
Location: https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
{
"url": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
"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