ht-ml.app API guide

ht-ml.app

Publish HTML pages with ht-ml.app, check their status and referenced assets, and restore earlier versions saved locally.

Actions and inputs

publish

Publish an HTML file, optionally uploading its referenced assets.

Inputs HTML file, optional asset upload

sites

Inspect a published site's status and referenced assets.

Inputs Site ID

update

Replace the HTML on a site you manage.

Inputs Site ID, replacement HTML file

rollback

Restore an earlier locally saved HTML version.

Inputs Site ID

Published pages

Create

Publish an HTML page and optionally upload its referenced assets.

Inputs HTML file, optional assets

Read

Check a published page’s status and referenced assets.

Inputs Page URL or site ID

Update

Replace the HTML on a page you manage or restore a locally saved version using its existing write authorization.

Inputs Site ID, replacement HTML or saved version

Delete

Replace a page you manage with a retirement notice. This does not delete the URL or its assets.

Inputs Site ID, retirement notice