Upload many files (images, fonts, a build)
upload_filesUse for images, fonts and other binary files, many files at once, or a whole build (Vite/Astro/Next export): send files (text, base64 or a link), or no files to get an upload link you POST a .zip of the build to with curl. note is required: what you changed and why.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | REQUIRED. 1–2 plain sentences: what you changed and why, e.g. "Rebuilt the menu page, added lunch prices, moved contact to the footer." The owner sees it in Ginta's editor; Ginta's own AI reads it. | |
| files | No | Files to add or replace. Omit to get an upload link for a .zip. | |
| delete | No | Paths to delete. | |
| site_id | Yes | The site id: the first part of the site URL, e.g. "bella-roma" for https://bella-roma.ginta.page (see list_sites). | |
| replace_all | No | The upload becomes the whole site: files not in it are deleted (for a fresh build). Default false (merge). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The site's address (after an upload). | |
| mode | No | ||
| check | No | Ginta's visitor check of the site: forms, parts, links. | |
| changed | No | Files changed. | |
| command | No | Without files: the command that uploads the build. | |
| deleted | No | Files deleted. | |
| notices | No | Sentences to tell the owner word for word. | |
| version | No | The new live version (after an upload). | |
| warnings | No | Things to look at. | |
| expires_at | No | ||
| max_zip_mb | No | ||
| upload_url | No | Without files: where to POST the .zip. |