List NodeJS builds
Changed onRetrieve a paginated list of Node.js build processes for a specific website.
Each build represents a single run of the Node.js build pipeline. Use the states query parameter to filter results by build state (pending, running, completed, failed). Use the uuid from a build to poll its output via the Get Node.js Build Logs endpoint.
Request
- Base URL: https://developers.hostinger.com
- URL: https://developers.hostinger.com/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds
- Auth: HTTP bearer
Path parameters
Domain name
Query parameters
Page number
Number of items per page
Build states to filter by
Response
Success response
Example response
{
"data": [
{
"uuid": "69f07fe2-197a-4fb3-9dae-606f965ad13d",
"state": "pending",
"options": {
"node_version": 24,
"app_type": "vite",
"root_directory": "src",
"output_directory": "dist",
"build_script": "build",
"entry_file": "server.js",
"package_manager": "npm",
"source_type": "archive",
"source_options": {
"archive_path": "archive.zip",
"owner": "octocat",
"repository": "my-site",
"branch": "main",
"installation_uuid": "018f5e2a-1234-7890-abcd-1234567890ab",
"commit": {
"hash": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0",
"message": "Initial commit",
"author": {
"name": "Jane Doe",
"avatar_url": "https://avatars.githubusercontent.com/u/583231"
}
}
}
},
"created_at": "2024-05-29T05:49:49.067239Z",
"updated_at": "2024-05-29T05:49:49.067239Z"
}
],
"meta": {
"current_page": 1,
"per_page": 15,
"total": 100
}
}Changes
- warning
added the new
gitenum value to the///////response property for the response status - info
added the required property
////////////to the response with the status - info
added the required property
////////////to the response with the status - info
added the required property
////////////to the response with the status - info
added the required property
////////////to the response with the status - info
added the required property
////////////to the response with the status
- warning
- warning
added the new
astroenum value to the///////response property for the response status - warning
added the new
expressenum value to the///////response property for the response status - warning
added the new
fastifyenum value to the///////response property for the response status - warning
added the new
gatsbyenum value to the///////response property for the response status - warning
added the new
honoenum value to the///////response property for the response status - warning
added the new
nestenum value to the///////response property for the response status - warning
added the new
nextenum value to the///////response property for the response status - warning
added the new
nitroenum value to the///////response property for the response status - warning
added the new
nuxtenum value to the///////response property for the response status - warning
added the new
otherenum value to the///////response property for the response status - warning
added the new
react-routerenum value to the///////response property for the response status - warning
added the new
svelteenum value to the///////response property for the response status - warning
added the new
svelte-kitenum value to the///////response property for the response status
- warning