curl --request GET \
--url https://api.example.com/orgs/{org_id}/nodes/{node_id}/pull-requests{
"prs": [
{
"id": "<string>",
"node_id": "<string>",
"number": 123,
"title": "<string>",
"source_branch": "<string>",
"target_branch": "<string>",
"source_commit": "<string>",
"target_commit": "<string>",
"status": "<string>",
"is_draft": true,
"author": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"author_email": "<string>",
"merged_by": "<string>",
"merged_by_email": "<string>",
"closed_by": "<string>",
"closed_by_email": "<string>",
"merged_at": "2023-11-07T05:31:56Z",
"closed_at": "2023-11-07T05:31:56Z",
"can_merge": true,
"merge_reason": "<string>",
"commits_ahead": 123
}
],
"total_count": 123
}List pull requests for node.
curl --request GET \
--url https://api.example.com/orgs/{org_id}/nodes/{node_id}/pull-requests{
"prs": [
{
"id": "<string>",
"node_id": "<string>",
"number": 123,
"title": "<string>",
"source_branch": "<string>",
"target_branch": "<string>",
"source_commit": "<string>",
"target_commit": "<string>",
"status": "<string>",
"is_draft": true,
"author": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"author_email": "<string>",
"merged_by": "<string>",
"merged_by_email": "<string>",
"closed_by": "<string>",
"closed_by_email": "<string>",
"merged_at": "2023-11-07T05:31:56Z",
"closed_at": "2023-11-07T05:31:56Z",
"can_merge": true,
"merge_reason": "<string>",
"commits_ahead": 123
}
],
"total_count": 123
}Filter by status (open, merged, closed)
Max number of results
1 <= x <= 100Number of results to skip
x >= 0