Git Sync

Where a repository's credential comes from

Changed on

Whether Windmill holds this repository's access token, and which host it talks to. held means this workspace stores it, borrowed means an ancestor does and it is not this workspace's to replace. Both absent means the repository authenticates with whatever its URL carries. Returns no secret. Requires workspace admin.

get/w/{workspace}/git_sync/credential/origin

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/w/{workspace}/git_sync/credential/origin
  • Auth
    • HTTP bearer
    • or API key in cookie token

Path parameters

workspacestring required

Query parameters

pathstring required

Path of the git repository resource, with or without the $res: prefix. A path rather than a URL, because a resource URL may carry a token and a URL in a query string lands in logs.

Response

where the credential comes from

origin'held' | 'borrowed'
provider'gitlab'

Changes