/api/review
5 routes under /api/review.
Cockpit server REST reference, v0.8.
All routes sit below the Cockpit server's session gate (app.use('/api', auth.requireSession)) except /api/health. Generated from the real route table in ui/server/src.
POST /api/review/analyze#
| Parameter | In | Type |
|---|---|---|
base |
body | — |
heads |
body | — |
head |
body | — |
plan |
body | — |
Source: ui/server/src/reviewApi.mjs.
GET /api/review/branches#
| Parameter | In | Type |
|---|---|---|
base |
query | — |
Source: ui/server/src/reviewApi.mjs.
POST /api/review/cancel#
cancel is the machine's own CANCEL on the process that analyses exactly this comparison. Refs are validated like every other route; nothing is cancelled that this comparison did not start.
| Parameter | In | Type |
|---|---|---|
base |
body | — |
head |
body | — |
plan |
body | — |
Source: ui/server/src/reviewApi.mjs.
GET /api/review/change#
| Parameter | In | Type |
|---|---|---|
base |
query | — |
head |
query | — |
plan |
query | — |
Source: ui/server/src/reviewApi.mjs.
GET /api/review/plans#
Source: ui/server/src/reviewApi.mjs.