Skip to main content
POST
TypeScript (SDK)

Authorizations

tql_api_key
string
header
required

Headers

Connect-Protocol-Version
enum<number>
required

Define the version of the Connect protocol

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json
pageSize
integer<int32> | null
pageToken
string | null
statuses
enum<string>[]
Available options:
PATCH_STATUS_UNKNOWN,
PATCH_STATUS_RESERVED,
PATCH_STATUS_DRAFT,
PATCH_STATUS_OPEN,
PATCH_STATUS_APPROVED,
PATCH_STATUS_DENIED,
PATCH_STATUS_AWAITING_REMOTE_MERGE
includeAutoApproved
boolean | null

Response

Success

patches
Patch · object[]
nextPageToken
string | null
counts
counts · object | null

PatchCapabilities describes which patch actions the calling member is permitted to perform. This is a read-only mirror of the authority checks in ApprovePatch and DenyPatch; computing it has no side effects and emits no audit log.