Contents

List All Primary Git Repositories for an Xcode Cloud Product

List all primary Git repositories for a specific Xcode Cloud product.

URL

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

Path Parameters

NameTypeDescription
id Requiredstring

The opaque resource ID that uniquely identifies the Products resource.

Query Parameters

NameTypeDescription
fields[scmRepositories] Optional[string]

Additional fields to include for each Repositories resource returned by the response.

filter[id] Optional[string]

Filter the returned primary repositories using the ID of the Repositories resource.

limit Optionalinteger

The number of Repositories resources to return.

fields[scmGitReferences] Optional[string]

fields[scmProviders] Optional[string]

include Optional[string]

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/json
ScmRepositoriesResponse

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

See Also

Getting Xcode Cloud Products