/api/clone
5 routes under /api/clone.
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.
GET /api/clone#
Source: ui/server/src/cloneApi.mjs.
POST /api/clone#
| Parameter | In | Type |
|---|---|---|
token |
body | — |
Source: ui/server/src/cloneApi.mjs.
GET /api/clone/:id#
| Parameter | In | Type |
|---|---|---|
id |
path | — |
Source: ui/server/src/cloneApi.mjs.
POST /api/clone/:id/cancel#
| Parameter | In | Type |
|---|---|---|
id |
path | — |
Source: ui/server/src/cloneApi.mjs.
POST /api/clone/pull#
"Pull latest" for a clone this Cockpit made. Registered before the /:id routes.
| Parameter | In | Type |
|---|---|---|
token |
body | — |
Source: ui/server/src/cloneApi.mjs.