Skip to main content
GET
Read one file from a pipeline repo

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>.

Path Parameters

buildSpecId
string<uuid>
required

Query Parameters

path
string
required

The file's path within the repo.

Response

The file content.

path
string
required
content
string
required
sha
string
required

The commit sha this content was read at.