HaoyouBox Publish
v1.0.0Publish local HTML or Markdown as expiring password-protected HaoyouBox links.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
publish_file Publish file to HaoyouBox
Publish one explicit local HTML or Markdown file as an expiring password-protected HaoyouBox link.
| Parameter | Type | Description |
|---|---|---|
path * | string | Explicit path to one local HTML or Markdown file |
expiryHours | integer | Share duration in hours; the service returns the actual expiry |
locale | string | Receiver interface language; inferred locally when omitted |
password | string | Optional local share password; generated locally when omitted |