Deployments
PreviewCompare a deployment with a version of its template
What updating the deployment to a version of its template would change in it. Leave the version out for the latest.
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringFormat
uuidversion?integerRange
1 <= valueThe differences.
application/json- response
items*array<>curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/template/changes'Example Response
{ "items": [ { "section": "apps", "kind": "added", "subject": "string", "subjectName": "string", "field": "string", "from": "string", "to": "string" } ]}Record the template a deployment came from PUT
Says that the deployment was started from a version of a template. It changes nothing in the deployment.
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.