Skip to main content
PUT
Save edits to 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

Body

application/json
baseSha
string
required

The commit sha the edits are based on, for optimistic concurrency.

upserts
object

Map of file path to new content; each file is created or overwritten.

deletions
string[]

Paths to delete in the same commit.

Response

The new commit sha.

sha
string
required

The new commit sha.