List All Pull Requests for a Repository
List all pull requests for a specific repository that Xcode Cloud can access.
URL
GET https://api.appstoreconnect.apple.com/v1/scmRepositories/{id}/pullRequestsPath Parameters
| Name | Type | Description |
|---|---|---|
id Required | string | The opaque resource ID that uniquely identifies the Pull Requests resource. |
Query Parameters
| Name | Type | Description |
|---|---|---|
fields[scmPullRequests] Optional | [string] | Additional fields to include for each Pull Requests resource returned by the response. |
limit Optional | integer | The number of Pull Requests resources to return. |
fields[scmRepositories] Optional | [string] | |
include Optional | [string] |
Response Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/json | ScmPullRequestsResponse | The request completed successfully. |
| 400 | Bad Request Content-Type: application/json | ErrorResponse | An error occurred with your request. |
| 401 | Unauthorized Content-Type: application/json | ErrorResponse | |
| 403 | Forbidden Content-Type: application/json | ErrorResponse | Request not authorized. |
| 404 | Not Found Content-Type: application/json | ErrorResponse | Resource not found. |
| 429 | Content-Type: application/json | ErrorResponse |