Get Patch
Patches
Get Patch
Fetch a single Context Library patch with its diffs and your capabilities.
GET
Get Patch
The
git_ref returned here is required as expected_git_ref when approving,
denying, or restoring — it makes review optimistic-concurrency safe: if the
patch changed since you read it, the action returns 409 instead of acting on
a stale view. An unknown or foreign-org id returns 404.Authorizations
API key or JWT token
Path Parameters
Patch ID
Query Parameters
Fetch a historical revision (1-based); defaults to latest.
Response
The patch
A reviewable Context Library patch.
Available options:
reserved, draft, open, approved, denied Echo this as expected_git_ref when approving/denying/restoring.
Actions the calling member may take on a patch.