Skip to main content
PUT
Upload a pull request's impacted targets

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer <key>. An organization admin creates one in the Trunk app under Settings → Developer → API Keys and chooses the permissions it holds. A key with none can read merge queues but change nothing in them. Permissions cover merge queues and test-result uploads, including the quarantine lookups a CI run makes before it uploads; any key can call the other Flaky Tests and Dynamic CI endpoints, including their writes.

Body

application/json

Address the pull request by exactly one of number or branch, and declare impact with exactly one of impactedTargets or impactsAllTargets: true. An empty impactedTargets array is valid and means the sha impacts nothing.

repositoryId
string<uuid>
required
targetBranch
string
required
Minimum string length: 1
sha
string
required
Pattern: ^[A-Za-z0-9]+$
Example:

"3f2c9a1b7e4d"

number
integer
required
Required range: x <= 10000000
impactedTargets
string[]
required
Maximum array length: 100000
Minimum string length: 1
branch
string
Minimum string length: 1
impactsAllTargets
enum<boolean>
Available options:
true

Response

The targets were accepted