Git Providers

List repositories for a specific connection

Changed on

Fetches 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.

get/git-connections/{connection_id}/repositories

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_idinteger required

Connection ID

Query parameters

pageinteger

Page number for pagination

per_pageinteger

Number of items per page (max 100)

sortstring

Sort field (name, created_at, updated_at, stars, etc.)

directionstring

Sort direction (asc, desc)

searchstring

Search term to filter repositories

ownerstring

Filter by repository owner

languagestring

Filter by programming language

privateboolean

Filter by private status (true/false)

presetstring

Cached default-branch preset slug; undetected means not inspected

updated_afterstring

Updated on or after this RFC3339 timestamp

Response

List of repositories

total_countinteger required

Changes

    • info

      added the new optional query request parameter preset

    • info

      added the new optional query request parameter updated_after

    • warning

      deleted the query request parameter preset

    • warning

      deleted the query request parameter updated_after