You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Project archive file (.zip, .tar.gz, or .tgz), maximum 50MB
node_version
int
Node.js version override (auto-detected from package.json if omitted)
[optional]
app_type
str
Node.js application type override
[optional]
root_directory
str
Application root directory override (where package.json is located) relative to public_html
[optional]
output_directory
str
Build output directory override relative to the root directory
[optional]
build_script
str
Build script override
[optional]
entry_file
str
Main entry point file override
[optional]
package_manager
str
Package manager override
[optional]
Example
fromhostinger_api.models.hosting_v1_node_js_create_from_archive_requestimportHostingV1NodeJsCreateFromArchiveRequest# TODO update the JSON string belowjson="{}"# create an instance of HostingV1NodeJsCreateFromArchiveRequest from a JSON stringhosting_v1_node_js_create_from_archive_request_instance=HostingV1NodeJsCreateFromArchiveRequest.from_json(json)
# print the JSON string representation of the objectprint(HostingV1NodeJsCreateFromArchiveRequest.to_json())
# convert the object into a dicthosting_v1_node_js_create_from_archive_request_dict=hosting_v1_node_js_create_from_archive_request_instance.to_dict()
# create an instance of HostingV1NodeJsCreateFromArchiveRequest from a dicthosting_v1_node_js_create_from_archive_request_from_dict=HostingV1NodeJsCreateFromArchiveRequest.from_dict(hosting_v1_node_js_create_from_archive_request_dict)