Deployments
PreviewGet how a deployment uses services
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringFormat
uuidThe services.
application/json- response
items*array<>curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/services'Example Response
{ "items": [ { "serviceId": "8f8bb40f-b96b-40fe-9064-5031fbe483f9", "mode": "shared" } ]}Update a deployment to a version of its template POST
Applies the difference between the version the deployment came from and the one asked for: apps added, removed or following something else, services and settings. A deployment is never updated silently; compare first.
Set how a deployment uses services PUT
Shared uses the instance that runs in the service's environment: the connection Secret is copied into the deployment's namespace and an ExternalName Service points at the instance. An own copy adds the service's app to the deployment, so it is removed with it. A shared service must run in the enviro