https://studio.molfex.app/api/v1
Walkthrough
Content-Type must match data.contentType.
Replace files on an existing project:
sizeBytes is required when replacing files. It must be a positive integer.
Responses
Success:Slug
Lowercase letters, numbers, and hyphens. Must start and end with a letter or number. Max 63 characters. Taken slug →"That link name is already taken"
Your site is https://{slug}.molfex.app. The url field in JSON is the hostname only (example: my-site.molfex.app).
Password
siteSettings is optional. Omit it for a public site.
passwordProtected is true, password is required (4–200 characters).
File kinds and size caps
fileName decides the kind and the Content-Type you send on the PUT.
Rejected
fileName → "Choose a zip, site, or file to host"
Over the cap → "That file is too large"
fileName max 255 characters.
A zip may hold up to 2000 files and 1 GB uncompressed.
Project status
Publish while
processing → 202 { "status": "processing" }
Publish while paused → 400 "This project cannot be published"
Publish before upload → 400 "Upload the file before publishing"
You can republish an active project after a new upload.
