multipart/form-data.title and at least one file via files..zip, the system automatically determines how to handle it:zipIndexHtmlPath to specify the homepagezipIndexHtmlPath is missing or invalid when multiple HTML files are found, the request will fail and return the list of detected HTML files.asFileBundle: true to skip detection entirely and always treat the upload as a file bundle.curl --location --request POST 'https://connect.litehost.io/v1/projects' \
--header 'Authorization: Bearer <token>' \
--form 'title="My Project"' \
--form 'slug="my-project"' \
--form 'domainId=""' \
--form 'workspaceId=""' \
--form 'access="public"' \
--form 'password=""' \
--form 'expiresIn=""' \
--form 'files=""' \
--form 'zipIndexHtmlPath=""' \
--form 'asFileBundle=""'{
"status": "success",
"data": {
"projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
"url": "http://example.com",
"title": "string",
"type": "string",
"slug": "string",
"expiresAt": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z",
"quota": {
"projects": {
"used": 4,
"limit": 10,
"unlimited": false
},
"storage": {
"usedBytes": 10485760,
"limitBytes": 2147483648,
"unlimited": false
}
}
}
}