Apps and sources
Preview

Inspect a repository folder before asking for an app

The same look as inspecting a source, for someone who asks for apps instead of creating them. Creates nothing.

POST
/app-requests/inspect
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

application/json
  1. body
url*string

The git URL, as a source takes it.

Length1 <= length <= 2048
path?string
Lengthlength <= 512
Default""
ref?string

The branch or tag to read. Empty reads the main branch.

Lengthlength <= 256
Default""
credentialsRef?string
Lengthlength <= 256
Default""

Response Body

What the folder holds.

application/json
  1. response
found*boolean

False when the folder holds no chart, kustomization or manifests.

renderType?RenderType
Value in"helm""kustomize""plain"
reason*string

One short sentence naming the file that decided it, or what was not found.

ref?string

The branch or ref that was read.

Example Request
curl -X POST 'https://wardn.example.com/api/v1/app-requests/inspect' \  -H 'Content-Type: application/json' \  -d '{  "url": "string"}'
Example Response
{  "found": true,  "renderType": "helm",  "reason": "string",  "ref": "string"}