Git Providers

Get connections for a specific git provider

Changed on
get/git-providers/{provider_id}/connections

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/git-providers/{provider_id}/connections
  • Auth: HTTP bearer

Path parameters

provider_idinteger required

Provider ID to get connections for

Response

List of connections for the provider

account_namestring required
account_typestring required
consecutive_health_failuresinteger required
created_atstring date-time required
has_authenticated_credentialsboolean required

Whether this connection can make authenticated provider requests. This exposes capability only; credential values are never serialized.

health_messagestring nullable

Human-readable reason when health_status is "unhealthy"; null otherwise.

health_statusstring required

Current health status: "healthy", "unhealthy", or "unknown".

idinteger required
installation_idstring nullable
is_activeboolean required
is_expiredboolean required
last_health_check_atstring date-time nullable
last_sync_errorstring nullable

Why the most recent repository sync failed or timed out; null once a sync succeeds.

last_sync_error_atstring date-time nullable
last_synced_atstring date-time nullable
provider_idinteger required
synced_repository_countinteger required

Running count of repositories persisted by the current (or most recent) sync. Resets to 0 when a new sync begins; useful for showing live progress on large syncs.

syncingboolean required
updated_atstring date-time required
user_idinteger nullable

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status