sync

Get Git sync status

Changed on

Returns the overall Git sync status including all supported sync items

get/sync/status

Request

  • Base URL
    http://localhost/api/v1
  • Auth
    • HTTP bearer
    • or HTTP basic
    • or none

Query parameters

remoteNodestring

name of the remote node

Response

Sync status retrieved successfully

enabledboolean required

Whether Git sync is enabled

repositorystring

Repository URL

branchstring

Branch being synced

summary'synced' | 'pending' | 'conflict' | 'missing' | 'error' required

Summary status for the sync badge

lastSyncAtstring date-time

When the last sync occurred

lastSyncCommitstring

Commit hash of last sync

lastSyncStatusstring

Status of last sync (success/error)

lastErrorstring

Error message from last failed sync

Changes

    • warning

      added the new calendar enum value to the // response property for the response status

    • info

      removed the calendar enum value from the // response property for the response status