Git Providers

List synced repositories with advanced filtering

Changed on

Lists repositories that have been synced to the database with filtering options. This provides fast access to repository metadata with filtering by connection, search, and other criteria.

get/repositories

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/repositories
  • Auth: HTTP bearer

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, watchers, size, issues)

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

git_provider_connection_idinteger

Filter by git provider connection ID

Response

List of synced 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