Deploy a V2 script bot with optional script configuration. This endpoint creates and starts a Hummingbot instance running the specified script.
Args: deployment: V2ScriptDeployment configuration containing instance name, credentials, optional script name and configuration docker_manager: Docker service dependency db_manager: Database manager dependency
Returns: Dictionary with deployment response including instance details
Raises: HTTPException: 500 if deployment fails
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Configuration for deploying a bot with a script
Unique name for the bot instance
Name of the credentials profile to use
Docker image for the Hummingbot instance
Script name to run (without .py extension)
Script configuration file name (without .yml extension)
Run in headless mode (no UI)
Successful Response