Get Node.js build settings from archive
hosting_getNode_jsBuildSettingsFromArchiveV1Read the package.json from an uploaded archive to detect and preview Node.js build settings 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 |