Posty5 HTML Hosting

Host and manage HTML pages with Posty5. v1 is legacy: update and delete overwrite (last write wins)

Update from File

AI-generated

Summary

Update an existing hosted HTML page on Posty5 by uploading a new HTML file version and optionally setting page metadata.

Inputs

  • Page Name (required) — A friendly name for the HTML page to update.
  • HTML Hosting ID (required) — The unique identifier of the existing HTML hosting page to update.
  • HTML File (required) — The binary property name that contains the new HTML file (e.g., 'data').
  • File Name (required) — The filename for the HTML file (e.g., 'index.html').
  • Custom Slug — Optional custom slug for branded URLs (e.g., 'my-page').
  • Additional Fields — Optional metadata fields such as Tag for organization or Reference ID for external use.
  • Version (required) — The version number (__v) of the hosted HTML page as read previously (from a Get operation output). Used to prevent conflicts during update.
  • Version Options — Settings determining behavior when Version is unknown or empty (fail or use latest, applying last-write-wins).

Output shape

a single record representing the updated HTML hosting page details, including the updated version number __v

If the update includes a new file, the HTML file is uploaded via a pre-signed URL after the metadata update. If the version has changed on the server since last read, the node throws a conflict error unless configured to overwrite using the latest version.

Examples

Example 1: Update an existing HTML page with new content from a binary file named 'data', specifying the page name, file name as 'index.html', and the current version from a previous Get step to ensure concurrency.

Set 'HTML Hosting ID' to the target page's ID, 'Page Name' to the page's friendly name, 'HTML File' to the binary property holding the new HTML file, 'File Name' to 'index.html', and 'Version' to the __v value from the Get step output.

Links

Discussion