Platform

Analyze project configuration before deploy

Read scope. Pure analysis of supplied UTF-8 text, up to 32768 bytes per file. Send package_json, requirements_txt with start_command, composer_json with php_document_root, and/or dockerfile, never credentials or .env. Returns advisory framework/command hints and explicit final-stage TCP ports. Does not fetch Git, execute code, create resources or generate a Dockerfile. analysis_id fingerprints metadata; it is not a saved or executable plan. php_composer_recipe reports not_assessed without composer_json, blocked for unsupported configuration, and needs_verification otherwise. PHP options carry php_document_root and default port 8080; the lockfile, public directory, dependency distributions and runtime remain unverified. python_pip_recipe reports not_assessed without requirements, blocked for unsupported flat requirements or a missing command, and needs_verification otherwise. Python options carry start_command and default port 8000; source, dependency resolution and runtime remain unverified. node_npm_recipe contains strategy=node_npm, status (not_assessed, blocked, or needs_verification), blockers and unverified check names. Workspace declarations, an incompatible packageManager and missing start scripts block the recipe suggestion. No detected blocker does not prove build readiness; lockfile, Node engines, runtime and build requirements remain unverified. Findings carry the same guidance for portal and MCP users. deployment_options contains parameter subsets for the custom-deploy call, each with requires_review=true and port_basis (dockerfile_expose, recipe_default or unconfirmed). Node uses its recipe default port 3000; Dockerfile options omit target_port when no unique port is declared. These are incomplete suggestions, not executable plans: source and server selection, credentials and remaining requirements must be reviewed.

post/platform/deployments/custom/prepare

Request

  • Base URL: https://api.imprezahost.com/v1
  • URL: https://api.imprezahost.com/v1/platform/deployments/custom/prepare
  • Auth: API key in header X-API-Key and API key in header X-API-Secret

Request body

package_jsonstring
composer_jsonstring
php_document_rootstring
pyproject_tomlstring

uv metadata; source also requires uv.lock.

requirements_txtstring
start_commandstring
dockerfilestring
dockerfile_pathstring

Response

Analysis with status needs_review, framework, commands, findings, declared ports and optional suggested_target_port

Changes

No recorded changes to this operation across all 1 revision of this API.