backupmountrouter 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.mount.create | MountSession | handler |
GET | /api/method/shc.mount.list | MountListResponse | handler |
POST | /api/method/shc.mount.ping/{session_id} | {ok} | handler |
GET | /api/method/shc.mount.subscribe/{session_id} | SSE keepalive/status stream for a mount session | annotation |
DELETE | /api/method/shc.mount.{session_id} | {ok} | handler |
GET | /api/method/shc.mount.{session_id}/changes | {changes} | handler |
POST | /api/method/shc.mount.{session_id}/chmod | {ok} | handler |
POST | /api/method/shc.mount.{session_id}/commit | {backup_id} | handler |
POST | /api/method/shc.mount.{session_id}/create | {ok} | handler |
POST | /api/method/shc.mount.{session_id}/discard | {ok} | handler |
POST | /api/method/shc.mount.{session_id}/mkdir | {ok} | handler |
GET | /api/method/shc.mount.{session_id}/read | application/octet-stream file bytes | annotation |
GET | /api/method/shc.mount.{session_id}/readdir | {entries} | handler |
POST | /api/method/shc.mount.{session_id}/rename | {ok} | handler |
DELETE | /api/method/shc.mount.{session_id}/rmdir | {ok} | handler |
GET | /api/method/shc.mount.{session_id}/stat | FileStat | handler |
POST | /api/method/shc.mount.{session_id}/symlink | {ok} | handler |
DELETE | /api/method/shc.mount.{session_id}/unlink | {ok} | handler |
PUT | /api/method/shc.mount.{session_id}/write | {bytes_written} | handler |
shc@docs:~$