Skip to content

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 PATCH
https://api.konstellat.io/api/v1/project/{{projectId}}/node/{{nodeId}}/version/{{value}}?force=true
Query parameters
Name Type Note
projectId  * string Project ID
nodeId  * string Node ID
value  * string Version values
hash string Conflicts
force boolean Conflicts
* Required
Required permissions
  • GetProject
  • UpdateConstellationNode  or UpdateConstellationNodeVersion
Example request body
JSON
"Update version for node 12345678"