Skip to main content

Nova API — /api/stages

The operations Nova tags public under /api/stages. Generated from reference-src/nova-openapi.json.

GET /api/stages/compare​

Operation id stages_compare: in Python client.call("stages_compare", …), on the command line stardelt api stages_compare.

This stage's deployed pipelines against a peer stage's, for the Deployments page. The peer is called with the caller's own token (GET {peer}/api/pipelines), so the answer is filtered by that person's rights there. status is ok, unauthorized (the peer refused the token — sign in there) or unreachable (no answer within 5 s). Nova neither compares Git ancestry nor deploys to the peer. Answers Cache-Control: no-store.

Parameters

NameInTypeRequiredDescription
peerquerystringYesThe peer stage's configured name

Responses

CodeDescription
200Both stages' deployed pipelines
400No peer parameter
401No signed-in caller, so there is no token to forward
404No stage with that name is configured
502This stage's cluster did not answer