List the git host connections
The organization's connections to GitLab, Bitbucket Cloud and Azure DevOps, by name, each with when its webhook last delivered an event Wardn believed. Tokens and webhook secrets are never returned.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
The connections.
application/json- response
items*array<>curl -X GET 'https://wardn.example.com/api/v1/git-hosts'{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "gitlab", "name": "string", "baseUrl": "string", "auth": "token", "username": "string", "credentialsRef": "githost:0193a3f1-7e5c-7b6a-9f00-000000000001", "webhookPath": "string", "webhookHint": "string", "hasPrivateCa": true, "paused": true, "projects": [ "string" ], "posts": { "syncStatus": true, "releaseStatus": true, "comment": true, "previewLink": true, "environments": [ "string" ] }, "webhookSecret": "string", "lastDeliveryAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ]}Start installing the GitHub App POST
Returns the address where a person installs the Wardn GitHub App on their GitHub account or organization. The address carries a one-time `state` that ties the install to this organization and to the caller; GitHub sends the person back to the setup callback (`completeGithubSetup`) with it. The answe
Connect GitLab, Bitbucket or Azure DevOps POST
Checks the token with the host before anything is kept, keeps it in the secret store, makes the secret the host's webhook is set up with and returns it once in `webhookSecret`. A source reads through the connection when its `credentialsRef` is the answer's `credentialsRef` and its URL is under the c