hostinger-api-mcp 1.5.1 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +127 -2
- package/gemini-extension.json +1 -1
- package/package.json +3 -2
- package/server.json +2 -2
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/agency-hosting.js +434 -0
- package/src/core/tools/agency-hosting.ts +445 -0
- package/src/core/tools/all.js +432 -1
- package/src/core/tools/all.ts +432 -1
- package/src/core/tools/hosting.js +1 -1
- package/src/core/tools/hosting.ts +1 -1
- package/src/servers/agency-hosting.js +6 -0
- package/src/servers/agency-hosting.ts +6 -0
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +253 -1
package/src/core/tools/all.ts
CHANGED
|
@@ -267,6 +267,437 @@ const tools: OpenApiTool[] = [
|
|
|
267
267
|
"handlerMethod": "handleShowJsDeploymentLogs",
|
|
268
268
|
"group": "hosting"
|
|
269
269
|
},
|
|
270
|
+
{
|
|
271
|
+
"name": "agency-hosting_listAvailableDatacentersForAnAgencyPlanOrderV1",
|
|
272
|
+
"description": "Lists the datacenters available for provisioning a new website on the given Agency Plan\nhosting order.\n\nEach datacenter includes a `pinger_url` you can ping from the client to measure round-trip\nlatency; comparing the results across datacenters lets you pick the nearest one (lowest\nping) before choosing its `code` as the `datacenter_code` when creating a website setup.",
|
|
273
|
+
"method": "GET",
|
|
274
|
+
"path": "/api/agency-hosting/v1/orders/{order_id}/datacenters",
|
|
275
|
+
"inputSchema": {
|
|
276
|
+
"type": "object",
|
|
277
|
+
"properties": {
|
|
278
|
+
"order_id": {
|
|
279
|
+
"type": "integer",
|
|
280
|
+
"description": "Agency Plan order ID"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"required": [
|
|
284
|
+
"order_id"
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
"security": [
|
|
288
|
+
{
|
|
289
|
+
"apiToken": []
|
|
290
|
+
}
|
|
291
|
+
],
|
|
292
|
+
"group": "agency-hosting"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"name": "agency-hosting_changeAgencyPlanWebsiteDomainV1",
|
|
296
|
+
"description": "Changes the primary domain for an Agency Plan website.\n\nProvide the current domain in the path and the new domain in the request body.\nSet domain to null to revert to the temporary domain.",
|
|
297
|
+
"method": "PUT",
|
|
298
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/domains/{from_domain}",
|
|
299
|
+
"inputSchema": {
|
|
300
|
+
"type": "object",
|
|
301
|
+
"properties": {
|
|
302
|
+
"website_uid": {
|
|
303
|
+
"type": "string",
|
|
304
|
+
"description": "Agency Plan website UID"
|
|
305
|
+
},
|
|
306
|
+
"from_domain": {
|
|
307
|
+
"type": "string",
|
|
308
|
+
"description": "Current domain name to change from"
|
|
309
|
+
},
|
|
310
|
+
"domain": {
|
|
311
|
+
"type": "string",
|
|
312
|
+
"description": "New domain to assign to the website. Set to null to revert to the temporary domain."
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"required": [
|
|
316
|
+
"website_uid",
|
|
317
|
+
"from_domain",
|
|
318
|
+
"domain"
|
|
319
|
+
]
|
|
320
|
+
},
|
|
321
|
+
"security": [
|
|
322
|
+
{
|
|
323
|
+
"apiToken": []
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
"group": "agency-hosting"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "agency-hosting_linkDomainToAgencyPlanWebsiteV1",
|
|
330
|
+
"description": "Links a domain to the specified Agency Plan website so it can serve traffic for that domain.",
|
|
331
|
+
"method": "POST",
|
|
332
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/domains",
|
|
333
|
+
"inputSchema": {
|
|
334
|
+
"type": "object",
|
|
335
|
+
"properties": {
|
|
336
|
+
"website_uid": {
|
|
337
|
+
"type": "string",
|
|
338
|
+
"description": "Agency Plan website UID"
|
|
339
|
+
},
|
|
340
|
+
"domain": {
|
|
341
|
+
"type": "string",
|
|
342
|
+
"description": "Fully qualified domain name to link to the website"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"required": [
|
|
346
|
+
"website_uid",
|
|
347
|
+
"domain"
|
|
348
|
+
]
|
|
349
|
+
},
|
|
350
|
+
"security": [
|
|
351
|
+
{
|
|
352
|
+
"apiToken": []
|
|
353
|
+
}
|
|
354
|
+
],
|
|
355
|
+
"group": "agency-hosting"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "agency-hosting_listAgencyPlanDomainsV1",
|
|
359
|
+
"description": "Returns a paginated list of domains associated with Agency Plan websites accessible to the authenticated client.\n\nUse the website_uuids filter to narrow results to specific websites.",
|
|
360
|
+
"method": "GET",
|
|
361
|
+
"path": "/api/agency-hosting/v1/domains",
|
|
362
|
+
"inputSchema": {
|
|
363
|
+
"type": "object",
|
|
364
|
+
"properties": {
|
|
365
|
+
"page": {
|
|
366
|
+
"type": "integer",
|
|
367
|
+
"description": "Page number"
|
|
368
|
+
},
|
|
369
|
+
"per_page": {
|
|
370
|
+
"type": "integer",
|
|
371
|
+
"description": "Number of items per page"
|
|
372
|
+
},
|
|
373
|
+
"website_uuids": {
|
|
374
|
+
"type": "array",
|
|
375
|
+
"description": "Filter by website UIDs",
|
|
376
|
+
"items": {
|
|
377
|
+
"type": "string",
|
|
378
|
+
"description": "website_uuids parameter"
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
"required": []
|
|
383
|
+
},
|
|
384
|
+
"security": [
|
|
385
|
+
{
|
|
386
|
+
"apiToken": []
|
|
387
|
+
}
|
|
388
|
+
],
|
|
389
|
+
"group": "agency-hosting"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "agency-hosting_unlinkDomainFromAgencyPlanWebsiteV1",
|
|
393
|
+
"description": "Unlinks a domain from the specified Agency Plan website.\n\nThe website stops serving traffic on this domain immediately.\n\nWebsite files and database are preserved, and any other linked domains remain accessible.\n\nIf this is the only domain on the website, unlinking leaves the website without an accessible domain.",
|
|
394
|
+
"method": "DELETE",
|
|
395
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/domains/{domain}",
|
|
396
|
+
"inputSchema": {
|
|
397
|
+
"type": "object",
|
|
398
|
+
"properties": {
|
|
399
|
+
"website_uid": {
|
|
400
|
+
"type": "string",
|
|
401
|
+
"description": "Agency Plan website UID"
|
|
402
|
+
},
|
|
403
|
+
"domain": {
|
|
404
|
+
"type": "string",
|
|
405
|
+
"description": "Domain name"
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
"required": [
|
|
409
|
+
"website_uid",
|
|
410
|
+
"domain"
|
|
411
|
+
]
|
|
412
|
+
},
|
|
413
|
+
"security": [
|
|
414
|
+
{
|
|
415
|
+
"apiToken": []
|
|
416
|
+
}
|
|
417
|
+
],
|
|
418
|
+
"group": "agency-hosting"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "agency-hosting_provisionANewAgencyPlanWebsiteV1",
|
|
422
|
+
"description": "Provisions a new website on one of your Agency Plan hosting orders.\n\nChoose the datacenter, stack (`flavor`), and PHP version for the site. Optionally attach\nyour own `domain` — omit it, set it to `null`, or leave it unavailable and a free\n`*.hostingersite.com` subdomain is generated instead — and/or install WordPress by\nsupplying the `wordpress` details (admin account, site title, and language).\n\nCommon setups:\n- **Plain PHP site**: `flavor` set to `php-fpm`, with `settings.php.version`; omit\n `wordpress` and `type`.\n- **WordPress site**: `flavor` set to the desired WordPress version (e.g. `wp-7.0`), plus\n the `wordpress` block (admin account, title, language).\n- **Static/Node.js frontend app**: `flavor` set to `php-fpm` and `type` set to\n `node-static`.\n\nProvisioning runs in the background, so the response returns immediately with a setup UUID\nthat identifies the job. The new website becomes reachable once provisioning finishes.",
|
|
423
|
+
"method": "POST",
|
|
424
|
+
"path": "/api/agency-hosting/v1/orders/{order_id}/websites/setups",
|
|
425
|
+
"inputSchema": {
|
|
426
|
+
"type": "object",
|
|
427
|
+
"properties": {
|
|
428
|
+
"order_id": {
|
|
429
|
+
"type": "integer",
|
|
430
|
+
"description": "Agency Plan order ID"
|
|
431
|
+
},
|
|
432
|
+
"datacenter_code": {
|
|
433
|
+
"type": "string",
|
|
434
|
+
"description": "Datacenter code where the website should be provisioned. Available codes depend on live capacity and are not a fixed set."
|
|
435
|
+
},
|
|
436
|
+
"flavor": {
|
|
437
|
+
"type": "string",
|
|
438
|
+
"description": "Setup flavor: a specific WordPress version in the format `wp-<major>.<minor>` or `wp-<major>.<minor>.<patch>` (e.g. `wp-6.8.2`), or `php-fpm` for a plain PHP stack. Generic versions like `wp-latest` are not allowed."
|
|
439
|
+
},
|
|
440
|
+
"settings": {
|
|
441
|
+
"type": "object",
|
|
442
|
+
"description": "Website settings",
|
|
443
|
+
"properties": {
|
|
444
|
+
"php": {
|
|
445
|
+
"type": "object",
|
|
446
|
+
"description": "php parameter",
|
|
447
|
+
"properties": {
|
|
448
|
+
"version": {
|
|
449
|
+
"type": "string",
|
|
450
|
+
"description": "PHP version"
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
"required": [
|
|
454
|
+
"version"
|
|
455
|
+
]
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
"required": [
|
|
459
|
+
"php"
|
|
460
|
+
]
|
|
461
|
+
},
|
|
462
|
+
"domain": {
|
|
463
|
+
"type": "string",
|
|
464
|
+
"description": "Primary domain to attach to the website. Omit or set to null to get a free auto-generated *.hostingersite.com subdomain instead."
|
|
465
|
+
},
|
|
466
|
+
"type": {
|
|
467
|
+
"type": "string",
|
|
468
|
+
"description": "Website type",
|
|
469
|
+
"enum": [
|
|
470
|
+
"horizons",
|
|
471
|
+
"node-static"
|
|
472
|
+
]
|
|
473
|
+
},
|
|
474
|
+
"wordpress": {
|
|
475
|
+
"type": "object",
|
|
476
|
+
"description": "WordPress installation options",
|
|
477
|
+
"properties": {
|
|
478
|
+
"language": {
|
|
479
|
+
"type": "string",
|
|
480
|
+
"description": "language parameter"
|
|
481
|
+
},
|
|
482
|
+
"title": {
|
|
483
|
+
"type": "string",
|
|
484
|
+
"description": "title parameter"
|
|
485
|
+
},
|
|
486
|
+
"admin": {
|
|
487
|
+
"type": "object",
|
|
488
|
+
"description": "admin parameter",
|
|
489
|
+
"properties": {
|
|
490
|
+
"user": {
|
|
491
|
+
"type": "string",
|
|
492
|
+
"description": "user parameter"
|
|
493
|
+
},
|
|
494
|
+
"password": {
|
|
495
|
+
"type": "string",
|
|
496
|
+
"description": "password parameter"
|
|
497
|
+
},
|
|
498
|
+
"email": {
|
|
499
|
+
"type": "string",
|
|
500
|
+
"description": "email parameter"
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"required": [
|
|
504
|
+
"user",
|
|
505
|
+
"password",
|
|
506
|
+
"email"
|
|
507
|
+
]
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
"required": [
|
|
511
|
+
"language",
|
|
512
|
+
"title",
|
|
513
|
+
"admin"
|
|
514
|
+
]
|
|
515
|
+
},
|
|
516
|
+
"clone": {
|
|
517
|
+
"type": "object",
|
|
518
|
+
"description": "Clone the new website from an existing website",
|
|
519
|
+
"properties": {
|
|
520
|
+
"website_uid": {
|
|
521
|
+
"type": "string",
|
|
522
|
+
"description": "website_uid parameter"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
"required": [
|
|
526
|
+
"website_uid"
|
|
527
|
+
]
|
|
528
|
+
},
|
|
529
|
+
"derive_domain": {
|
|
530
|
+
"type": "object",
|
|
531
|
+
"description": "Derive the domain from an existing vhost",
|
|
532
|
+
"properties": {
|
|
533
|
+
"from_vhost": {
|
|
534
|
+
"type": "object",
|
|
535
|
+
"description": "from_vhost parameter",
|
|
536
|
+
"properties": {
|
|
537
|
+
"username": {
|
|
538
|
+
"type": "string",
|
|
539
|
+
"description": "username parameter"
|
|
540
|
+
},
|
|
541
|
+
"vhost": {
|
|
542
|
+
"type": "string",
|
|
543
|
+
"description": "vhost parameter"
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
"required": [
|
|
547
|
+
"username",
|
|
548
|
+
"vhost"
|
|
549
|
+
]
|
|
550
|
+
}
|
|
551
|
+
},
|
|
552
|
+
"required": [
|
|
553
|
+
"from_vhost"
|
|
554
|
+
]
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
"required": [
|
|
558
|
+
"order_id",
|
|
559
|
+
"datacenter_code",
|
|
560
|
+
"flavor",
|
|
561
|
+
"settings"
|
|
562
|
+
]
|
|
563
|
+
},
|
|
564
|
+
"security": [
|
|
565
|
+
{
|
|
566
|
+
"apiToken": []
|
|
567
|
+
}
|
|
568
|
+
],
|
|
569
|
+
"group": "agency-hosting"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"name": "agency-hosting_getAgencyPlanWebsiteSetupStatusV1",
|
|
573
|
+
"description": "Returns the current status of an Agency Plan website setup started via the setups\nendpoint.\n\nPoll this endpoint using the `setup_uuid` returned from the provisioning request until\n`status` becomes `completed`, at which point `website_uid` identifies the new website.",
|
|
574
|
+
"method": "GET",
|
|
575
|
+
"path": "/api/agency-hosting/v1/orders/{order_id}/websites/setups/{setup_uuid}",
|
|
576
|
+
"inputSchema": {
|
|
577
|
+
"type": "object",
|
|
578
|
+
"properties": {
|
|
579
|
+
"order_id": {
|
|
580
|
+
"type": "integer",
|
|
581
|
+
"description": "Agency Plan order ID"
|
|
582
|
+
},
|
|
583
|
+
"setup_uuid": {
|
|
584
|
+
"type": "string",
|
|
585
|
+
"description": "Website setup UUID"
|
|
586
|
+
}
|
|
587
|
+
},
|
|
588
|
+
"required": [
|
|
589
|
+
"order_id",
|
|
590
|
+
"setup_uuid"
|
|
591
|
+
]
|
|
592
|
+
},
|
|
593
|
+
"security": [
|
|
594
|
+
{
|
|
595
|
+
"apiToken": []
|
|
596
|
+
}
|
|
597
|
+
],
|
|
598
|
+
"group": "agency-hosting"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"name": "agency-hosting_buildAgencyPlanWebsiteNodeJSAssetsV1",
|
|
602
|
+
"description": "Builds and deploys a Node.js application for an Agency Plan website from an already-uploaded archive.\n\nUpload the archive to file browser first, then provide its relative path from document root in this request.\nWebsite contents are overwritten by the build result, which is deployed to public_html.",
|
|
603
|
+
"method": "POST",
|
|
604
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/build-assets",
|
|
605
|
+
"inputSchema": {
|
|
606
|
+
"type": "object",
|
|
607
|
+
"properties": {
|
|
608
|
+
"website_uid": {
|
|
609
|
+
"type": "string",
|
|
610
|
+
"description": "Agency Plan website UID"
|
|
611
|
+
},
|
|
612
|
+
"archive_path": {
|
|
613
|
+
"type": "string",
|
|
614
|
+
"description": "Directory, relative to the website document root, where the uploaded site archive currently lives. Most commonly this is simply `public_html`."
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
"required": [
|
|
618
|
+
"website_uid",
|
|
619
|
+
"archive_path"
|
|
620
|
+
]
|
|
621
|
+
},
|
|
622
|
+
"security": [
|
|
623
|
+
{
|
|
624
|
+
"apiToken": []
|
|
625
|
+
}
|
|
626
|
+
],
|
|
627
|
+
"group": "agency-hosting"
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
|
|
631
|
+
"description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",
|
|
632
|
+
"method": "GET",
|
|
633
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}",
|
|
634
|
+
"inputSchema": {
|
|
635
|
+
"type": "object",
|
|
636
|
+
"properties": {
|
|
637
|
+
"website_uid": {
|
|
638
|
+
"type": "string",
|
|
639
|
+
"description": "Agency Plan website UID"
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
"required": [
|
|
643
|
+
"website_uid"
|
|
644
|
+
]
|
|
645
|
+
},
|
|
646
|
+
"security": [
|
|
647
|
+
{
|
|
648
|
+
"apiToken": []
|
|
649
|
+
}
|
|
650
|
+
],
|
|
651
|
+
"group": "agency-hosting"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteV1",
|
|
655
|
+
"description": "Deletes an Agency Plan website and schedules cleanup of its resources.\n\nThis action is irreversible. Website files, databases, and linked domains are removed.",
|
|
656
|
+
"method": "DELETE",
|
|
657
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}",
|
|
658
|
+
"inputSchema": {
|
|
659
|
+
"type": "object",
|
|
660
|
+
"properties": {
|
|
661
|
+
"website_uid": {
|
|
662
|
+
"type": "string",
|
|
663
|
+
"description": "Agency Plan website UID"
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
"required": [
|
|
667
|
+
"website_uid"
|
|
668
|
+
]
|
|
669
|
+
},
|
|
670
|
+
"security": [
|
|
671
|
+
{
|
|
672
|
+
"apiToken": []
|
|
673
|
+
}
|
|
674
|
+
],
|
|
675
|
+
"group": "agency-hosting"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"name": "agency-hosting_listRunningAgencyPlanWebsiteProcessesV1",
|
|
679
|
+
"description": "Lists active and recently completed asynchronous processes for an Agency Plan website.\n\nEach process has a unique ID (for tracking), a type, and a status (running, completed, failed).\nPoll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.",
|
|
680
|
+
"method": "GET",
|
|
681
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/processes",
|
|
682
|
+
"inputSchema": {
|
|
683
|
+
"type": "object",
|
|
684
|
+
"properties": {
|
|
685
|
+
"website_uid": {
|
|
686
|
+
"type": "string",
|
|
687
|
+
"description": "Agency Plan website UID"
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
"required": [
|
|
691
|
+
"website_uid"
|
|
692
|
+
]
|
|
693
|
+
},
|
|
694
|
+
"security": [
|
|
695
|
+
{
|
|
696
|
+
"apiToken": []
|
|
697
|
+
}
|
|
698
|
+
],
|
|
699
|
+
"group": "agency-hosting"
|
|
700
|
+
},
|
|
270
701
|
{
|
|
271
702
|
"name": "billing_getCatalogItemListV1",
|
|
272
703
|
"description": "Retrieve catalog items available for order.\n\nPrices in catalog items is displayed as cents (without floating point),\ne.g: float `17.99` is displayed as integer `1799`.\n\nUse this endpoint to view available services and pricing before placing orders.",
|
|
@@ -2718,7 +3149,7 @@ const tools: OpenApiTool[] = [
|
|
|
2718
3149
|
"group": "hosting"
|
|
2719
3150
|
},
|
|
2720
3151
|
{
|
|
2721
|
-
"name": "
|
|
3152
|
+
"name": "hosting_restartNode_jsApplicationV1",
|
|
2722
3153
|
"description": "Restarts the Node.js server process for the website. Does not rebuild or redeploy the\napplication. Use it to apply environment or configuration changes, or to recover a hung\napplication.\n\nOnly applicable to server-side applications (Express, Next.js, NestJS, etc.). Static\nfront-end apps (React, Vue, Vite) have no persistent server process, so restarting them\nhas no effect. Returns success even when the website has no server process to restart.",
|
|
2723
3154
|
"method": "POST",
|
|
2724
3155
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart",
|
|
@@ -1220,7 +1220,7 @@ export default [
|
|
|
1220
1220
|
"group": "hosting"
|
|
1221
1221
|
},
|
|
1222
1222
|
{
|
|
1223
|
-
"name": "
|
|
1223
|
+
"name": "hosting_restartNode_jsApplicationV1",
|
|
1224
1224
|
"description": "Restarts the Node.js server process for the website. Does not rebuild or redeploy the\napplication. Use it to apply environment or configuration changes, or to recover a hung\napplication.\n\nOnly applicable to server-side applications (Express, Next.js, NestJS, etc.). Static\nfront-end apps (React, Vue, Vite) have no persistent server process, so restarting them\nhas no effect. Returns success even when the website has no server process to restart.",
|
|
1225
1225
|
"method": "POST",
|
|
1226
1226
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart",
|
|
@@ -1230,7 +1230,7 @@ const tools: OpenApiTool[] = [
|
|
|
1230
1230
|
"group": "hosting"
|
|
1231
1231
|
},
|
|
1232
1232
|
{
|
|
1233
|
-
"name": "
|
|
1233
|
+
"name": "hosting_restartNode_jsApplicationV1",
|
|
1234
1234
|
"description": "Restarts the Node.js server process for the website. Does not rebuild or redeploy the\napplication. Use it to apply environment or configuration changes, or to recover a hung\napplication.\n\nOnly applicable to server-side applications (Express, Next.js, NestJS, etc.). Static\nfront-end apps (React, Vue, Vite) have no persistent server process, so restarting them\nhas no effect. Returns success even when the website has no server process to restart.",
|
|
1235
1235
|
"method": "POST",
|
|
1236
1236
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart",
|
package/src/servers/all.js
CHANGED
package/src/servers/all.ts
CHANGED
package/src/servers/billing.js
CHANGED
package/src/servers/billing.ts
CHANGED
package/src/servers/dns.js
CHANGED
package/src/servers/dns.ts
CHANGED
package/src/servers/domains.js
CHANGED
package/src/servers/domains.ts
CHANGED
package/src/servers/ecommerce.js
CHANGED
package/src/servers/ecommerce.ts
CHANGED
package/src/servers/horizons.js
CHANGED
package/src/servers/horizons.ts
CHANGED
package/src/servers/hosting.js
CHANGED
package/src/servers/hosting.ts
CHANGED
package/src/servers/reach.js
CHANGED
package/src/servers/reach.ts
CHANGED
package/src/servers/vps.js
CHANGED
package/src/servers/vps.ts
CHANGED
package/src/servers/wordpress.js
CHANGED
package/src/servers/wordpress.ts
CHANGED