| title | No | Human-readable title for the bucket or website publication. | |
| password | No | Password mode only: exact password/PIN supplied by the user. Omit it to auto-generate one. | |
| bucket_id | Yes | Revdoku bucket id returned by bucket_list or bucket_get, for example bkt_... | |
| site_mode | No | Omit on republish to keep the current routing mode; first publish defaults to static. Use spa when deep links should fall back to the resolved entrypoint. | |
| site_type | No | Deprecated compatibility alias for site_mode. | |
| access_mode | No | Omit on republish to keep the current protected access mode; first publish defaults to password. | |
| description | No | Optional bucket description shown after the title on the access screen. | |
| tracking_enabled | No | Convenience toggle that sets both analytics_enabled and client_events_enabled when the specific fields are omitted. | |
| analytics_enabled | No | Enable or disable website analytics recording for this publication. | |
| access_info_fields | No | Visitor information fields to request on the protected website access form. | |
| regenerate_password | No | Password mode only: rotate the password when the user explicitly asks. | |
| client_events_enabled | No | Enable or disable browser-side Revdoku event tracking for this publication. | |
| access_comment_required | No | Protected sites only: require a configured comment field (defaults to optional). | |
| access_comment_placeholder | No | Protected sites only: custom placeholder for the visitor comment box. | |
| publication_root_directory | No | Optional: publish ONLY this top-level folder as the website root. Every other file/folder stays stored and version-tracked but is NOT served. Persists on the bucket; pass an empty string to publish the whole bucket again. The folder's index.html/index.htm wins; if its served source set is exactly one top-level HTML file, that file becomes the home page automatically. Other missing-index source sets get a navigation Auto-Index Page with direct HTML links and file previews, rendering README.md/README.txt below the listing. Custom entry filenames are not user-selectable. | |