Skip to main content

Module pull_request

Module pull_request 

Source
Expand description

Pull request endpoints.

Verified against the GitFox API v1.3.0 OpenAPI document:

OperationEndpoint
listGET /api/v1/repos/{repo_ref}/pullreq
list in spaceGET /api/v1/spaces/{space_ref}/pullreq
viewGET /api/v1/repos/{repo_ref}/pullreq/{pullreq_number}
createPOST /api/v1/repos/{repo_ref}/pullreq
mergePOST …/pullreq/{pullreq_number}/merge
delete branchDELETE …/pullreq/{pullreq_number}/branch
close/reopenPOST …/pullreq/{pullreq_number}/state
diffGET …/pullreq/{pullreq_number}/diff
checksGET …/pullreq/{pullreq_number}/checks
commitsGET …/pullreq/{pullreq_number}/commits (unused so far)

The diff endpoint content-negotiates: application/json yields per-file entries, text/plain a raw unified diff. fx pr diff picks by output mode.

Structs§

PullRequestFilter
Filters for PullRequestsApi::list.
PullRequestsApi