Bumping Versions
Bumping versions can be easily done via API calls. Putting these calls as jobs inside your merge, test, and deploy pipelines is a great way to keep your Constellation up-to-date. To get a better understanding of how versions work, you can read more about them here.
Replace {{projectId}} with your project’s ID, {{nodeId}} with your node’s ID, and {{value}} with the version value
that you want to bump with. force=true is added to avoid conflicts. To find the project ID
and node ID, see this guide. To know what value you can use for your node, read more
here.
https://api.konstellat.io/api/v1/project/{{projectId}}/node/{{nodeId}}/version/{{value}}?force=trueQuery parameters
| Name | Type | Note |
|---|---|---|
projectId * | string | Project ID |
nodeId * | string | Node ID |
value * | string | Version values |
hash | string | Conflicts |
force | boolean | Conflicts |
Required permissions
-
GetProject -
UpdateConstellationNodeorUpdateConstellationNodeVersion
Example request body
"Update version for node 12345678"