create_app
Publish a static web app by submitting your HTML/CSS/JS files. Receive a generated name and live URL for immediate access.
Instructions
Publish a new static web app and return its generated name and URL.
files is a list of {"path": "index.html", "content": "<!doctype html>…"};
an index.html at the root is required.
The name is assigned by this server, not by you. It becomes a DNS label
in a zone that hosts real services, so it is generated here — you cannot
request one. Use description for the human-readable purpose; report the
returned name and URL back to the user verbatim.
The build is a static site served by nginx — HTML, CSS and client-side JS. There is no server-side runtime and no database.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| description | No | ||
| requested_by | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |