Deployments
Preview

Compare 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
/deployments/{deploymentId}/template/changes
cookiebetter-auth.session_token<token>

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

deploymentId*string
Formatuuid
version?integer
Range1 <= value

Response Body

The differences.

application/json
  1. response
items*array<>
Example Request
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"    }  ]}