Contents

Read Pull Request Information

Get information about a specific pull request.

URL

GET https://api.appstoreconnect.apple.com/v1/scmPullRequests/{id}

Path Parameters

NameTypeDescription
id Requiredstring

The opaque resource ID that uniquely identifies the Pull Requests resource.

Query Parameters

NameTypeDescription
fields[scmPullRequests] Optional[string]

Additional fields to include for the Pull Requests resource returned by the response.

include Optional[string]

The relationship data to include in the response.

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/json
ScmPullRequestResponse

The request completed successfully.

400Bad Request
Content-Type: application/json
ErrorResponse

An error occurred with your request.

401Unauthorized
Content-Type: application/json
ErrorResponse

403Forbidden
Content-Type: application/json
ErrorResponse

Request not authorized.

404Not Found
Content-Type: application/json
ErrorResponse

Resource not found.

429
Content-Type: application/json
ErrorResponse

Discussion

The example request below retrieves information about a specific pull request. For example, use the data provided in the response to display pull request information on a custom dashboard.

Example Request and Response