Apps and sources
Preview

Get an app

GET
/apps/{appId}
cookiebetter-auth.session_token<token>

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

appId*string
Formatuuid

Response Body

The app.

application/json
  1. response
id*string
Formatuuid
name*string
description*string
sourceId*string
Formatuuid
sourceName*string
sourceKind*SourceKind
Value in"git""oci"
renderType*RenderType
Value in"helm""kustomize""plain"
defaultValues*

Settings for the render, as plain data.

services*array<>
owners*array<string>

User ids of the app's owners, oldest first.

teamId?string

The team that owns the app, or null for none. Members of the team read the app and its deployments (ADR 0003); an app with no team is reached only through grants and ownership.

deploymentCount*integer

Deployments that hold the app. A caller who reads the app reads each of them.

createdAt*string
Formatdate-time
updatedAt*string
Formatdate-time
Example Request
curl -X GET 'https://wardn.example.com/api/v1/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "description": "string",  "sourceId": "797f5a94-3689-4ac8-82fd-d749511ea2b2",  "sourceName": "string",  "sourceKind": "git",  "renderType": "helm",  "defaultValues": {},  "services": [    {      "name": "string",      "port": 1,      "protocol": "http"    }  ],  "owners": [    "string"  ],  "teamId": "string",  "deploymentCount": 0,  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}