hostinger-api-mcp 1.8.0 → 1.8.2
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 +38 -2
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- 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 +119 -0
- package/src/core/tools/agency-hosting.ts +119 -0
- package/src/core/tools/all.js +119 -0
- package/src/core/tools/all.ts +119 -0
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- 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 +80 -0
package/README.md
CHANGED
|
@@ -49,8 +49,8 @@ pnpm update -g hostinger-api-mcp
|
|
|
49
49
|
|
|
50
50
|
This package installs the following MCP server commands:
|
|
51
51
|
|
|
52
|
-
- `hostinger-api-mcp` — unified server with every tool (
|
|
53
|
-
- `hostinger-agency-hosting-mcp` —
|
|
52
|
+
- `hostinger-api-mcp` — unified server with every tool (223 total)
|
|
53
|
+
- `hostinger-agency-hosting-mcp` — 18 tools for agency-hosting
|
|
54
54
|
- `hostinger-billing-mcp` — 7 tools for billing
|
|
55
55
|
- `hostinger-dns-mcp` — 8 tools for dns
|
|
56
56
|
- `hostinger-domains-mcp` — 19 tools for domains
|
|
@@ -323,6 +323,42 @@ Website contents are overwritten by the build result, which is deployed to publi
|
|
|
323
323
|
- **Method**: `POST`
|
|
324
324
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/build-assets`
|
|
325
325
|
|
|
326
|
+
#### agency-hosting_clearAgencyPlanWebsiteCacheV1
|
|
327
|
+
|
|
328
|
+
Clears cache for all domains associated with an Agency Plan website, including its preview domain.
|
|
329
|
+
|
|
330
|
+
This operation clears all cache types for the website.
|
|
331
|
+
|
|
332
|
+
- **Method**: `DELETE`
|
|
333
|
+
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/cache`
|
|
334
|
+
|
|
335
|
+
#### agency-hosting_listAgencyPlanWebsiteCronJobsV1
|
|
336
|
+
|
|
337
|
+
Returns a paginated list of cron jobs configured for an Agency Plan website.
|
|
338
|
+
|
|
339
|
+
Each entry includes the schedule expression and the command executed on that schedule.
|
|
340
|
+
|
|
341
|
+
- **Method**: `GET`
|
|
342
|
+
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs`
|
|
343
|
+
|
|
344
|
+
#### agency-hosting_createAgencyPlanWebsiteCronJobV1
|
|
345
|
+
|
|
346
|
+
Creates a cron job for an Agency Plan website from a schedule expression and a command.
|
|
347
|
+
|
|
348
|
+
Returns the created cron job, including its uuid, which is required to delete the cron job.
|
|
349
|
+
|
|
350
|
+
- **Method**: `POST`
|
|
351
|
+
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs`
|
|
352
|
+
|
|
353
|
+
#### agency-hosting_deleteAgencyPlanWebsiteCronJobV1
|
|
354
|
+
|
|
355
|
+
Permanently deletes the cron job identified by its uuid from an Agency Plan website.
|
|
356
|
+
|
|
357
|
+
The operation is idempotent: deleting a cron job that does not exist succeeds without error.
|
|
358
|
+
|
|
359
|
+
- **Method**: `DELETE`
|
|
360
|
+
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}`
|
|
361
|
+
|
|
326
362
|
#### agency-hosting_getAgencyPlanWebsiteDetailsV1
|
|
327
363
|
|
|
328
364
|
Retrieves detailed information about a specific Agency Plan website, including configuration,
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/hostinger/api-mcp-server",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "1.8.
|
|
9
|
+
"version": "1.8.2",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.8.
|
|
14
|
+
"version": "1.8.2",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
|
@@ -456,6 +456,125 @@ export default [
|
|
|
456
456
|
],
|
|
457
457
|
"group": "agency-hosting"
|
|
458
458
|
},
|
|
459
|
+
{
|
|
460
|
+
"name": "agency-hosting_clearAgencyPlanWebsiteCacheV1",
|
|
461
|
+
"description": "Clears cache for all domains associated with an Agency Plan website, including its preview domain.\n\nThis operation clears all cache types for the website.",
|
|
462
|
+
"method": "DELETE",
|
|
463
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cache",
|
|
464
|
+
"inputSchema": {
|
|
465
|
+
"type": "object",
|
|
466
|
+
"properties": {
|
|
467
|
+
"website_uid": {
|
|
468
|
+
"type": "string",
|
|
469
|
+
"description": "Agency Plan website UID"
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
"required": [
|
|
473
|
+
"website_uid"
|
|
474
|
+
]
|
|
475
|
+
},
|
|
476
|
+
"security": [
|
|
477
|
+
{
|
|
478
|
+
"apiToken": []
|
|
479
|
+
}
|
|
480
|
+
],
|
|
481
|
+
"group": "agency-hosting"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"name": "agency-hosting_listAgencyPlanWebsiteCronJobsV1",
|
|
485
|
+
"description": "Returns a paginated list of cron jobs configured for an Agency Plan website.\n\nEach entry includes the schedule expression and the command executed on that schedule.",
|
|
486
|
+
"method": "GET",
|
|
487
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
488
|
+
"inputSchema": {
|
|
489
|
+
"type": "object",
|
|
490
|
+
"properties": {
|
|
491
|
+
"website_uid": {
|
|
492
|
+
"type": "string",
|
|
493
|
+
"description": "Agency Plan website UID"
|
|
494
|
+
},
|
|
495
|
+
"page": {
|
|
496
|
+
"type": "integer",
|
|
497
|
+
"description": "Page number"
|
|
498
|
+
},
|
|
499
|
+
"per_page": {
|
|
500
|
+
"type": "integer",
|
|
501
|
+
"description": "Number of items per page"
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
"required": [
|
|
505
|
+
"website_uid"
|
|
506
|
+
]
|
|
507
|
+
},
|
|
508
|
+
"security": [
|
|
509
|
+
{
|
|
510
|
+
"apiToken": []
|
|
511
|
+
}
|
|
512
|
+
],
|
|
513
|
+
"group": "agency-hosting"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"name": "agency-hosting_createAgencyPlanWebsiteCronJobV1",
|
|
517
|
+
"description": "Creates a cron job for an Agency Plan website from a schedule expression and a command.\n\nReturns the created cron job, including its uuid, which is required to delete the cron job.",
|
|
518
|
+
"method": "POST",
|
|
519
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
520
|
+
"inputSchema": {
|
|
521
|
+
"type": "object",
|
|
522
|
+
"properties": {
|
|
523
|
+
"website_uid": {
|
|
524
|
+
"type": "string",
|
|
525
|
+
"description": "Agency Plan website UID"
|
|
526
|
+
},
|
|
527
|
+
"time": {
|
|
528
|
+
"type": "string",
|
|
529
|
+
"description": "Cron schedule expression (standard 5-field crontab syntax)."
|
|
530
|
+
},
|
|
531
|
+
"command": {
|
|
532
|
+
"type": "string",
|
|
533
|
+
"description": "Command to run on the schedule. Must not contain pipe (|) or redirection (<, >) characters."
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
"required": [
|
|
537
|
+
"website_uid",
|
|
538
|
+
"time",
|
|
539
|
+
"command"
|
|
540
|
+
]
|
|
541
|
+
},
|
|
542
|
+
"security": [
|
|
543
|
+
{
|
|
544
|
+
"apiToken": []
|
|
545
|
+
}
|
|
546
|
+
],
|
|
547
|
+
"group": "agency-hosting"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteCronJobV1",
|
|
551
|
+
"description": "Permanently deletes the cron job identified by its uuid from an Agency Plan website.\n\nThe operation is idempotent: deleting a cron job that does not exist succeeds without error.",
|
|
552
|
+
"method": "DELETE",
|
|
553
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}",
|
|
554
|
+
"inputSchema": {
|
|
555
|
+
"type": "object",
|
|
556
|
+
"properties": {
|
|
557
|
+
"website_uid": {
|
|
558
|
+
"type": "string",
|
|
559
|
+
"description": "Agency Plan website UID"
|
|
560
|
+
},
|
|
561
|
+
"uuid": {
|
|
562
|
+
"type": "string",
|
|
563
|
+
"description": "Unique identifier of the cron job as returned by the list cron jobs endpoint."
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
"required": [
|
|
567
|
+
"website_uid",
|
|
568
|
+
"uuid"
|
|
569
|
+
]
|
|
570
|
+
},
|
|
571
|
+
"security": [
|
|
572
|
+
{
|
|
573
|
+
"apiToken": []
|
|
574
|
+
}
|
|
575
|
+
],
|
|
576
|
+
"group": "agency-hosting"
|
|
577
|
+
},
|
|
459
578
|
{
|
|
460
579
|
"name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
|
|
461
580
|
"description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",
|
|
@@ -470,6 +470,125 @@ const tools: OpenApiTool[] = [
|
|
|
470
470
|
],
|
|
471
471
|
"group": "agency-hosting"
|
|
472
472
|
},
|
|
473
|
+
{
|
|
474
|
+
"name": "agency-hosting_clearAgencyPlanWebsiteCacheV1",
|
|
475
|
+
"description": "Clears cache for all domains associated with an Agency Plan website, including its preview domain.\n\nThis operation clears all cache types for the website.",
|
|
476
|
+
"method": "DELETE",
|
|
477
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cache",
|
|
478
|
+
"inputSchema": {
|
|
479
|
+
"type": "object",
|
|
480
|
+
"properties": {
|
|
481
|
+
"website_uid": {
|
|
482
|
+
"type": "string",
|
|
483
|
+
"description": "Agency Plan website UID"
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"required": [
|
|
487
|
+
"website_uid"
|
|
488
|
+
]
|
|
489
|
+
},
|
|
490
|
+
"security": [
|
|
491
|
+
{
|
|
492
|
+
"apiToken": []
|
|
493
|
+
}
|
|
494
|
+
],
|
|
495
|
+
"group": "agency-hosting"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "agency-hosting_listAgencyPlanWebsiteCronJobsV1",
|
|
499
|
+
"description": "Returns a paginated list of cron jobs configured for an Agency Plan website.\n\nEach entry includes the schedule expression and the command executed on that schedule.",
|
|
500
|
+
"method": "GET",
|
|
501
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
502
|
+
"inputSchema": {
|
|
503
|
+
"type": "object",
|
|
504
|
+
"properties": {
|
|
505
|
+
"website_uid": {
|
|
506
|
+
"type": "string",
|
|
507
|
+
"description": "Agency Plan website UID"
|
|
508
|
+
},
|
|
509
|
+
"page": {
|
|
510
|
+
"type": "integer",
|
|
511
|
+
"description": "Page number"
|
|
512
|
+
},
|
|
513
|
+
"per_page": {
|
|
514
|
+
"type": "integer",
|
|
515
|
+
"description": "Number of items per page"
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
"required": [
|
|
519
|
+
"website_uid"
|
|
520
|
+
]
|
|
521
|
+
},
|
|
522
|
+
"security": [
|
|
523
|
+
{
|
|
524
|
+
"apiToken": []
|
|
525
|
+
}
|
|
526
|
+
],
|
|
527
|
+
"group": "agency-hosting"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"name": "agency-hosting_createAgencyPlanWebsiteCronJobV1",
|
|
531
|
+
"description": "Creates a cron job for an Agency Plan website from a schedule expression and a command.\n\nReturns the created cron job, including its uuid, which is required to delete the cron job.",
|
|
532
|
+
"method": "POST",
|
|
533
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
534
|
+
"inputSchema": {
|
|
535
|
+
"type": "object",
|
|
536
|
+
"properties": {
|
|
537
|
+
"website_uid": {
|
|
538
|
+
"type": "string",
|
|
539
|
+
"description": "Agency Plan website UID"
|
|
540
|
+
},
|
|
541
|
+
"time": {
|
|
542
|
+
"type": "string",
|
|
543
|
+
"description": "Cron schedule expression (standard 5-field crontab syntax)."
|
|
544
|
+
},
|
|
545
|
+
"command": {
|
|
546
|
+
"type": "string",
|
|
547
|
+
"description": "Command to run on the schedule. Must not contain pipe (|) or redirection (<, >) characters."
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
"required": [
|
|
551
|
+
"website_uid",
|
|
552
|
+
"time",
|
|
553
|
+
"command"
|
|
554
|
+
]
|
|
555
|
+
},
|
|
556
|
+
"security": [
|
|
557
|
+
{
|
|
558
|
+
"apiToken": []
|
|
559
|
+
}
|
|
560
|
+
],
|
|
561
|
+
"group": "agency-hosting"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteCronJobV1",
|
|
565
|
+
"description": "Permanently deletes the cron job identified by its uuid from an Agency Plan website.\n\nThe operation is idempotent: deleting a cron job that does not exist succeeds without error.",
|
|
566
|
+
"method": "DELETE",
|
|
567
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}",
|
|
568
|
+
"inputSchema": {
|
|
569
|
+
"type": "object",
|
|
570
|
+
"properties": {
|
|
571
|
+
"website_uid": {
|
|
572
|
+
"type": "string",
|
|
573
|
+
"description": "Agency Plan website UID"
|
|
574
|
+
},
|
|
575
|
+
"uuid": {
|
|
576
|
+
"type": "string",
|
|
577
|
+
"description": "Unique identifier of the cron job as returned by the list cron jobs endpoint."
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
"required": [
|
|
581
|
+
"website_uid",
|
|
582
|
+
"uuid"
|
|
583
|
+
]
|
|
584
|
+
},
|
|
585
|
+
"security": [
|
|
586
|
+
{
|
|
587
|
+
"apiToken": []
|
|
588
|
+
}
|
|
589
|
+
],
|
|
590
|
+
"group": "agency-hosting"
|
|
591
|
+
},
|
|
473
592
|
{
|
|
474
593
|
"name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
|
|
475
594
|
"description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",
|
package/src/core/tools/all.js
CHANGED
|
@@ -713,6 +713,125 @@ export default [
|
|
|
713
713
|
],
|
|
714
714
|
"group": "agency-hosting"
|
|
715
715
|
},
|
|
716
|
+
{
|
|
717
|
+
"name": "agency-hosting_clearAgencyPlanWebsiteCacheV1",
|
|
718
|
+
"description": "Clears cache for all domains associated with an Agency Plan website, including its preview domain.\n\nThis operation clears all cache types for the website.",
|
|
719
|
+
"method": "DELETE",
|
|
720
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cache",
|
|
721
|
+
"inputSchema": {
|
|
722
|
+
"type": "object",
|
|
723
|
+
"properties": {
|
|
724
|
+
"website_uid": {
|
|
725
|
+
"type": "string",
|
|
726
|
+
"description": "Agency Plan website UID"
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
"required": [
|
|
730
|
+
"website_uid"
|
|
731
|
+
]
|
|
732
|
+
},
|
|
733
|
+
"security": [
|
|
734
|
+
{
|
|
735
|
+
"apiToken": []
|
|
736
|
+
}
|
|
737
|
+
],
|
|
738
|
+
"group": "agency-hosting"
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"name": "agency-hosting_listAgencyPlanWebsiteCronJobsV1",
|
|
742
|
+
"description": "Returns a paginated list of cron jobs configured for an Agency Plan website.\n\nEach entry includes the schedule expression and the command executed on that schedule.",
|
|
743
|
+
"method": "GET",
|
|
744
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
745
|
+
"inputSchema": {
|
|
746
|
+
"type": "object",
|
|
747
|
+
"properties": {
|
|
748
|
+
"website_uid": {
|
|
749
|
+
"type": "string",
|
|
750
|
+
"description": "Agency Plan website UID"
|
|
751
|
+
},
|
|
752
|
+
"page": {
|
|
753
|
+
"type": "integer",
|
|
754
|
+
"description": "Page number"
|
|
755
|
+
},
|
|
756
|
+
"per_page": {
|
|
757
|
+
"type": "integer",
|
|
758
|
+
"description": "Number of items per page"
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
"required": [
|
|
762
|
+
"website_uid"
|
|
763
|
+
]
|
|
764
|
+
},
|
|
765
|
+
"security": [
|
|
766
|
+
{
|
|
767
|
+
"apiToken": []
|
|
768
|
+
}
|
|
769
|
+
],
|
|
770
|
+
"group": "agency-hosting"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"name": "agency-hosting_createAgencyPlanWebsiteCronJobV1",
|
|
774
|
+
"description": "Creates a cron job for an Agency Plan website from a schedule expression and a command.\n\nReturns the created cron job, including its uuid, which is required to delete the cron job.",
|
|
775
|
+
"method": "POST",
|
|
776
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
777
|
+
"inputSchema": {
|
|
778
|
+
"type": "object",
|
|
779
|
+
"properties": {
|
|
780
|
+
"website_uid": {
|
|
781
|
+
"type": "string",
|
|
782
|
+
"description": "Agency Plan website UID"
|
|
783
|
+
},
|
|
784
|
+
"time": {
|
|
785
|
+
"type": "string",
|
|
786
|
+
"description": "Cron schedule expression (standard 5-field crontab syntax)."
|
|
787
|
+
},
|
|
788
|
+
"command": {
|
|
789
|
+
"type": "string",
|
|
790
|
+
"description": "Command to run on the schedule. Must not contain pipe (|) or redirection (<, >) characters."
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
"required": [
|
|
794
|
+
"website_uid",
|
|
795
|
+
"time",
|
|
796
|
+
"command"
|
|
797
|
+
]
|
|
798
|
+
},
|
|
799
|
+
"security": [
|
|
800
|
+
{
|
|
801
|
+
"apiToken": []
|
|
802
|
+
}
|
|
803
|
+
],
|
|
804
|
+
"group": "agency-hosting"
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteCronJobV1",
|
|
808
|
+
"description": "Permanently deletes the cron job identified by its uuid from an Agency Plan website.\n\nThe operation is idempotent: deleting a cron job that does not exist succeeds without error.",
|
|
809
|
+
"method": "DELETE",
|
|
810
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}",
|
|
811
|
+
"inputSchema": {
|
|
812
|
+
"type": "object",
|
|
813
|
+
"properties": {
|
|
814
|
+
"website_uid": {
|
|
815
|
+
"type": "string",
|
|
816
|
+
"description": "Agency Plan website UID"
|
|
817
|
+
},
|
|
818
|
+
"uuid": {
|
|
819
|
+
"type": "string",
|
|
820
|
+
"description": "Unique identifier of the cron job as returned by the list cron jobs endpoint."
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
"required": [
|
|
824
|
+
"website_uid",
|
|
825
|
+
"uuid"
|
|
826
|
+
]
|
|
827
|
+
},
|
|
828
|
+
"security": [
|
|
829
|
+
{
|
|
830
|
+
"apiToken": []
|
|
831
|
+
}
|
|
832
|
+
],
|
|
833
|
+
"group": "agency-hosting"
|
|
834
|
+
},
|
|
716
835
|
{
|
|
717
836
|
"name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
|
|
718
837
|
"description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -727,6 +727,125 @@ const tools: OpenApiTool[] = [
|
|
|
727
727
|
],
|
|
728
728
|
"group": "agency-hosting"
|
|
729
729
|
},
|
|
730
|
+
{
|
|
731
|
+
"name": "agency-hosting_clearAgencyPlanWebsiteCacheV1",
|
|
732
|
+
"description": "Clears cache for all domains associated with an Agency Plan website, including its preview domain.\n\nThis operation clears all cache types for the website.",
|
|
733
|
+
"method": "DELETE",
|
|
734
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cache",
|
|
735
|
+
"inputSchema": {
|
|
736
|
+
"type": "object",
|
|
737
|
+
"properties": {
|
|
738
|
+
"website_uid": {
|
|
739
|
+
"type": "string",
|
|
740
|
+
"description": "Agency Plan website UID"
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
"required": [
|
|
744
|
+
"website_uid"
|
|
745
|
+
]
|
|
746
|
+
},
|
|
747
|
+
"security": [
|
|
748
|
+
{
|
|
749
|
+
"apiToken": []
|
|
750
|
+
}
|
|
751
|
+
],
|
|
752
|
+
"group": "agency-hosting"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"name": "agency-hosting_listAgencyPlanWebsiteCronJobsV1",
|
|
756
|
+
"description": "Returns a paginated list of cron jobs configured for an Agency Plan website.\n\nEach entry includes the schedule expression and the command executed on that schedule.",
|
|
757
|
+
"method": "GET",
|
|
758
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
759
|
+
"inputSchema": {
|
|
760
|
+
"type": "object",
|
|
761
|
+
"properties": {
|
|
762
|
+
"website_uid": {
|
|
763
|
+
"type": "string",
|
|
764
|
+
"description": "Agency Plan website UID"
|
|
765
|
+
},
|
|
766
|
+
"page": {
|
|
767
|
+
"type": "integer",
|
|
768
|
+
"description": "Page number"
|
|
769
|
+
},
|
|
770
|
+
"per_page": {
|
|
771
|
+
"type": "integer",
|
|
772
|
+
"description": "Number of items per page"
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
"required": [
|
|
776
|
+
"website_uid"
|
|
777
|
+
]
|
|
778
|
+
},
|
|
779
|
+
"security": [
|
|
780
|
+
{
|
|
781
|
+
"apiToken": []
|
|
782
|
+
}
|
|
783
|
+
],
|
|
784
|
+
"group": "agency-hosting"
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"name": "agency-hosting_createAgencyPlanWebsiteCronJobV1",
|
|
788
|
+
"description": "Creates a cron job for an Agency Plan website from a schedule expression and a command.\n\nReturns the created cron job, including its uuid, which is required to delete the cron job.",
|
|
789
|
+
"method": "POST",
|
|
790
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
791
|
+
"inputSchema": {
|
|
792
|
+
"type": "object",
|
|
793
|
+
"properties": {
|
|
794
|
+
"website_uid": {
|
|
795
|
+
"type": "string",
|
|
796
|
+
"description": "Agency Plan website UID"
|
|
797
|
+
},
|
|
798
|
+
"time": {
|
|
799
|
+
"type": "string",
|
|
800
|
+
"description": "Cron schedule expression (standard 5-field crontab syntax)."
|
|
801
|
+
},
|
|
802
|
+
"command": {
|
|
803
|
+
"type": "string",
|
|
804
|
+
"description": "Command to run on the schedule. Must not contain pipe (|) or redirection (<, >) characters."
|
|
805
|
+
}
|
|
806
|
+
},
|
|
807
|
+
"required": [
|
|
808
|
+
"website_uid",
|
|
809
|
+
"time",
|
|
810
|
+
"command"
|
|
811
|
+
]
|
|
812
|
+
},
|
|
813
|
+
"security": [
|
|
814
|
+
{
|
|
815
|
+
"apiToken": []
|
|
816
|
+
}
|
|
817
|
+
],
|
|
818
|
+
"group": "agency-hosting"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteCronJobV1",
|
|
822
|
+
"description": "Permanently deletes the cron job identified by its uuid from an Agency Plan website.\n\nThe operation is idempotent: deleting a cron job that does not exist succeeds without error.",
|
|
823
|
+
"method": "DELETE",
|
|
824
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}",
|
|
825
|
+
"inputSchema": {
|
|
826
|
+
"type": "object",
|
|
827
|
+
"properties": {
|
|
828
|
+
"website_uid": {
|
|
829
|
+
"type": "string",
|
|
830
|
+
"description": "Agency Plan website UID"
|
|
831
|
+
},
|
|
832
|
+
"uuid": {
|
|
833
|
+
"type": "string",
|
|
834
|
+
"description": "Unique identifier of the cron job as returned by the list cron jobs endpoint."
|
|
835
|
+
}
|
|
836
|
+
},
|
|
837
|
+
"required": [
|
|
838
|
+
"website_uid",
|
|
839
|
+
"uuid"
|
|
840
|
+
]
|
|
841
|
+
},
|
|
842
|
+
"security": [
|
|
843
|
+
{
|
|
844
|
+
"apiToken": []
|
|
845
|
+
}
|
|
846
|
+
],
|
|
847
|
+
"group": "agency-hosting"
|
|
848
|
+
},
|
|
730
849
|
{
|
|
731
850
|
"name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
|
|
732
851
|
"description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",
|
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
package/types.d.ts
CHANGED
|
@@ -429,6 +429,86 @@ Website contents are overwritten by the build result, which is deployed to publi
|
|
|
429
429
|
response: any; // Response structure will depend on the API
|
|
430
430
|
};
|
|
431
431
|
|
|
432
|
+
/**
|
|
433
|
+
* Clears cache for all domains associated with an Agency Plan website, including its preview domain.
|
|
434
|
+
|
|
435
|
+
This operation clears all cache types for the website.
|
|
436
|
+
*/
|
|
437
|
+
"agency-hosting_clearAgencyPlanWebsiteCacheV1": {
|
|
438
|
+
params: {
|
|
439
|
+
/**
|
|
440
|
+
* Agency Plan website UID
|
|
441
|
+
*/
|
|
442
|
+
website_uid: string;
|
|
443
|
+
};
|
|
444
|
+
response: any; // Response structure will depend on the API
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* Returns a paginated list of cron jobs configured for an Agency Plan website.
|
|
449
|
+
|
|
450
|
+
Each entry includes the schedule expression and the command executed on that schedule.
|
|
451
|
+
*/
|
|
452
|
+
"agency-hosting_listAgencyPlanWebsiteCronJobsV1": {
|
|
453
|
+
params: {
|
|
454
|
+
/**
|
|
455
|
+
* Agency Plan website UID
|
|
456
|
+
*/
|
|
457
|
+
website_uid: string;
|
|
458
|
+
/**
|
|
459
|
+
* Page number
|
|
460
|
+
*/
|
|
461
|
+
page?: number;
|
|
462
|
+
/**
|
|
463
|
+
* Number of items per page
|
|
464
|
+
*/
|
|
465
|
+
per_page?: number;
|
|
466
|
+
};
|
|
467
|
+
response: any; // Response structure will depend on the API
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Creates a cron job for an Agency Plan website from a schedule expression and a command.
|
|
472
|
+
|
|
473
|
+
Returns the created cron job, including its uuid, which is required to delete the cron job.
|
|
474
|
+
*/
|
|
475
|
+
"agency-hosting_createAgencyPlanWebsiteCronJobV1": {
|
|
476
|
+
params: {
|
|
477
|
+
/**
|
|
478
|
+
* Agency Plan website UID
|
|
479
|
+
*/
|
|
480
|
+
website_uid: string;
|
|
481
|
+
/**
|
|
482
|
+
* Cron schedule expression (standard 5-field crontab syntax).
|
|
483
|
+
*/
|
|
484
|
+
time: string;
|
|
485
|
+
/**
|
|
486
|
+
* Command to run on the schedule. Must not contain pipe (|) or redirection (<, >) characters.
|
|
487
|
+
*/
|
|
488
|
+
command: string;
|
|
489
|
+
};
|
|
490
|
+
response: any; // Response structure will depend on the API
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* Permanently deletes the cron job identified by its uuid from an Agency Plan website.
|
|
495
|
+
|
|
496
|
+
The operation is idempotent: deleting a cron job that does not exist succeeds without error.
|
|
497
|
+
*/
|
|
498
|
+
"agency-hosting_deleteAgencyPlanWebsiteCronJobV1": {
|
|
499
|
+
params: {
|
|
500
|
+
/**
|
|
501
|
+
* Agency Plan website UID
|
|
502
|
+
*/
|
|
503
|
+
website_uid: string;
|
|
504
|
+
/**
|
|
505
|
+
* Unique identifier of the cron job as returned by the list cron jobs endpoint.
|
|
506
|
+
*/
|
|
507
|
+
uuid: string;
|
|
508
|
+
};
|
|
509
|
+
response: any; // Response structure will depend on the API
|
|
510
|
+
};
|
|
511
|
+
|
|
432
512
|
/**
|
|
433
513
|
* Retrieves detailed information about a specific Agency Plan website, including configuration,
|
|
434
514
|
status, metadata, hosting plan details, and resource quotas.
|