Record the template a deployment came from
Says that the deployment was started from a version of a template. It changes nothing in the deployment.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringuuidIdempotency-Key?stringMakes retries safe. A repeated key with the same request returns the first result and sets
Idempotent-Replayed: true. The same key with a different request answers 409
idempotency.key_reused, and while the first request is still running 409
idempotency.in_progress. Results are kept for 24 hours. Server errors and refusals for lack
of sign-in or permission are not kept, so a retry runs again.
^[A-Za-z0-9_.:-]+$1 <= length <= 255application/json- body
templateId*stringuuidversion*integer1 <= valueWhere the deployment stands against its template.
application/json- response
linked*booleanFalse for a deployment made blank.
templateId?stringuuidname?stringversion?integerlatestVersion?integerZero once the template was deleted.
updateAvailable*booleancurl -X PUT 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/template' \ -H 'Content-Type: application/json' \ -d '{ "templateId": "196100ac-4eec-4fb6-a7f7-86c8b584771d", "version": 1}'{ "linked": true, "templateId": "196100ac-4eec-4fb6-a7f7-86c8b584771d", "name": "string", "version": 0, "latestVersion": 0, "updateAvailable": true}Get the template a deployment came from GET
Which template and version the deployment came from and the latest version. A deployment made blank is not linked.
Compare a deployment with a version of its template GET
What updating the deployment to a version of its template would change in it. Leave the version out for the latest.