Apps and sources
PreviewList requests for apps
The requests for the teams the caller may decide for (all of them for an Owner or Admin) and the caller's own, newest first. At most the newest 200 are listed.
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
state?stringValue in
"pending""approved""declined"The requests.
application/json- response
items*array<>curl -X GET 'https://wardn.example.com/api/v1/app-requests'Example Response
{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "teamId": "string", "teamName": "string", "repositoryUrl": "string", "branch": "string", "path": "string", "renderType": "helm", "renderDetected": true, "requestedBy": "string", "requestedByName": "string", "requestedAt": "2019-08-24T14:15:22Z", "checks": [ { "key": "repository", "label": "string", "detail": "string", "passed": true } ], "state": "pending", "canDecide": true, "decidedBy": "string", "decidedByName": "string", "decidedAt": "2019-08-24T14:15:22Z", "decisionReason": "string", "appId": "28c365d5-df94-4a54-8217-3ce51d068868" } ]}Create an app POST
The caller becomes the app's owner.
Ask for a new app POST
For someone who may not create apps across the organization but belongs to a team. The checks (repository reachable, renderer detected, name free, team exists) run now and are kept with the request. An admin of the team, or an organization Owner or Admin, is told and approves it, which creates the a