Deployments
PreviewList a template's versions
Every version, newest first, each with what it changed.
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
templateId*stringFormat
uuidThe versions.
application/json- response
items*array<>curl -X GET 'https://wardn.example.com/api/v1/deployment-templates/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions'Example Response
{ "items": [ { "version": 0, "content": { "apps": [ { "appId": "28c365d5-df94-4a54-8217-3ce51d068868", "follow": { "kind": "branch", "ref": "string" }, "valuesFiles": [ "string" ] } ], "services": [ { "serviceId": "8f8bb40f-b96b-40fe-9064-5031fbe483f9", "mode": "shared" } ], "settings": { "arrival": "branch", "healthWatchSeconds": 0 }, "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563", "clusterId": "a3d24843-7014-4490-bdd3-b7cb39b400c8", "namePattern": "string", "pullRequests": { "status": true, "button": true, "comment": true, "graceMinutes": 0 } }, "summary": "string", "createdByName": "string", "createdAt": "2019-08-24T14:15:22Z" } ]}Save a new version of a template PUT
Editing a template saves a new version. A version never changes after it is saved. Deployments made from the template keep the version they came from until someone updates them. Leave the summary out to have it worked out from what changed.
Compare two versions of a template GET
What changes from one version to the other.