List repositories for a specific connection
Changed onFetches repositories from the connected git provider with support for pagination, search, and filtering. This endpoint calls the provider's API directly to get the most up-to-date repository list.
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/git-connections/{connection_id}/repositories
- Auth: HTTP bearer
Path parameters
Connection ID
Query parameters
Page number for pagination
Number of items per page (max 100)
Sort field (name, created_at, updated_at, stars, etc.)
Sort direction (asc, desc)
Search term to filter repositories
Filter by repository owner
Filter by programming language
Filter by private status (true/false)
Cached default-branch preset slug; undetected means not inspected
Updated on or after this RFC3339 timestamp
Response
List of repositories
Changes
- info
added the new optional
queryrequest parameterpreset - info
added the new optional
queryrequest parameterupdated_after
- info
- warning
deleted the
queryrequest parameterpreset - warning
deleted the
queryrequest parameterupdated_after
- warning