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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
peer | query | string | Yes | The peer stage's configured name |
Responses
| Code | Description |
|---|---|
200 | Both stages' deployed pipelines |
400 | No peer parameter |
401 | No signed-in caller, so there is no token to forward |
404 | No stage with that name is configured |
502 | This stage's cluster did not answer |