Expand description
Tiny response shapes ({ "created": true }, { "id": "..." }) so
the OpenAPI spec carries real types instead of serde_json::Value.
Lightweight response shapes for handlers that return ad-hoc JSON
maps such as { "created": true } or { "id": "..." }.
Defined here so the OpenAPI spec carries a real type instead of
the catch-all serde_json::Value. Each struct matches the literal
JSON the handler emits today via serde_json::json!({ ... }).
Structs§
- AddNode
Response - Response for
POST /api/v1/nodes— echoes the registered xname. - Completed
Response - Response for endpoints that simply confirm a backup / restore /
long-running migrate operation finished. Emitted by
POST /api/v1/migrate/backupandPOST /api/v1/migrate/restore. - Create
Session Response - Response for
POST /api/v1/sessions— names of the created CFS session and its underlying configuration. - Created
Response - Response for endpoints that simply confirm a write happened.
- Ephemeral
EnvResponse - Response for
POST /api/v1/ephemeral-env— the freshly provisioned ephemeral host. - Migrate
Nodes Pair Result - One migration pair’s result; mirrors
manta_server::service::migrate::NodeMigrationResulton the wire. Embedded insideMigrateNodesResponsewithout importing the server-side type into the shared crate. - Migrate
Nodes Response - Response for
POST /api/v1/migrate/nodes— moved xnames plus a per-(target,parent) result list. Dry-run uses the same shape so the CLI consumes one type regardless of mode.