Apps and sources
PreviewGet a source
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
sourceId*stringFormat
uuidThe source.
application/json- response
id*stringFormat
uuidname*stringkind*SourceKindValue in
"git""oci"url*stringThe repository URL, or the OCI reference.
path*stringThe directory inside the repository that holds the manifests. Empty for the root, and for OCI.
credentialsRef*stringThe name of the secret in the secret store that holds the credentials. Empty for none.
createdAt*stringFormat
date-timeupdatedAt*stringFormat
date-timecurl -X GET 'https://wardn.example.com/api/v1/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "kind": "git", "url": "string", "path": "string", "credentialsRef": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Inspect a repository folder before making a source of it POST
Looks at the folder a git source would point at, on the given ref (the main branch when empty), and says how its manifests are best rendered: a Chart.yaml is Helm, a kustomization is Kustomize, other YAML is plain manifests. It reads one commit shallowly through the git provider, like a render does,
Delete a source DELETE
A source that an app still uses cannot be deleted.