Updating Statuses
Updating statuses 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 statuses work, you can read more about them here.
Replace {{projectId}} with your project’s ID, {{nodeId}} with your node’s ID, and {{result}} with the status
result that you want to update to. force=true is added to avoid conflicts. To find the
project ID and node ID, see this guide.
https://api.konstellat.io/api/v1/project/{{projectId}}/node/{{nodeId}}/status/{{result}}?force=trueQuery parameters
| Name | Type | Note |
|---|---|---|
projectId * | string | Project ID |
nodeId * | string | Node ID |
result * | string | Status results |
hash | string | Conflicts |
force | boolean | Conflicts |
Required permissions
-
GetProject -
UpdateConstellationNodeorUpdateConstellationNodeStatus
Example request body
"Update status for node 12345678"