Hoody Files is a flat, path-addressed file service that exposes common filesystem operations over HTTP. Every operation targets an absolute filesystem path under /api/v1/files, with the verb (HTTP method) describing the action rather than a named URL segment. This page walks through the core operation groups so you can pick the right endpoint for the task at hand.
The path you want to read, write, list, or modify is encoded directly in the URL after /api/v1/files. The HTTP method selects the action:
GET /api/v1/files/{path} — read a file or list a directory
PUT /api/v1/files/{path} — create or fully replace a file
PATCH /api/v1/files/{path} — partial update of a file
DELETE /api/v1/files/{path} — delete a file or directory
For example, to read /home/user/notes.txt, send GET /api/v1/files/home/user/notes.txt. There is no /read/ or /list/ segment in the URL — the method and path alone identify the operation.
A smaller set of endpoints use an explicit operation segment for actions that don’t map to a standard CRUD verb:
The rest of the Hoody Files reference is organized around four groups, each covered in detail on its own page.
Reading Files
Reading file contents, listing directories, resolving paths, and retrieving metadata. Covers GET /api/v1/files/{path} for both files and directories, plus stat and realpath.
Read the Reading Files guide for parameters, response shapes, and examples.
File Operations
Creating, updating, appending, copying, moving, and deleting files and directories. Also covers permission and ownership changes via chmod and chown.
Read the File Operations guide for the full request and response details.
Searching Files
Pattern matching with glob and content search with grep. Both are scoped to a directory path you provide.
Read the Searching Files guide for pattern syntax and result formatting.
Error Handling
Standard error responses, status codes, and recovery guidance for the Hoody Files service.
Read the Error Handling guide for the complete reference.