Create upload session
create_upload_sessionOpen a direct upload session (a presigned URL per file): a SPACE CLI step; without a terminal do not open one. Which upload route: terminal ⇒ SPACE CLI (create_cli_token first); no terminal and text files up to 2 MB in total ⇒ publish_file; anything else or unsure ⇒ create_upload_link. It is not a separate upload route: you cannot PUT to its URLs, so the version stays stuck in uploading. Create a version and receive a presigned PUT URL for each file, valid for 15 minutes. Provide each relative path, byte size and SHA-256. Upload bytes to those URLs, then finalize_upload. PPTX files are converted to page images; unavailable fonts may be substituted. Quota errors include recovery guidance. Keywords: publish · web page · webpage · link · share · share to WeChat · WeChat link · html · pdf · markdown · upload · LivePage · proposal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | What changed this time: one line for subscribers and teammates, 20 characters or fewer, for example “Revised pricing after client feedback”. It appears in the update reminder; without it the reminder only says the version number, and the platform will not make one up. | |
| files | Yes | ||
| proposal_id | Yes |