hosting_getWebsiteFileContentV1
Retrieve a website file's content from its document root. This read-only endpoint blocks symlinks, oversized files, non-text types, and credential files for safe access.
Instructions
Get a single file's content, relative to a website's document root.
Read-only; refuses symlinks, oversized files, non-text file types, and files identified as containing secrets (e.g. credential files) — none of these are returned by this endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path, relative to the document root. | |
| domain | Yes | Domain name | |
| username | Yes | username parameter | |
| from_line | No | Line offset to start reading from. | |
| max_lines | No | Max number of lines to return. |