gitops
List the workflows using a GitOps source
Changed onReturns the workflows (stacks or edge stacks) currently deployed from this source. Access policy: authenticated
get/gitops/sources/{id}/workflows
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}/workflows
- Auth
- API key in header X-API-KEY
- or API key in header Authorization
Path parameters
idinteger required
Source identifier
Response
OK
Example response
[
{
"gitConfig": {
"ConfigFilePath": "docker-compose.yml",
"ConfigHash": "bc4c183d756879ea4d173315338110b31004b8e0",
"ReferenceName": "refs/heads/branch_name",
"URL": "https://github.com/portainer/portainer.git"
}
}
]Changes
- info
added the optional property
///////to the response with the status
- info
- info
endpoint added
- info