v51

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-01131107332.8 KB
GitOps
Admin

Get GitOps synchronization status

Experimental. Returns the current synchronization status of the GitOps storage, including the current commit SHA, sync state, load statistics, and any errors from the last sync attempt.

This endpoint is only available when GitOps storage is enabled (apicurio.storage.kind=gitops). Returns HTTP 409 (Conflict) if a different storage backend is active.

This operation can fail for the following reasons:

  • GitOps storage is not enabled (HTTP error 409)
  • A server error occurred (HTTP error 500)
get/admin/gitops/status

Response

The current GitOps synchronization status.

syncStatestring

The current synchronization state of the GitOps storage. Possible values: INITIALIZING (first load not yet completed), IDLE (serving latest data), LOADING (sync in progress), SWITCHING (data loaded, waiting for write lock to publish), ERROR (last sync or switch failed, serving previous data).

lastSuccessfulSyncstring date-time

ISO 8601 timestamp of the last successful synchronization.

lastSyncAttemptstring date-time

ISO 8601 timestamp of the last synchronization attempt (successful or not).

groupCountinteger

Number of groups loaded in the last successful sync.

artifactCountinteger

Number of artifacts loaded in the last successful sync.

versionCountinteger

Number of artifact versions loaded in the last successful sync.

sourcesobject

Per-source identifiers. Maps source ID (e.g., repository ID, Kubernetes server/namespace) to its current marker (e.g., abbreviated commit SHA, resource version).