backup response models
Generated file — do not edit by hand. Regenerate from the repo root with
CGO_ENABLED=0 go run scripts/gen-response-models-md.go.
Part of the API response model reference, which explains the Response model and Origin columns. Route inventory: routes.md. Named payload structs: payload-shapes.md.
| Method | Path | Response model | Origin |
|---|---|---|---|
POST | /api/method/shc.backup.create | MethodResponse[BackupResult] | handler |
POST | /api/method/shc.backup.create_async | {message, operation_id, status} | handler |
POST | /api/method/shc.backup.detect_snapshot | MethodResponse[SnapshotCapability] | handler |
GET | /api/method/shc.backup.export/{backup_id} | application/x-shc-bak archive download (Content-Disposition attachment) | annotation |
POST | /api/method/shc.backup.group | MethodResponse[CreateGroupResult] | handler |
GET | /api/method/shc.backup.group_manifest/{consistency_id} | GroupManifest | handler |
POST | /api/method/shc.backup.import | MethodResponse[BackupInfo] | handler |
POST | /api/method/shc.backup.mount | MethodResponse[MountSubprocHandle] | handler |
GET | /api/method/shc.backup.mounts | MethodResponse[MountListResponse] | handler |
POST | /api/method/shc.backup.recover | MethodResponse[RecoverPlan] | handler |
POST | /api/method/shc.backup.recover_async | {message, operation_id, status} | handler |
POST | /api/method/shc.backup.restore | MethodResponse[RestoreResultLocal] | handler |
POST | /api/method/shc.backup.restore_async | {message, operation_id, status} | handler |
POST | /api/method/shc.backup.restore_from_file | map[string]any | handler |
POST | /api/method/shc.backup.restore_from_file_async | {message, operation_id, status} | handler |
POST | /api/method/shc.backup.restore_group/{consistency_id} | MethodResponse[GroupRestoreResult] | handler |
POST | /api/method/shc.backup.schedule.get | MethodResponse[BackupScheduleResponse] | handler |
GET | /api/method/shc.backup.schedule.list | MethodResponse[BackupScheduleListResponse] | handler |
POST | /api/method/shc.backup.schedule.list | MethodResponse[BackupScheduleListResponse] | handler |
POST | /api/method/shc.backup.schedule.set | MethodResponse[BackupScheduleResponse] | handler |
POST | /api/method/shc.backup.schedule.unset | MethodResponse[{ok}] | handler |
POST | /api/method/shc.backup.sync | MethodResponse[BackupSyncResponse] | handler |
POST | /api/method/shc.backup.umount | MethodResponse[MountSubprocHandle] | handler |
POST | /api/method/shc.backup.ungroup/{group_id} | no success body — always the 501 coded error X501400UNGFIL (endpoint intentionally unimplemented) | annotation |
POST | /api/method/shc.backup.verify/{backup_id} | MethodResponse[string] | handler |
GET | /api/method/shc.operation.state/{operation_id} | OperationState or State | handler |
GET | /api/method/shc.operation.stream/{operation_id} | SSE stream of operation progress events (see sse-streaming.md) | annotation |
POST | /api/method/shc.pod.mount | MethodResponse[VolumeMountHandle] | handler |
POST | /api/method/shc.stack.rollback | MethodResponse[RollbackResult] | handler |
POST | /api/method/shc.stack.rollback.list | MethodResponse[{backups}] | handler |
POST | /api/method/shc.volume.mount | MethodResponse[VolumeMountHandle] | handler |
GET | /api/method/shc.volume.mounts | MethodResponse[VolumeMountListResponse] | handler |
POST | /api/method/shc.volume.umount | MethodResponse[VolumeMountHandle] | handler |
GET | /api/resource/Backup | BackupListResponse | handler |
DELETE | /api/resource/Backup/{backup_id} | MethodResponse[string] | handler |
GET | /api/resource/Backup/{backup_id} | BackupInfo | handler |
GET | /api/resource/Backup/{backup_id}/manifest | BackupManifest | handler |
GET | /internal/backup/export/{backup_id} | application/x-shc-bak archive download (Content-Disposition attachment; peer mTLS bridge) | annotation |
shc@docs:~$