Apps and sources
PreviewInspect a repository folder before making a source of it
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,
POST
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
application/json- body
url*stringThe git URL, as a source takes it.
Length
1 <= length <= 2048path?stringLength
length <= 512Default
""ref?stringThe branch or tag to read. Empty reads the main branch.
Length
length <= 256Default
""credentialsRef?stringLength
length <= 256Default
""What the folder holds.
application/json- response
found*booleanFalse when the folder holds no chart, kustomization or manifests.
renderType?RenderTypeValue in
"helm""kustomize""plain"reason*stringOne short sentence naming the file that decided it, or what was not found.
ref?stringThe branch or ref that was read.
curl -X POST 'https://wardn.example.com/api/v1/sources/inspect' \ -H 'Content-Type: application/json' \ -d '{ "url": "string"}'Example Response
{ "found": true, "renderType": "helm", "reason": "string", "ref": "string"}