---
title: Read git repository information
framework: appstoreconnectapi
role: symbol
role_heading: Web Service Endpoint
path: appstoreconnectapi/get-v1-scmrepositories-_id_
---

# Read git repository information

Get information about a Git repository that Xcode Cloud can access.

## URL

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

## Path Parameters

id: The opaque resource ID that uniquely identifies the Repositories resource.

## Query Parameters

fields[scmGitReferences]: Additional fields to include for the Repositories resource returned by the response. fields[scmRepositories]: Additional fields to include for the Repositories resource returned by the response. include: The relationship data to include in the response. fields[scmProviders]:

## Response Codes

200 OK: The request completed successfully. 400 Bad Request: An error occurred with your request. 401 Unauthorized: 403 Forbidden: Request not authorized. 404 Not Found: Resource not found. 429 :

## Discussion

Discussion The example request below retrieves information about a specific Git repository that Xcode Cloud can access. Use the data provided in the response to read additional information; for example, pull request information. Example Request and Response

## See Also

### Getting Repository Information

- [List all git repositories](appstoreconnectapi/get-v1-scmrepositories.md)
- [List all git references for a repository](appstoreconnectapi/get-v1-scmrepositories-_id_-gitreferences.md)
- [List Git reference IDs for an SCM repository](appstoreconnectapi/get-v1-scmrepositories-_id_-relationships-gitreferences.md)
- [List all pull requests for a repository](appstoreconnectapi/get-v1-scmrepositories-_id_-pullrequests.md)
- [List pull request IDs for an SCM repository](appstoreconnectapi/get-v1-scmrepositories-_id_-relationships-pullrequests.md)
