1
0
mirror of synced 2025-12-20 10:28:40 -05:00
Files
docs/content/rest/git/blobs.md
2023-02-17 16:29:02 +00:00

1.1 KiB

title, shortTitle, allowTitleToDifferFromFilename, intro, versions, topics, autogenerated
title shortTitle allowTitleToDifferFromFilename intro versions topics autogenerated
Git blobs Blobs true Use the REST API to interact with a Git blob (binary large object), the object type used to store the contents of each file in a repository.
fpt ghes ghae ghec
* * * *
API
true

About Git blobs

A Git blob (binary large object) is the object type used to store the contents of each file in a repository. The file's SHA-1 hash is computed and stored in the blob object. These endpoints allow you to read and write blob objects to your Git database on {% data variables.product.product_name %}. Blobs leverage these custom media types. You can read more about the use of media types in the API here.

Custom media types for blobs

These are the supported media types for blobs.

application/json
application/vnd.github.raw

For more information, see "AUTOTITLE."