gitops
List all GitOps sources
Changed onReturns a deduplicated list of git repositories used across all GitOps workflows. Access policy: authenticated
get/gitops/sources
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/gitops/sources
- Auth
- API key in header X-API-KEY
- or API key in header Authorization
Query parameters
searchstring
Search term (matches URL)
sortstring
Sort field: name | status | type
orderstring
Sort order: asc or desc
startinteger
Pagination start index
limitinteger
Pagination limit (0 = unlimited)
statusstring
Filter by status: healthy | syncing | error | paused | unknown
type'git' | 'helm' | 'oci'
Filter by source type: git | oci | helm
Response
OK
Example response
[
{
"interval": "5m"
}
]Changes
- info
added the optional property
/to the response with the status
- info
- warning
removed the optional property
/from the response with the status
- warning