hostinger-api-mcp 1.8.0 → 1.8.1
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 +29 -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 +95 -0
- package/src/core/tools/agency-hosting.ts +95 -0
- package/src/core/tools/all.js +95 -0
- package/src/core/tools/all.ts +95 -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 +65 -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 (222 total)
|
|
53
|
+
- `hostinger-agency-hosting-mcp` — 17 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,33 @@ 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_listAgencyPlanWebsiteCronJobsV1
|
|
327
|
+
|
|
328
|
+
Returns a paginated list of cron jobs configured for an Agency Plan website.
|
|
329
|
+
|
|
330
|
+
Each entry includes the schedule expression and the command executed on that schedule.
|
|
331
|
+
|
|
332
|
+
- **Method**: `GET`
|
|
333
|
+
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs`
|
|
334
|
+
|
|
335
|
+
#### agency-hosting_createAgencyPlanWebsiteCronJobV1
|
|
336
|
+
|
|
337
|
+
Creates a cron job for an Agency Plan website from a schedule expression and a command.
|
|
338
|
+
|
|
339
|
+
Returns the created cron job, including its uuid, which is required to delete the cron job.
|
|
340
|
+
|
|
341
|
+
- **Method**: `POST`
|
|
342
|
+
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs`
|
|
343
|
+
|
|
344
|
+
#### agency-hosting_deleteAgencyPlanWebsiteCronJobV1
|
|
345
|
+
|
|
346
|
+
Permanently deletes the cron job identified by its uuid from an Agency Plan website.
|
|
347
|
+
|
|
348
|
+
The operation is idempotent: deleting a cron job that does not exist succeeds without error.
|
|
349
|
+
|
|
350
|
+
- **Method**: `DELETE`
|
|
351
|
+
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}`
|
|
352
|
+
|
|
326
353
|
#### agency-hosting_getAgencyPlanWebsiteDetailsV1
|
|
327
354
|
|
|
328
355
|
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.1",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.8.
|
|
14
|
+
"version": "1.8.1",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
|
@@ -456,6 +456,101 @@ export default [
|
|
|
456
456
|
],
|
|
457
457
|
"group": "agency-hosting"
|
|
458
458
|
},
|
|
459
|
+
{
|
|
460
|
+
"name": "agency-hosting_listAgencyPlanWebsiteCronJobsV1",
|
|
461
|
+
"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.",
|
|
462
|
+
"method": "GET",
|
|
463
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
464
|
+
"inputSchema": {
|
|
465
|
+
"type": "object",
|
|
466
|
+
"properties": {
|
|
467
|
+
"website_uid": {
|
|
468
|
+
"type": "string",
|
|
469
|
+
"description": "Agency Plan website UID"
|
|
470
|
+
},
|
|
471
|
+
"page": {
|
|
472
|
+
"type": "integer",
|
|
473
|
+
"description": "Page number"
|
|
474
|
+
},
|
|
475
|
+
"per_page": {
|
|
476
|
+
"type": "integer",
|
|
477
|
+
"description": "Number of items per page"
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
"required": [
|
|
481
|
+
"website_uid"
|
|
482
|
+
]
|
|
483
|
+
},
|
|
484
|
+
"security": [
|
|
485
|
+
{
|
|
486
|
+
"apiToken": []
|
|
487
|
+
}
|
|
488
|
+
],
|
|
489
|
+
"group": "agency-hosting"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "agency-hosting_createAgencyPlanWebsiteCronJobV1",
|
|
493
|
+
"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.",
|
|
494
|
+
"method": "POST",
|
|
495
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
496
|
+
"inputSchema": {
|
|
497
|
+
"type": "object",
|
|
498
|
+
"properties": {
|
|
499
|
+
"website_uid": {
|
|
500
|
+
"type": "string",
|
|
501
|
+
"description": "Agency Plan website UID"
|
|
502
|
+
},
|
|
503
|
+
"time": {
|
|
504
|
+
"type": "string",
|
|
505
|
+
"description": "Cron schedule expression (standard 5-field crontab syntax)."
|
|
506
|
+
},
|
|
507
|
+
"command": {
|
|
508
|
+
"type": "string",
|
|
509
|
+
"description": "Command to run on the schedule. Must not contain pipe (|) or redirection (<, >) characters."
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
"required": [
|
|
513
|
+
"website_uid",
|
|
514
|
+
"time",
|
|
515
|
+
"command"
|
|
516
|
+
]
|
|
517
|
+
},
|
|
518
|
+
"security": [
|
|
519
|
+
{
|
|
520
|
+
"apiToken": []
|
|
521
|
+
}
|
|
522
|
+
],
|
|
523
|
+
"group": "agency-hosting"
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteCronJobV1",
|
|
527
|
+
"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.",
|
|
528
|
+
"method": "DELETE",
|
|
529
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}",
|
|
530
|
+
"inputSchema": {
|
|
531
|
+
"type": "object",
|
|
532
|
+
"properties": {
|
|
533
|
+
"website_uid": {
|
|
534
|
+
"type": "string",
|
|
535
|
+
"description": "Agency Plan website UID"
|
|
536
|
+
},
|
|
537
|
+
"uuid": {
|
|
538
|
+
"type": "string",
|
|
539
|
+
"description": "Unique identifier of the cron job as returned by the list cron jobs endpoint."
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
"required": [
|
|
543
|
+
"website_uid",
|
|
544
|
+
"uuid"
|
|
545
|
+
]
|
|
546
|
+
},
|
|
547
|
+
"security": [
|
|
548
|
+
{
|
|
549
|
+
"apiToken": []
|
|
550
|
+
}
|
|
551
|
+
],
|
|
552
|
+
"group": "agency-hosting"
|
|
553
|
+
},
|
|
459
554
|
{
|
|
460
555
|
"name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
|
|
461
556
|
"description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",
|
|
@@ -470,6 +470,101 @@ const tools: OpenApiTool[] = [
|
|
|
470
470
|
],
|
|
471
471
|
"group": "agency-hosting"
|
|
472
472
|
},
|
|
473
|
+
{
|
|
474
|
+
"name": "agency-hosting_listAgencyPlanWebsiteCronJobsV1",
|
|
475
|
+
"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.",
|
|
476
|
+
"method": "GET",
|
|
477
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
478
|
+
"inputSchema": {
|
|
479
|
+
"type": "object",
|
|
480
|
+
"properties": {
|
|
481
|
+
"website_uid": {
|
|
482
|
+
"type": "string",
|
|
483
|
+
"description": "Agency Plan website UID"
|
|
484
|
+
},
|
|
485
|
+
"page": {
|
|
486
|
+
"type": "integer",
|
|
487
|
+
"description": "Page number"
|
|
488
|
+
},
|
|
489
|
+
"per_page": {
|
|
490
|
+
"type": "integer",
|
|
491
|
+
"description": "Number of items per page"
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
"required": [
|
|
495
|
+
"website_uid"
|
|
496
|
+
]
|
|
497
|
+
},
|
|
498
|
+
"security": [
|
|
499
|
+
{
|
|
500
|
+
"apiToken": []
|
|
501
|
+
}
|
|
502
|
+
],
|
|
503
|
+
"group": "agency-hosting"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"name": "agency-hosting_createAgencyPlanWebsiteCronJobV1",
|
|
507
|
+
"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.",
|
|
508
|
+
"method": "POST",
|
|
509
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
510
|
+
"inputSchema": {
|
|
511
|
+
"type": "object",
|
|
512
|
+
"properties": {
|
|
513
|
+
"website_uid": {
|
|
514
|
+
"type": "string",
|
|
515
|
+
"description": "Agency Plan website UID"
|
|
516
|
+
},
|
|
517
|
+
"time": {
|
|
518
|
+
"type": "string",
|
|
519
|
+
"description": "Cron schedule expression (standard 5-field crontab syntax)."
|
|
520
|
+
},
|
|
521
|
+
"command": {
|
|
522
|
+
"type": "string",
|
|
523
|
+
"description": "Command to run on the schedule. Must not contain pipe (|) or redirection (<, >) characters."
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
"required": [
|
|
527
|
+
"website_uid",
|
|
528
|
+
"time",
|
|
529
|
+
"command"
|
|
530
|
+
]
|
|
531
|
+
},
|
|
532
|
+
"security": [
|
|
533
|
+
{
|
|
534
|
+
"apiToken": []
|
|
535
|
+
}
|
|
536
|
+
],
|
|
537
|
+
"group": "agency-hosting"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteCronJobV1",
|
|
541
|
+
"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.",
|
|
542
|
+
"method": "DELETE",
|
|
543
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}",
|
|
544
|
+
"inputSchema": {
|
|
545
|
+
"type": "object",
|
|
546
|
+
"properties": {
|
|
547
|
+
"website_uid": {
|
|
548
|
+
"type": "string",
|
|
549
|
+
"description": "Agency Plan website UID"
|
|
550
|
+
},
|
|
551
|
+
"uuid": {
|
|
552
|
+
"type": "string",
|
|
553
|
+
"description": "Unique identifier of the cron job as returned by the list cron jobs endpoint."
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
"required": [
|
|
557
|
+
"website_uid",
|
|
558
|
+
"uuid"
|
|
559
|
+
]
|
|
560
|
+
},
|
|
561
|
+
"security": [
|
|
562
|
+
{
|
|
563
|
+
"apiToken": []
|
|
564
|
+
}
|
|
565
|
+
],
|
|
566
|
+
"group": "agency-hosting"
|
|
567
|
+
},
|
|
473
568
|
{
|
|
474
569
|
"name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
|
|
475
570
|
"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,101 @@ export default [
|
|
|
713
713
|
],
|
|
714
714
|
"group": "agency-hosting"
|
|
715
715
|
},
|
|
716
|
+
{
|
|
717
|
+
"name": "agency-hosting_listAgencyPlanWebsiteCronJobsV1",
|
|
718
|
+
"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.",
|
|
719
|
+
"method": "GET",
|
|
720
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
721
|
+
"inputSchema": {
|
|
722
|
+
"type": "object",
|
|
723
|
+
"properties": {
|
|
724
|
+
"website_uid": {
|
|
725
|
+
"type": "string",
|
|
726
|
+
"description": "Agency Plan website UID"
|
|
727
|
+
},
|
|
728
|
+
"page": {
|
|
729
|
+
"type": "integer",
|
|
730
|
+
"description": "Page number"
|
|
731
|
+
},
|
|
732
|
+
"per_page": {
|
|
733
|
+
"type": "integer",
|
|
734
|
+
"description": "Number of items per page"
|
|
735
|
+
}
|
|
736
|
+
},
|
|
737
|
+
"required": [
|
|
738
|
+
"website_uid"
|
|
739
|
+
]
|
|
740
|
+
},
|
|
741
|
+
"security": [
|
|
742
|
+
{
|
|
743
|
+
"apiToken": []
|
|
744
|
+
}
|
|
745
|
+
],
|
|
746
|
+
"group": "agency-hosting"
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"name": "agency-hosting_createAgencyPlanWebsiteCronJobV1",
|
|
750
|
+
"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.",
|
|
751
|
+
"method": "POST",
|
|
752
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
753
|
+
"inputSchema": {
|
|
754
|
+
"type": "object",
|
|
755
|
+
"properties": {
|
|
756
|
+
"website_uid": {
|
|
757
|
+
"type": "string",
|
|
758
|
+
"description": "Agency Plan website UID"
|
|
759
|
+
},
|
|
760
|
+
"time": {
|
|
761
|
+
"type": "string",
|
|
762
|
+
"description": "Cron schedule expression (standard 5-field crontab syntax)."
|
|
763
|
+
},
|
|
764
|
+
"command": {
|
|
765
|
+
"type": "string",
|
|
766
|
+
"description": "Command to run on the schedule. Must not contain pipe (|) or redirection (<, >) characters."
|
|
767
|
+
}
|
|
768
|
+
},
|
|
769
|
+
"required": [
|
|
770
|
+
"website_uid",
|
|
771
|
+
"time",
|
|
772
|
+
"command"
|
|
773
|
+
]
|
|
774
|
+
},
|
|
775
|
+
"security": [
|
|
776
|
+
{
|
|
777
|
+
"apiToken": []
|
|
778
|
+
}
|
|
779
|
+
],
|
|
780
|
+
"group": "agency-hosting"
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteCronJobV1",
|
|
784
|
+
"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.",
|
|
785
|
+
"method": "DELETE",
|
|
786
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}",
|
|
787
|
+
"inputSchema": {
|
|
788
|
+
"type": "object",
|
|
789
|
+
"properties": {
|
|
790
|
+
"website_uid": {
|
|
791
|
+
"type": "string",
|
|
792
|
+
"description": "Agency Plan website UID"
|
|
793
|
+
},
|
|
794
|
+
"uuid": {
|
|
795
|
+
"type": "string",
|
|
796
|
+
"description": "Unique identifier of the cron job as returned by the list cron jobs endpoint."
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
"required": [
|
|
800
|
+
"website_uid",
|
|
801
|
+
"uuid"
|
|
802
|
+
]
|
|
803
|
+
},
|
|
804
|
+
"security": [
|
|
805
|
+
{
|
|
806
|
+
"apiToken": []
|
|
807
|
+
}
|
|
808
|
+
],
|
|
809
|
+
"group": "agency-hosting"
|
|
810
|
+
},
|
|
716
811
|
{
|
|
717
812
|
"name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
|
|
718
813
|
"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,101 @@ const tools: OpenApiTool[] = [
|
|
|
727
727
|
],
|
|
728
728
|
"group": "agency-hosting"
|
|
729
729
|
},
|
|
730
|
+
{
|
|
731
|
+
"name": "agency-hosting_listAgencyPlanWebsiteCronJobsV1",
|
|
732
|
+
"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.",
|
|
733
|
+
"method": "GET",
|
|
734
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
735
|
+
"inputSchema": {
|
|
736
|
+
"type": "object",
|
|
737
|
+
"properties": {
|
|
738
|
+
"website_uid": {
|
|
739
|
+
"type": "string",
|
|
740
|
+
"description": "Agency Plan website UID"
|
|
741
|
+
},
|
|
742
|
+
"page": {
|
|
743
|
+
"type": "integer",
|
|
744
|
+
"description": "Page number"
|
|
745
|
+
},
|
|
746
|
+
"per_page": {
|
|
747
|
+
"type": "integer",
|
|
748
|
+
"description": "Number of items per page"
|
|
749
|
+
}
|
|
750
|
+
},
|
|
751
|
+
"required": [
|
|
752
|
+
"website_uid"
|
|
753
|
+
]
|
|
754
|
+
},
|
|
755
|
+
"security": [
|
|
756
|
+
{
|
|
757
|
+
"apiToken": []
|
|
758
|
+
}
|
|
759
|
+
],
|
|
760
|
+
"group": "agency-hosting"
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"name": "agency-hosting_createAgencyPlanWebsiteCronJobV1",
|
|
764
|
+
"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.",
|
|
765
|
+
"method": "POST",
|
|
766
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
767
|
+
"inputSchema": {
|
|
768
|
+
"type": "object",
|
|
769
|
+
"properties": {
|
|
770
|
+
"website_uid": {
|
|
771
|
+
"type": "string",
|
|
772
|
+
"description": "Agency Plan website UID"
|
|
773
|
+
},
|
|
774
|
+
"time": {
|
|
775
|
+
"type": "string",
|
|
776
|
+
"description": "Cron schedule expression (standard 5-field crontab syntax)."
|
|
777
|
+
},
|
|
778
|
+
"command": {
|
|
779
|
+
"type": "string",
|
|
780
|
+
"description": "Command to run on the schedule. Must not contain pipe (|) or redirection (<, >) characters."
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
"required": [
|
|
784
|
+
"website_uid",
|
|
785
|
+
"time",
|
|
786
|
+
"command"
|
|
787
|
+
]
|
|
788
|
+
},
|
|
789
|
+
"security": [
|
|
790
|
+
{
|
|
791
|
+
"apiToken": []
|
|
792
|
+
}
|
|
793
|
+
],
|
|
794
|
+
"group": "agency-hosting"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteCronJobV1",
|
|
798
|
+
"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.",
|
|
799
|
+
"method": "DELETE",
|
|
800
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}",
|
|
801
|
+
"inputSchema": {
|
|
802
|
+
"type": "object",
|
|
803
|
+
"properties": {
|
|
804
|
+
"website_uid": {
|
|
805
|
+
"type": "string",
|
|
806
|
+
"description": "Agency Plan website UID"
|
|
807
|
+
},
|
|
808
|
+
"uuid": {
|
|
809
|
+
"type": "string",
|
|
810
|
+
"description": "Unique identifier of the cron job as returned by the list cron jobs endpoint."
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
"required": [
|
|
814
|
+
"website_uid",
|
|
815
|
+
"uuid"
|
|
816
|
+
]
|
|
817
|
+
},
|
|
818
|
+
"security": [
|
|
819
|
+
{
|
|
820
|
+
"apiToken": []
|
|
821
|
+
}
|
|
822
|
+
],
|
|
823
|
+
"group": "agency-hosting"
|
|
824
|
+
},
|
|
730
825
|
{
|
|
731
826
|
"name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
|
|
732
827
|
"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,71 @@ 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
|
+
* Returns a paginated list of cron jobs configured for an Agency Plan website.
|
|
434
|
+
|
|
435
|
+
Each entry includes the schedule expression and the command executed on that schedule.
|
|
436
|
+
*/
|
|
437
|
+
"agency-hosting_listAgencyPlanWebsiteCronJobsV1": {
|
|
438
|
+
params: {
|
|
439
|
+
/**
|
|
440
|
+
* Agency Plan website UID
|
|
441
|
+
*/
|
|
442
|
+
website_uid: string;
|
|
443
|
+
/**
|
|
444
|
+
* Page number
|
|
445
|
+
*/
|
|
446
|
+
page?: number;
|
|
447
|
+
/**
|
|
448
|
+
* Number of items per page
|
|
449
|
+
*/
|
|
450
|
+
per_page?: number;
|
|
451
|
+
};
|
|
452
|
+
response: any; // Response structure will depend on the API
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Creates a cron job for an Agency Plan website from a schedule expression and a command.
|
|
457
|
+
|
|
458
|
+
Returns the created cron job, including its uuid, which is required to delete the cron job.
|
|
459
|
+
*/
|
|
460
|
+
"agency-hosting_createAgencyPlanWebsiteCronJobV1": {
|
|
461
|
+
params: {
|
|
462
|
+
/**
|
|
463
|
+
* Agency Plan website UID
|
|
464
|
+
*/
|
|
465
|
+
website_uid: string;
|
|
466
|
+
/**
|
|
467
|
+
* Cron schedule expression (standard 5-field crontab syntax).
|
|
468
|
+
*/
|
|
469
|
+
time: string;
|
|
470
|
+
/**
|
|
471
|
+
* Command to run on the schedule. Must not contain pipe (|) or redirection (<, >) characters.
|
|
472
|
+
*/
|
|
473
|
+
command: string;
|
|
474
|
+
};
|
|
475
|
+
response: any; // Response structure will depend on the API
|
|
476
|
+
};
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* Permanently deletes the cron job identified by its uuid from an Agency Plan website.
|
|
480
|
+
|
|
481
|
+
The operation is idempotent: deleting a cron job that does not exist succeeds without error.
|
|
482
|
+
*/
|
|
483
|
+
"agency-hosting_deleteAgencyPlanWebsiteCronJobV1": {
|
|
484
|
+
params: {
|
|
485
|
+
/**
|
|
486
|
+
* Agency Plan website UID
|
|
487
|
+
*/
|
|
488
|
+
website_uid: string;
|
|
489
|
+
/**
|
|
490
|
+
* Unique identifier of the cron job as returned by the list cron jobs endpoint.
|
|
491
|
+
*/
|
|
492
|
+
uuid: string;
|
|
493
|
+
};
|
|
494
|
+
response: any; // Response structure will depend on the API
|
|
495
|
+
};
|
|
496
|
+
|
|
432
497
|
/**
|
|
433
498
|
* Retrieves detailed information about a specific Agency Plan website, including configuration,
|
|
434
499
|
status, metadata, hosting plan details, and resource quotas.
|