List All Git References for a Repository
List all Git references for a specific repository that Xcode Cloud can access.
URL
GET https://api.appstoreconnect.apple.com/v1/scmRepositories/{id}/gitReferencesPath Parameters
| Name | Type | Description |
|---|---|---|
id Required | string | The opaque resource ID that uniquely identifies the Repositories resource. |
Query Parameters
| Name | Type | Description |
|---|---|---|
fields[scmGitReferences] Optional | [string] | Additional fields to include for each Git References resource returned by the response. |
limit Optional | integer | The number of Git References resources to return. |
fields[scmRepositories] Optional | [string] | |
include Optional | [string] |
Response Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/json | ScmGitReferencesResponse | 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 |