gitops

Get a GitOps source by ID

Changed on

Returns a single GitOps source with its connection settings and access rules. Access policy: authenticated

get/gitops/sources/{id}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/gitops/sources/{id}
  • Auth
    • API key in header X-API-KEY
    • or API key in header Authorization

Path parameters

idinteger required

Source identifier

Response

OK

errorstring
idinteger required
intervalstring
lastSyncinteger
namestring required
status'healthy' | 'syncing' | 'error' | 'paused' | 'unknown' required
type'git' | 'helm' | 'oci' required
urlstring required

Example response

{
  "interval": "5m"
}

Changes

    • warning

      removed the optional property from 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

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status