online_html
Republish an offline HTML page to its original siteId path, reading the specified local file without snapshot. Use when cloud page doesn't exist or a previous publish timed out, content verified.
Instructions
将已登记的离线页面重新公开上线,读取本次用户指定的 HTML 并恢复原 siteId 路径,不写快照。云端须不存在;已在线时使用 publish_html。此前上线超时但已写入相同内容可验证完成。要求启用本地目录。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | 页面 ID;与其他目标选择器只能提供一个。 | |
| siteUrl | No | 当前环境静态托管页面 HTTPS URL;与其他目标选择器只能提供一个,允许片段,不允许查询参数。 | |
| localPath | Yes | 本次用户明确指定的 .html/.htm 绝对路径,UTF-8、非空、最多 5 MiB;不静默选用旧文件。siteId、siteUrl 二选一另行提供。 |