hosting_getNode_jsBuildSettingsFromArchiveV1
Auto-detect Node.js build settings from package.json in an archive on the server to preview or override build configurations (framework, Node version, root, output, script) before starting a build.
Instructions
Auto-detect Node.js build settings from a package.json inside an archive already on the server.
Use this before calling Start Node.js Build to preview what settings will be used,
or to let the user review and override values (framework, node version, root directory,
output directory, build script) before committing to a build.
The archive must already be present on the website's file storage. Use the
Generate Upload URL endpoint to obtain credentials and upload the archive first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name | |
| username | Yes | username parameter | |
| archive_path | Yes | The path to the archive file relative to the document root of the vhost |