Reviews
Retrieves all pull requests for a repository with comprehensive metadata including Salesforce component changes, review environment assignments, validation status, and component overlap detection. Results are served from cache immediately and refreshed every 15 minutes in the background.
Authorizations
Query parameters
repositoryIdentifierstringRequiredExample:
Repository identifier in the format owner/repo
flxbl-io/sf-core
prNumberstringOptional
Optional PR number to filter for a specific pull request
statusstringOptional
Optional status filter: open, closed, or all (default: all)
Responses
200
Pull requests with metadata retrieved successfully.
application/json
400
Bad Request (e.g., missing repositoryIdentifier)
401
Unauthorized
404
Repository not found or no access
get
GET /sfp/api/reviews/pull-requests?repositoryIdentifier=flxbl-io%2Fsf-core HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"openPrs": {
"10": {
"issueTitle": "Update CustomMetadataFeatureSettingsProvider.cls",
"linkToIssue": "https://github.com/phieu-flxbl/sf-core/pull/10",
"number": 10,
"branch": "feature-branch",
"author": {
"login": "octocat",
"avatarUrl": "https://avatars.githubusercontent.com/u/123456?v=4"
},
"elapsedTime": 86400000,
"merged": false
}
},
"closedPrs": {}
}