Pull Requests

Pull request endpoints fetch records and comments from an actor’s PDS. Responses include a pre-joined status field derived from sh.tangled.repo.pull.status records: open, closed, or merged.

GET /pulls/{handle}/{rkey}

Single pull request with pre-joined status (open/closed/merged).

Status is derived from sh.tangled.repo.pull.status records. If no status record exists the PR is considered open.

Path parameters

NameTypeDescription
handle string Author's Tangled handle or DID.
rkey string Record key of the pull request.

GET /pulls/{handle}/{rkey}/comments

All comments for a specific pull request.

Filters sh.tangled.repo.pull.comment records from the actor's PDS by matching the pull AT URI.

Path parameters

NameTypeDescription
handle string Author's Tangled handle or DID.
rkey string Record key of the parent pull request.