Deployments
Preview

Compare two versions of a template

What changes from one version to the other.

GET
/deployment-templates/{templateId}/diff
cookiebetter-auth.session_token<token>

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

templateId*string
Formatuuid
from*integer
Range1 <= value
to*integer
Range1 <= value

Response Body

The differences.

application/json
  1. response
items*array<>
Example Request
curl -X GET 'https://wardn.example.com/api/v1/deployment-templates/497f6eca-6276-4993-bfeb-53cbbbba6f08/diff?from=1&to=1'
Example Response
{  "items": [    {      "section": "apps",      "kind": "added",      "subject": "string",      "subjectName": "string",      "field": "string",      "from": "string",      "to": "string"    }  ]}