Read, write and manage site files
site_filesWork with the files of a hosted site: list, read, write (one or many at once), delete. Text files (html, css, js, json, svg, xml, txt, md) are sent as utf8; images and fonts as base64. Limits: 200 files, 1.5 MB each, 25 MB per site. Changes are live immediately on published sites. Cost: 1 credit per call.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | For read, delete, or a single write | |
| files | No | For writing many files at once | |
| action | Yes | ||
| content | No | For a single write | |
| site_id | Yes | Site id from site_create or site_list | |
| encoding | No | utf8 |