BashBrainTeammatesPricingDevelopersGet a test key

Deployments

How your Bash is set up, in versions: apply a whole vestra.yaml, promote, roll back, and the interview that drafts the file.

Send Authorization: Bearer vk_test_... on every call. Every route of Deployments.

GET/v1/deployments/{deployment_id}/diffWhat changed between two versions (?from=&to=).

Your API key, scope setup or all. On the card: deploy. Over HTTP it is made from the contract: fill in each {…} and every value.

Request3 fields

Path

deployment_idstringrequiredThe deployment's id (dep_...). The /v1/deployments routes also take its name.
Type
string

Query

fromintegerrequiredThe version to compare from.
Type
integer
tointegerrequiredThe version to compare to.
Type
integer
Answers 2005 fields
object"deployment_diff"Always deployment_diff.
Type
"deployment_diff"
deployment_idstringThe deployment's id.
Example
dep_8f2k
fromintegerThe version compared from.
Type
integer
tointegerThe version compared to.
Type
integer
changesobject[]Each setting that differs; empty when the two run the same.
pathstringThe setting that changed, as a path such as limits.spend_per_task_usd.
Type
string
fromanyIts value in the version compared from; absent when it was not set.
Type
any
toanyIts value in the version compared to; absent when it is not set.
Type
any
HTTP

No sample in your language for this route, so here it is over HTTP.

curl "$VESTRA_BASE_URL/v1/deployments/{deployment_id}/diff?from=...&to=..." \  -H "Authorization: Bearer $VESTRA_API_KEY"