Deployments
PreviewGet the template a deployment came from
Which template and version the deployment came from and the latest version. A deployment made blank is not linked.
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringFormat
uuidWhere the deployment stands against its template.
application/json- response
linked*booleanFalse for a deployment made blank.
templateId?stringFormat
uuidname?stringversion?integerlatestVersion?integerZero once the template was deleted.
updateAvailable*booleancurl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/template'Example Response
{ "linked": true, "templateId": "196100ac-4eec-4fb6-a7f7-86c8b584771d", "name": "string", "version": 0, "latestVersion": 0, "updateAvailable": true}Save a deployment as a template POST
Makes a template from the deployment's apps, how it gets snapshots, the services it uses and where it runs, and records it as the deployment's origin.
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.