repositories

Retrieve a blob from a repository

Retrieves information, such as size and content, about blobs in a repository. Blob content is Base64 encoded. This endpoint can be accessed without authentication, if the repository is publicly accessible.

get/api/v4/projects/{id}/repository/blobs/{sha}

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project

shastring required

The commit hash

Response

Retrieve a blob from a repository

Changes

No recorded changes to this operation across all 5 revisions of this API.