repositories

Retrieve raw blob content

Retrieves the raw file contents for a blob, by blob SHA. This endpoint can be accessed without authentication if the repository is publicly accessible.

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

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 raw blob content

Changes

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