Put a page at a path on your workspace address
set_page_pathPut any page or folder at a name on the workspace’s own address: path="/autumn-plan" is https://.hy.24haowan.com/autumn-plan, path="/" is the workspace home page. Pass proposal_id or folder_id; remove=true deletes the path; omit path to list the current paths. Works out of the box: no domain to bind and no DNS records (that is bind_domain / set_domain_route, for the user’s own domain). Setting an existing name again points it at the new page, so an address already sent out now opens the new page. The page always shows its current version; whether readers can see it is decided by the page’s own visibility (set_visibility). Once set, this page’s link (url in list_proposals, the share card, copy link) is this tidy address. Names are 1–64 lowercase letters, digits and hyphens. Change the part with set_workspace_slug.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path: / or / plus a name, such as /autumn-plan; omit to only list the current paths | |
| remove | No | true = delete this path (do not pass proposal_id / folder_id) | |
| folder_id | No | Open this folder (pass this or proposal_id) | |
| proposal_id | No | Open this page (pass this or folder_id) |