The files and folders in one folder of a hosting package. Paths are relative to the home directory of the hosting account: a website is in /domains/<domain>/public_html.A call returns at most limit entries (default 500, at most 1000), in the order the hosting server gives them. total is the number of entries in the folder: ask for the next part with offset while offset + limit is below total. To read a file, use Get file content.Not available for e-mail hosting packages.The folders that hold e-mail (/imap, /Maildir, /mail) are listed in the home directory, but cannot be opened, read or changed through the file endpoints (403), also not through a link that points into them. Reading files therefore gives no access to mail. The same goes for /.shadow, which holds the password of the hosting account.Scope: hosting-files:read.
Request
Authorization
API Key
Add parameter in header
API-key
Example:
API-key: ********************
or
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.