Apps and sources
PreviewGet whether an app can get a deployment for a pull request
Whether the app can be reached on an address, and the port of its Service and the path it takes traffic on. The address itself comes from the cluster a deployment of the app is on.
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
appId*stringFormat
uuidThe app's settings.
application/json- response
enabled*booleanWhether the app can get a deployment for a pull request, and so an address on its cluster.
port*integerThe port of the app's Service the Ingress sends to. 0 picks the port named http, else the first.
path*stringThe path the app takes traffic on.
curl -X GET 'https://wardn.example.com/api/v1/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/previews'Example Response
{ "enabled": true, "port": 0, "path": "string"}