hostinger-api-mcp 1.50.0 → 1.51.0
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/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +2 -0
- package/src/core/runtime.ts +2 -0
- package/src/core/tools/agency-hosting.js +239 -0
- package/src/core/tools/agency-hosting.ts +239 -0
- package/src/core/tools/all.js +2330 -0
- package/src/core/tools/all.ts +2330 -0
- package/src/core/tools/billing.js +57 -0
- package/src/core/tools/billing.ts +57 -0
- package/src/core/tools/dns.js +50 -0
- package/src/core/tools/dns.ts +50 -0
- package/src/core/tools/domains.js +255 -0
- package/src/core/tools/domains.ts +255 -0
- package/src/core/tools/ecommerce.js +180 -0
- package/src/core/tools/ecommerce.ts +180 -0
- package/src/core/tools/horizons.js +12 -0
- package/src/core/tools/horizons.ts +12 -0
- package/src/core/tools/hosting.js +365 -0
- package/src/core/tools/hosting.ts +365 -0
- package/src/core/tools/mail.js +239 -0
- package/src/core/tools/mail.ts +239 -0
- package/src/core/tools/reach.js +306 -0
- package/src/core/tools/reach.ts +306 -0
- package/src/core/tools/vps.js +395 -0
- package/src/core/tools/vps.ts +395 -0
- package/src/core/tools/wordpress.js +232 -0
- package/src/core/tools/wordpress.ts +232 -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/mail.js +1 -1
- package/src/servers/mail.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
|
@@ -16,6 +16,12 @@ export interface OpenApiTool extends Tool {
|
|
|
16
16
|
const tools: OpenApiTool[] = [
|
|
17
17
|
{
|
|
18
18
|
"name": "hosting_importWordpressWebsite",
|
|
19
|
+
"title": "Import WordPress website",
|
|
20
|
+
"annotations": {
|
|
21
|
+
"title": "Import WordPress website",
|
|
22
|
+
"readOnlyHint": false,
|
|
23
|
+
"destructiveHint": true
|
|
24
|
+
},
|
|
19
25
|
"topic": "hosting",
|
|
20
26
|
"description": "Import a WordPress website from an archive file to a hosting server. This tool uploads a website archive (zip, tar, tar.gz, etc.) and a database dump (.sql file) to deploy a complete WordPress website. The archive will be extracted on the server automatically. Note: This process may take a while for larger sites. After upload completion, files are being extracted and the site will be available in a few minutes. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the files yourself, this tool does it end-to-end. The username will be automatically resolved from the domain.",
|
|
21
27
|
"method": "",
|
|
@@ -51,6 +57,12 @@ const tools: OpenApiTool[] = [
|
|
|
51
57
|
},
|
|
52
58
|
{
|
|
53
59
|
"name": "hosting_deployWordpressPlugin",
|
|
60
|
+
"title": "Deploy WordPress plugin",
|
|
61
|
+
"annotations": {
|
|
62
|
+
"title": "Deploy WordPress plugin",
|
|
63
|
+
"readOnlyHint": false,
|
|
64
|
+
"destructiveHint": true
|
|
65
|
+
},
|
|
54
66
|
"topic": "hosting",
|
|
55
67
|
"description": "Deploy a WordPress plugin from a directory to a hosting server. This tool uploads all plugin files and triggers plugin deployment. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the files yourself, this tool does it end-to-end.",
|
|
56
68
|
"method": "",
|
|
@@ -86,6 +98,12 @@ const tools: OpenApiTool[] = [
|
|
|
86
98
|
},
|
|
87
99
|
{
|
|
88
100
|
"name": "hosting_deployWordpressTheme",
|
|
101
|
+
"title": "Deploy WordPress theme",
|
|
102
|
+
"annotations": {
|
|
103
|
+
"title": "Deploy WordPress theme",
|
|
104
|
+
"readOnlyHint": false,
|
|
105
|
+
"destructiveHint": true
|
|
106
|
+
},
|
|
89
107
|
"topic": "hosting",
|
|
90
108
|
"description": "Deploy a WordPress theme from a directory to a hosting server. This tool uploads all theme files and triggers theme deployment. The uploaded theme can optionally be activated after deployment. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the files yourself, this tool does it end-to-end.",
|
|
91
109
|
"method": "",
|
|
@@ -125,6 +143,12 @@ const tools: OpenApiTool[] = [
|
|
|
125
143
|
},
|
|
126
144
|
{
|
|
127
145
|
"name": "hosting_deployJsApplication",
|
|
146
|
+
"title": "Deploy JavaScript application",
|
|
147
|
+
"annotations": {
|
|
148
|
+
"title": "Deploy JavaScript application",
|
|
149
|
+
"readOnlyHint": false,
|
|
150
|
+
"destructiveHint": true
|
|
151
|
+
},
|
|
128
152
|
"topic": "hosting",
|
|
129
153
|
"description": "Deploy a JavaScript application from an archive file to a hosting server. IMPORTANT: the archive must ONLY contain application source files, not the build output, skip node_modules directory; also exclude all files matched by .gitignore if the ignore file exists. The build process will be triggered automatically on the server after the archive is uploaded. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the archive yourself, this tool does it end-to-end. After deployment, use the hosting_listJsDeployments tool to check deployment status and track build progress.",
|
|
130
154
|
"method": "",
|
|
@@ -159,6 +183,12 @@ const tools: OpenApiTool[] = [
|
|
|
159
183
|
},
|
|
160
184
|
{
|
|
161
185
|
"name": "hosting_deployStaticWebsite",
|
|
186
|
+
"title": "Deploy static website",
|
|
187
|
+
"annotations": {
|
|
188
|
+
"title": "Deploy static website",
|
|
189
|
+
"readOnlyHint": false,
|
|
190
|
+
"destructiveHint": true
|
|
191
|
+
},
|
|
162
192
|
"topic": "hosting",
|
|
163
193
|
"description": "Deploy a static website from an archive file to a hosting server. IMPORTANT: This tool only works for static websites with no build process. The archive must contain pre-built static files (HTML, CSS, JavaScript, images, etc.) ready to be served. If the website has a package.json file or requires a build command, use hosting_deployJsApplication instead. The tool uploads the archive to the website's file browser over TUS and triggers deployment; the archive is extracted and deployed directly without any build steps. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the archive yourself, this tool does it end-to-end. The username will be automatically resolved from the domain.",
|
|
164
194
|
"method": "",
|
|
@@ -193,6 +223,12 @@ const tools: OpenApiTool[] = [
|
|
|
193
223
|
},
|
|
194
224
|
{
|
|
195
225
|
"name": "hosting_listJsDeployments",
|
|
226
|
+
"title": "List JavaScript deployments",
|
|
227
|
+
"annotations": {
|
|
228
|
+
"title": "List JavaScript deployments",
|
|
229
|
+
"readOnlyHint": true,
|
|
230
|
+
"destructiveHint": false
|
|
231
|
+
},
|
|
196
232
|
"topic": "hosting",
|
|
197
233
|
"description": "List javascript application deployments for checking their status. Use this tool when customer asks for the status of the deployment. This tool retrieves a paginated list of Node.js application deployments for a domain with optional filtering by deployment states.",
|
|
198
234
|
"method": "",
|
|
@@ -239,6 +275,12 @@ const tools: OpenApiTool[] = [
|
|
|
239
275
|
},
|
|
240
276
|
{
|
|
241
277
|
"name": "hosting_showJsDeploymentLogs",
|
|
278
|
+
"title": "Show JavaScript deployment logs",
|
|
279
|
+
"annotations": {
|
|
280
|
+
"title": "Show JavaScript deployment logs",
|
|
281
|
+
"readOnlyHint": true,
|
|
282
|
+
"destructiveHint": false
|
|
283
|
+
},
|
|
242
284
|
"topic": "hosting",
|
|
243
285
|
"description": "Retrieve logs for a specified JavaScript application deployment for debugging purposes in case of failure.",
|
|
244
286
|
"method": "",
|
|
@@ -273,6 +315,13 @@ const tools: OpenApiTool[] = [
|
|
|
273
315
|
},
|
|
274
316
|
{
|
|
275
317
|
"name": "hosting_clearWebsiteCacheV1",
|
|
318
|
+
"title": "Clear website cache",
|
|
319
|
+
"annotations": {
|
|
320
|
+
"title": "Clear website cache",
|
|
321
|
+
"readOnlyHint": false,
|
|
322
|
+
"destructiveHint": true,
|
|
323
|
+
"idempotentHint": true
|
|
324
|
+
},
|
|
276
325
|
"description": "Permanently clears all server-side cache for the website at once. Use it when content was\nupdated and needs to be visible immediately, or after making major changes.\n\nAlso purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress\ninstallation living in a subdirectory, pass the directory query parameter to clear its cache.",
|
|
277
326
|
"method": "DELETE",
|
|
278
327
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/clear",
|
|
@@ -306,6 +355,13 @@ const tools: OpenApiTool[] = [
|
|
|
306
355
|
},
|
|
307
356
|
{
|
|
308
357
|
"name": "hosting_toggleCachelessModeV1",
|
|
358
|
+
"title": "Toggle cacheless mode",
|
|
359
|
+
"annotations": {
|
|
360
|
+
"title": "Toggle cacheless mode",
|
|
361
|
+
"readOnlyHint": false,
|
|
362
|
+
"destructiveHint": true,
|
|
363
|
+
"idempotentHint": true
|
|
364
|
+
},
|
|
309
365
|
"description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.",
|
|
310
366
|
"method": "PATCH",
|
|
311
367
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle",
|
|
@@ -340,6 +396,13 @@ const tools: OpenApiTool[] = [
|
|
|
340
396
|
},
|
|
341
397
|
{
|
|
342
398
|
"name": "hosting_toggleWebsiteCacheV1",
|
|
399
|
+
"title": "Toggle website cache",
|
|
400
|
+
"annotations": {
|
|
401
|
+
"title": "Toggle website cache",
|
|
402
|
+
"readOnlyHint": false,
|
|
403
|
+
"destructiveHint": true,
|
|
404
|
+
"idempotentHint": true
|
|
405
|
+
},
|
|
343
406
|
"description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state.",
|
|
344
407
|
"method": "PATCH",
|
|
345
408
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle",
|
|
@@ -374,6 +437,12 @@ const tools: OpenApiTool[] = [
|
|
|
374
437
|
},
|
|
375
438
|
{
|
|
376
439
|
"name": "hosting_listAccountCronJobsV1",
|
|
440
|
+
"title": "List account cron jobs",
|
|
441
|
+
"annotations": {
|
|
442
|
+
"title": "List account cron jobs",
|
|
443
|
+
"readOnlyHint": true,
|
|
444
|
+
"destructiveHint": false
|
|
445
|
+
},
|
|
377
446
|
"description": "Returns the list of cron jobs configured for the specified account, including their schedule and command.",
|
|
378
447
|
"method": "GET",
|
|
379
448
|
"path": "/api/hosting/v1/accounts/{username}/cron-jobs",
|
|
@@ -398,6 +467,12 @@ const tools: OpenApiTool[] = [
|
|
|
398
467
|
},
|
|
399
468
|
{
|
|
400
469
|
"name": "hosting_createAccountCronJobV1",
|
|
470
|
+
"title": "Create account cron job",
|
|
471
|
+
"annotations": {
|
|
472
|
+
"title": "Create account cron job",
|
|
473
|
+
"readOnlyHint": false,
|
|
474
|
+
"destructiveHint": false
|
|
475
|
+
},
|
|
401
476
|
"description": "Creates a cron job for the specified account from a schedule expression and a command.\n\nReturns the created cron job, including its uid, which is required to delete the cron job or fetch its output.",
|
|
402
477
|
"method": "POST",
|
|
403
478
|
"path": "/api/hosting/v1/accounts/{username}/cron-jobs",
|
|
@@ -432,6 +507,13 @@ const tools: OpenApiTool[] = [
|
|
|
432
507
|
},
|
|
433
508
|
{
|
|
434
509
|
"name": "hosting_deleteAccountCronJobV1",
|
|
510
|
+
"title": "Delete account cron job",
|
|
511
|
+
"annotations": {
|
|
512
|
+
"title": "Delete account cron job",
|
|
513
|
+
"readOnlyHint": false,
|
|
514
|
+
"destructiveHint": true,
|
|
515
|
+
"idempotentHint": true
|
|
516
|
+
},
|
|
435
517
|
"description": "Permanently deletes the cron job identified by its uid.\n\nThe uid is returned by the list cron jobs endpoint.",
|
|
436
518
|
"method": "DELETE",
|
|
437
519
|
"path": "/api/hosting/v1/accounts/{username}/cron-jobs/{uid}",
|
|
@@ -461,6 +543,12 @@ const tools: OpenApiTool[] = [
|
|
|
461
543
|
},
|
|
462
544
|
{
|
|
463
545
|
"name": "hosting_getCronJobOutputV1",
|
|
546
|
+
"title": "Get cron job output",
|
|
547
|
+
"annotations": {
|
|
548
|
+
"title": "Get cron job output",
|
|
549
|
+
"readOnlyHint": true,
|
|
550
|
+
"destructiveHint": false
|
|
551
|
+
},
|
|
464
552
|
"description": "Returns the output captured from the last execution of the cron job identified by its uid.\n\nThe uid is returned by the list cron jobs endpoint.",
|
|
465
553
|
"method": "GET",
|
|
466
554
|
"path": "/api/hosting/v1/accounts/{username}/cron-jobs/{uid}/output",
|
|
@@ -490,6 +578,13 @@ const tools: OpenApiTool[] = [
|
|
|
490
578
|
},
|
|
491
579
|
{
|
|
492
580
|
"name": "hosting_changeDatabasePasswordV1",
|
|
581
|
+
"title": "Change database password",
|
|
582
|
+
"annotations": {
|
|
583
|
+
"title": "Change database password",
|
|
584
|
+
"readOnlyHint": false,
|
|
585
|
+
"destructiveHint": true,
|
|
586
|
+
"idempotentHint": true
|
|
587
|
+
},
|
|
493
588
|
"description": "Changes the password for the specified database user.\n\nThe database name must be the full name returned by the list databases endpoint.\nThe password must also be updated in any website configuration that uses this database.",
|
|
494
589
|
"method": "PATCH",
|
|
495
590
|
"path": "/api/hosting/v1/accounts/{username}/databases/{name}/change-password",
|
|
@@ -524,6 +619,12 @@ const tools: OpenApiTool[] = [
|
|
|
524
619
|
},
|
|
525
620
|
{
|
|
526
621
|
"name": "hosting_listAccountDatabasesV1",
|
|
622
|
+
"title": "List account databases",
|
|
623
|
+
"annotations": {
|
|
624
|
+
"title": "List account databases",
|
|
625
|
+
"readOnlyHint": true,
|
|
626
|
+
"destructiveHint": false
|
|
627
|
+
},
|
|
527
628
|
"description": "Returns a paginated list of databases for the specified account.\n\nUse the domain and is_assigned filters to find databases assigned to a specific domain.",
|
|
528
629
|
"method": "GET",
|
|
529
630
|
"path": "/api/hosting/v1/accounts/{username}/databases",
|
|
@@ -568,6 +669,12 @@ const tools: OpenApiTool[] = [
|
|
|
568
669
|
},
|
|
569
670
|
{
|
|
570
671
|
"name": "hosting_createAccountDatabaseV1",
|
|
672
|
+
"title": "Create account database",
|
|
673
|
+
"annotations": {
|
|
674
|
+
"title": "Create account database",
|
|
675
|
+
"readOnlyHint": false,
|
|
676
|
+
"destructiveHint": false
|
|
677
|
+
},
|
|
571
678
|
"description": "Creates a database with a database user and password for the specified account.\n\nThe database name and user are automatically prefixed with the account username when needed.",
|
|
572
679
|
"method": "POST",
|
|
573
680
|
"path": "/api/hosting/v1/accounts/{username}/databases",
|
|
@@ -612,6 +719,13 @@ const tools: OpenApiTool[] = [
|
|
|
612
719
|
},
|
|
613
720
|
{
|
|
614
721
|
"name": "hosting_deleteAccountDatabaseV1",
|
|
722
|
+
"title": "Delete account database",
|
|
723
|
+
"annotations": {
|
|
724
|
+
"title": "Delete account database",
|
|
725
|
+
"readOnlyHint": false,
|
|
726
|
+
"destructiveHint": true,
|
|
727
|
+
"idempotentHint": true
|
|
728
|
+
},
|
|
615
729
|
"description": "Permanently deletes a database and its remote connections.\n\nThe database name must be the full name returned by the list databases endpoint.",
|
|
616
730
|
"method": "DELETE",
|
|
617
731
|
"path": "/api/hosting/v1/accounts/{username}/databases/{name}",
|
|
@@ -641,6 +755,12 @@ const tools: OpenApiTool[] = [
|
|
|
641
755
|
},
|
|
642
756
|
{
|
|
643
757
|
"name": "hosting_createDatabaseRemoteConnectionV1",
|
|
758
|
+
"title": "Create database remote connection",
|
|
759
|
+
"annotations": {
|
|
760
|
+
"title": "Create database remote connection",
|
|
761
|
+
"readOnlyHint": false,
|
|
762
|
+
"destructiveHint": false
|
|
763
|
+
},
|
|
644
764
|
"description": "Allows a remote host to connect to the specified database.\n\nProvide an IPv4/IPv6 address, or \"%\" to allow any host. The database name must be\nthe full name returned by the list databases endpoint.",
|
|
645
765
|
"method": "POST",
|
|
646
766
|
"path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
|
|
@@ -675,6 +795,13 @@ const tools: OpenApiTool[] = [
|
|
|
675
795
|
},
|
|
676
796
|
{
|
|
677
797
|
"name": "hosting_deleteDatabaseRemoteConnectionV1",
|
|
798
|
+
"title": "Delete database remote connection",
|
|
799
|
+
"annotations": {
|
|
800
|
+
"title": "Delete database remote connection",
|
|
801
|
+
"readOnlyHint": false,
|
|
802
|
+
"destructiveHint": true,
|
|
803
|
+
"idempotentHint": true
|
|
804
|
+
},
|
|
678
805
|
"description": "Permanently removes a remote-access rule, revoking the given host's remote access to the database.\n\nIdentify the rule with the required ip query parameter (the IPv4/IPv6 address, or \"%\",\nexactly as returned by the list remote connections endpoint). The database name must be\nthe full name returned by the list databases endpoint.",
|
|
679
806
|
"method": "DELETE",
|
|
680
807
|
"path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
|
|
@@ -709,6 +836,12 @@ const tools: OpenApiTool[] = [
|
|
|
709
836
|
},
|
|
710
837
|
{
|
|
711
838
|
"name": "hosting_listDatabaseRemoteConnectionsV1",
|
|
839
|
+
"title": "List database remote connections",
|
|
840
|
+
"annotations": {
|
|
841
|
+
"title": "List database remote connections",
|
|
842
|
+
"readOnlyHint": true,
|
|
843
|
+
"destructiveHint": false
|
|
844
|
+
},
|
|
712
845
|
"description": "Returns the remote-access rules for the specified account: the remote hosts\n(IPv4/IPv6 addresses, or \"%\" for any host) allowed to connect to the account databases.\n\nUse the domain filter to only return rules for databases assigned to a specific domain.",
|
|
713
846
|
"method": "GET",
|
|
714
847
|
"path": "/api/hosting/v1/accounts/{username}/databases/remote-connections",
|
|
@@ -737,6 +870,13 @@ const tools: OpenApiTool[] = [
|
|
|
737
870
|
},
|
|
738
871
|
{
|
|
739
872
|
"name": "hosting_repairDatabaseV1",
|
|
873
|
+
"title": "Repair database",
|
|
874
|
+
"annotations": {
|
|
875
|
+
"title": "Repair database",
|
|
876
|
+
"readOnlyHint": false,
|
|
877
|
+
"destructiveHint": true,
|
|
878
|
+
"idempotentHint": true
|
|
879
|
+
},
|
|
740
880
|
"description": "Repairs corrupted database tables asynchronously.\n\nUse when database errors, crashes, or corruption are reported.\nThe database name must be the full name returned by the list databases endpoint.",
|
|
741
881
|
"method": "PATCH",
|
|
742
882
|
"path": "/api/hosting/v1/accounts/{username}/databases/{name}/repair",
|
|
@@ -766,6 +906,12 @@ const tools: OpenApiTool[] = [
|
|
|
766
906
|
},
|
|
767
907
|
{
|
|
768
908
|
"name": "hosting_getPhpMyAdminLinkV1",
|
|
909
|
+
"title": "Get phpMyAdmin link",
|
|
910
|
+
"annotations": {
|
|
911
|
+
"title": "Get phpMyAdmin link",
|
|
912
|
+
"readOnlyHint": true,
|
|
913
|
+
"destructiveHint": false
|
|
914
|
+
},
|
|
769
915
|
"description": "Returns a direct sign-on link to phpMyAdmin for the specified database.\n\nUse this when a visual database interface is needed for SQL queries, imports, exports, or table management.\nThe database name must be the full name returned by the list databases endpoint.",
|
|
770
916
|
"method": "GET",
|
|
771
917
|
"path": "/api/hosting/v1/accounts/{username}/databases/{name}/phpmyadmin-link",
|
|
@@ -795,6 +941,12 @@ const tools: OpenApiTool[] = [
|
|
|
795
941
|
},
|
|
796
942
|
{
|
|
797
943
|
"name": "hosting_listAvailableDatacentersV1",
|
|
944
|
+
"title": "List available datacenters",
|
|
945
|
+
"annotations": {
|
|
946
|
+
"title": "List available datacenters",
|
|
947
|
+
"readOnlyHint": true,
|
|
948
|
+
"destructiveHint": false
|
|
949
|
+
},
|
|
798
950
|
"description": "Retrieve a list of datacenters available for setting up hosting plans\nbased on available datacenter capacity and hosting plan of your order.\nThe first item in the list is the best match for your specific order\nrequirements.",
|
|
799
951
|
"method": "GET",
|
|
800
952
|
"path": "/api/hosting/v1/datacenters",
|
|
@@ -819,6 +971,12 @@ const tools: OpenApiTool[] = [
|
|
|
819
971
|
},
|
|
820
972
|
{
|
|
821
973
|
"name": "hosting_generateAFreeSubdomainV1",
|
|
974
|
+
"title": "Generate a free subdomain",
|
|
975
|
+
"annotations": {
|
|
976
|
+
"title": "Generate a free subdomain",
|
|
977
|
+
"readOnlyHint": false,
|
|
978
|
+
"destructiveHint": false
|
|
979
|
+
},
|
|
822
980
|
"description": "Generate a unique free subdomain that can be used for hosting services without purchasing custom domains.\nFree subdomains allow you to start using hosting services immediately\nand you can always connect a custom domain to your site later.",
|
|
823
981
|
"method": "POST",
|
|
824
982
|
"path": "/api/hosting/v1/domains/free-subdomains",
|
|
@@ -836,6 +994,12 @@ const tools: OpenApiTool[] = [
|
|
|
836
994
|
},
|
|
837
995
|
{
|
|
838
996
|
"name": "hosting_listWebsiteParkedDomainsV1",
|
|
997
|
+
"title": "List website parked domains",
|
|
998
|
+
"annotations": {
|
|
999
|
+
"title": "List website parked domains",
|
|
1000
|
+
"readOnlyHint": true,
|
|
1001
|
+
"destructiveHint": false
|
|
1002
|
+
},
|
|
839
1003
|
"description": "Retrieve all parked or alias domains created under the selected website.\n\nUse this endpoint to inspect parked domain configuration for a specific website,\nincluding the parent domain and root directory assigned to each parked domain.",
|
|
840
1004
|
"method": "GET",
|
|
841
1005
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains",
|
|
@@ -865,6 +1029,12 @@ const tools: OpenApiTool[] = [
|
|
|
865
1029
|
},
|
|
866
1030
|
{
|
|
867
1031
|
"name": "hosting_createWebsiteParkedDomainV1",
|
|
1032
|
+
"title": "Create website parked domain",
|
|
1033
|
+
"annotations": {
|
|
1034
|
+
"title": "Create website parked domain",
|
|
1035
|
+
"readOnlyHint": false,
|
|
1036
|
+
"destructiveHint": false
|
|
1037
|
+
},
|
|
868
1038
|
"description": "Create a parked or alias domain for the selected website.\n\nProvide a domain name or IP address to park on the website so it serves the same content\nas the parent domain.",
|
|
869
1039
|
"method": "POST",
|
|
870
1040
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains",
|
|
@@ -899,6 +1069,13 @@ const tools: OpenApiTool[] = [
|
|
|
899
1069
|
},
|
|
900
1070
|
{
|
|
901
1071
|
"name": "hosting_deleteWebsiteParkedDomainV1",
|
|
1072
|
+
"title": "Delete website parked domain",
|
|
1073
|
+
"annotations": {
|
|
1074
|
+
"title": "Delete website parked domain",
|
|
1075
|
+
"readOnlyHint": false,
|
|
1076
|
+
"destructiveHint": true,
|
|
1077
|
+
"idempotentHint": true
|
|
1078
|
+
},
|
|
902
1079
|
"description": "Delete an existing parked or alias domain from the selected website.\n\nUse this endpoint to remove parked domains that are no longer needed.",
|
|
903
1080
|
"method": "DELETE",
|
|
904
1081
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains/{parkedDomain}",
|
|
@@ -933,6 +1110,12 @@ const tools: OpenApiTool[] = [
|
|
|
933
1110
|
},
|
|
934
1111
|
{
|
|
935
1112
|
"name": "hosting_listWebsiteSubdomainsV1",
|
|
1113
|
+
"title": "List website subdomains",
|
|
1114
|
+
"annotations": {
|
|
1115
|
+
"title": "List website subdomains",
|
|
1116
|
+
"readOnlyHint": true,
|
|
1117
|
+
"destructiveHint": false
|
|
1118
|
+
},
|
|
936
1119
|
"description": "Retrieve all subdomains created under the selected website.\n\nUse this endpoint to inspect subdomain configuration for a specific website,\nincluding the parent domain and root directory assigned to each subdomain.",
|
|
937
1120
|
"method": "GET",
|
|
938
1121
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/subdomains",
|
|
@@ -962,6 +1145,12 @@ const tools: OpenApiTool[] = [
|
|
|
962
1145
|
},
|
|
963
1146
|
{
|
|
964
1147
|
"name": "hosting_createWebsiteSubdomainV1",
|
|
1148
|
+
"title": "Create website subdomain",
|
|
1149
|
+
"annotations": {
|
|
1150
|
+
"title": "Create website subdomain",
|
|
1151
|
+
"readOnlyHint": false,
|
|
1152
|
+
"destructiveHint": false
|
|
1153
|
+
},
|
|
965
1154
|
"description": "Create a new subdomain for the selected website.\n\nProvide a subdomain prefix and, optionally, a custom directory or the\nwebsite public directory to use as the subdomain root.",
|
|
966
1155
|
"method": "POST",
|
|
967
1156
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/subdomains",
|
|
@@ -1004,6 +1193,13 @@ const tools: OpenApiTool[] = [
|
|
|
1004
1193
|
},
|
|
1005
1194
|
{
|
|
1006
1195
|
"name": "hosting_deleteWebsiteSubdomainV1",
|
|
1196
|
+
"title": "Delete website subdomain",
|
|
1197
|
+
"annotations": {
|
|
1198
|
+
"title": "Delete website subdomain",
|
|
1199
|
+
"readOnlyHint": false,
|
|
1200
|
+
"destructiveHint": true,
|
|
1201
|
+
"idempotentHint": true
|
|
1202
|
+
},
|
|
1007
1203
|
"description": "Delete an existing subdomain from the selected website.\n\nUse this endpoint to remove subdomains that are no longer needed.",
|
|
1008
1204
|
"method": "DELETE",
|
|
1009
1205
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/subdomains/{subdomain}",
|
|
@@ -1038,6 +1234,12 @@ const tools: OpenApiTool[] = [
|
|
|
1038
1234
|
},
|
|
1039
1235
|
{
|
|
1040
1236
|
"name": "hosting_verifyDomainOwnershipV1",
|
|
1237
|
+
"title": "Verify domain ownership",
|
|
1238
|
+
"annotations": {
|
|
1239
|
+
"title": "Verify domain ownership",
|
|
1240
|
+
"readOnlyHint": false,
|
|
1241
|
+
"destructiveHint": false
|
|
1242
|
+
},
|
|
1041
1243
|
"description": "Verify ownership of a single domain and return the verification status.\n\nUse this endpoint to check if a domain is accessible for you before using it for new websites.\nIf the domain is accessible, the response will have `is_accessible: true`.\nIf not, add the given TXT record to your domain's DNS records and try verifying again.\nKeep in mind that it may take up to 10 minutes for new TXT DNS records to propagate.\n\nSkip this verification when using Hostinger's free subdomains (*.hostingersite.com).",
|
|
1042
1244
|
"method": "POST",
|
|
1043
1245
|
"path": "/api/hosting/v1/domains/verify-ownership",
|
|
@@ -1062,6 +1264,12 @@ const tools: OpenApiTool[] = [
|
|
|
1062
1264
|
},
|
|
1063
1265
|
{
|
|
1064
1266
|
"name": "hosting_generateUploadURLV1",
|
|
1267
|
+
"title": "Generate upload URL",
|
|
1268
|
+
"annotations": {
|
|
1269
|
+
"title": "Generate upload URL",
|
|
1270
|
+
"readOnlyHint": false,
|
|
1271
|
+
"destructiveHint": false
|
|
1272
|
+
},
|
|
1065
1273
|
"description": "Generate a file browser upload URL with authentication credentials\nfor uploading files directly to a website's file storage.\n\nReturns `url`, `auth_key` and `rest_auth_key`. Use these to upload a file to the\nwebsite's `public_html` directory via the TUS resumable upload protocol (TUS 1.0.0).\nSend `X-Auth: {auth_key}` and `X-Auth-Rest: {rest_auth_key}` headers on every request\nbelow.\n\n1. Create the upload: `POST` to `{url}/{relative_file_path}?override=true` with headers\n `upload-length: {file size in bytes}` and `upload-offset: 0`. Expect `201 Created`.\n2. Upload the file: send the file bytes to the same location (any TUS 1.0.0 client, or\n `PATCH` requests with an `upload-offset` header tracking progress) until complete.\n\n`relative_file_path` is the destination path inside `public_html`, e.g. `app.zip`.\n\nInstead of a TUS client, plain `curl` also works:\n```\nFILE=app.zip\nSIZE=$(stat -f%z \"$FILE\") # stat -c%s on Linux\n\ncurl -i -X POST \"{url}/${FILE}?override=true\" \\\n -H \"X-Auth: {auth_key}\" \\\n -H \"X-Auth-Rest: {rest_auth_key}\" \\\n -H \"Tus-Resumable: 1.0.0\" \\\n -H \"Upload-Length: ${SIZE}\" \\\n -H \"Upload-Offset: 0\"\n# -> 201 Created\n\ncurl -i -X PATCH \"{url}/${FILE}?override=true\" \\\n -H \"X-Auth: {auth_key}\" \\\n -H \"X-Auth-Rest: {rest_auth_key}\" \\\n -H \"Tus-Resumable: 1.0.0\" \\\n -H \"Content-Type: application/offset+octet-stream\" \\\n -H \"Upload-Offset: 0\" \\\n --data-binary \"@${FILE}\"\n# -> 204 No Content, Upload-Offset response header equals SIZE when done\n```",
|
|
1066
1274
|
"method": "POST",
|
|
1067
1275
|
"path": "/api/hosting/v1/files/upload-urls",
|
|
@@ -1091,6 +1299,12 @@ const tools: OpenApiTool[] = [
|
|
|
1091
1299
|
},
|
|
1092
1300
|
{
|
|
1093
1301
|
"name": "hosting_listWebsiteFilesAndDirectoriesV1",
|
|
1302
|
+
"title": "List website files and directories",
|
|
1303
|
+
"annotations": {
|
|
1304
|
+
"title": "List website files and directories",
|
|
1305
|
+
"readOnlyHint": true,
|
|
1306
|
+
"destructiveHint": false
|
|
1307
|
+
},
|
|
1094
1308
|
"description": "List files and directories under a website's document root.\n\nUse `directory` to browse a subdirectory relative to the document root. Symlinked entries\nare listed but never traversed into or resolved.",
|
|
1095
1309
|
"method": "GET",
|
|
1096
1310
|
"path": "/api/hosting/v1/accounts/{username}/domains/{domain}/files",
|
|
@@ -1150,6 +1364,12 @@ const tools: OpenApiTool[] = [
|
|
|
1150
1364
|
},
|
|
1151
1365
|
{
|
|
1152
1366
|
"name": "hosting_getWebsiteFileContentV1",
|
|
1367
|
+
"title": "Get website file content",
|
|
1368
|
+
"annotations": {
|
|
1369
|
+
"title": "Get website file content",
|
|
1370
|
+
"readOnlyHint": true,
|
|
1371
|
+
"destructiveHint": false
|
|
1372
|
+
},
|
|
1153
1373
|
"description": "Get a single file's content, relative to a website's document root.\n\nRead-only; refuses symlinks, oversized files, non-text file types, and files identified as\ncontaining secrets (e.g. credential files) — none of these are returned by this endpoint.",
|
|
1154
1374
|
"method": "GET",
|
|
1155
1375
|
"path": "/api/hosting/v1/accounts/{username}/domains/{domain}/files/content",
|
|
@@ -1192,6 +1412,12 @@ const tools: OpenApiTool[] = [
|
|
|
1192
1412
|
},
|
|
1193
1413
|
{
|
|
1194
1414
|
"name": "hosting_listNodeJSBuildsV1",
|
|
1415
|
+
"title": "List NodeJS builds",
|
|
1416
|
+
"annotations": {
|
|
1417
|
+
"title": "List NodeJS builds",
|
|
1418
|
+
"readOnlyHint": true,
|
|
1419
|
+
"destructiveHint": false
|
|
1420
|
+
},
|
|
1195
1421
|
"description": "Retrieve a paginated list of Node.js build processes for a specific website.\n\nEach build represents a single run of the Node.js build pipeline. Use the `states`\nquery parameter to filter results by build state (pending, running, completed, failed).\nUse the `uuid` from a build to poll its output via the `Get Node.js Build Logs` endpoint.",
|
|
1196
1422
|
"method": "GET",
|
|
1197
1423
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds",
|
|
@@ -1243,6 +1469,12 @@ const tools: OpenApiTool[] = [
|
|
|
1243
1469
|
},
|
|
1244
1470
|
{
|
|
1245
1471
|
"name": "hosting_startNode_jsBuildV1",
|
|
1472
|
+
"title": "Start Node.js build",
|
|
1473
|
+
"annotations": {
|
|
1474
|
+
"title": "Start Node.js build",
|
|
1475
|
+
"readOnlyHint": false,
|
|
1476
|
+
"destructiveHint": false
|
|
1477
|
+
},
|
|
1246
1478
|
"description": "Start a Node.js build process using files already present on the website's file storage.\n\nWARNING: on success this overwrites the website's existing contents and cannot be\nundone — verify this is intended before calling this endpoint.\n\nThe `source_type` must be `archive` and `source_options.archive_path` must point to an\nexisting archive file on the server (relative to the website document root).\nUse the `Generate Upload URL` endpoint to obtain credentials and upload the archive first.\n\nTo auto-detect build settings from an archive before starting, first call the\n`Get Node.js Build Settings from Archive` endpoint.\n\nThe returned build `uuid` can be used to poll progress and retrieve logs via\nthe `Get Node.js Build Logs` endpoint.",
|
|
1247
1479
|
"method": "POST",
|
|
1248
1480
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds",
|
|
@@ -1356,6 +1588,12 @@ const tools: OpenApiTool[] = [
|
|
|
1356
1588
|
},
|
|
1357
1589
|
{
|
|
1358
1590
|
"name": "hosting_getNode_jsBuildSettingsFromArchiveV1",
|
|
1591
|
+
"title": "Get Node.js build settings from archive",
|
|
1592
|
+
"annotations": {
|
|
1593
|
+
"title": "Get Node.js build settings from archive",
|
|
1594
|
+
"readOnlyHint": true,
|
|
1595
|
+
"destructiveHint": false
|
|
1596
|
+
},
|
|
1359
1597
|
"description": "Auto-detect Node.js build settings from a package.json inside an archive already on the server.\n\nUse this before calling `Start Node.js Build` to preview what settings will be used,\nor to let the user review and override values (framework, node version, root directory,\noutput directory, build script) before committing to a build.\n\nThe archive must already be present on the website's file storage. Use the\n`Generate Upload URL` endpoint to obtain credentials and upload the archive first.",
|
|
1360
1598
|
"method": "GET",
|
|
1361
1599
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings/from-archive",
|
|
@@ -1390,6 +1628,12 @@ const tools: OpenApiTool[] = [
|
|
|
1390
1628
|
},
|
|
1391
1629
|
{
|
|
1392
1630
|
"name": "hosting_listNode_jsEnvironmentVariablesV1",
|
|
1631
|
+
"title": "List Node.js environment variables",
|
|
1632
|
+
"annotations": {
|
|
1633
|
+
"title": "List Node.js environment variables",
|
|
1634
|
+
"readOnlyHint": true,
|
|
1635
|
+
"destructiveHint": false
|
|
1636
|
+
},
|
|
1393
1637
|
"description": "Lists the Node.js environment variables currently set for the website. Values are always\nmasked as `********` and cannot be read back through this API. Use this endpoint to see\nwhich keys are configured or to verify a change, not to read values.\n\nTo change variables, use the `Replace Node.js environment variables` endpoint. It replaces\nthe whole set, so never copy the masked values from this response into that request; send\nthe full desired set with real values taken from the project `.env` file or the user\nprompt instead.",
|
|
1394
1638
|
"method": "GET",
|
|
1395
1639
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings/env",
|
|
@@ -1419,6 +1663,13 @@ const tools: OpenApiTool[] = [
|
|
|
1419
1663
|
},
|
|
1420
1664
|
{
|
|
1421
1665
|
"name": "hosting_replaceNode_jsEnvironmentVariablesV1",
|
|
1666
|
+
"title": "Replace Node.js environment variables",
|
|
1667
|
+
"annotations": {
|
|
1668
|
+
"title": "Replace Node.js environment variables",
|
|
1669
|
+
"readOnlyHint": false,
|
|
1670
|
+
"destructiveHint": true,
|
|
1671
|
+
"idempotentHint": true
|
|
1672
|
+
},
|
|
1422
1673
|
"description": "Replaces the website's Node.js environment variables with the ones provided. This is a\nfull replace: any variable not in the request is deleted, and sending an empty `env_vars`\narray deletes every variable. Saving writes the values and restarts the running Node.js\nprocess.\n\nA restart is enough for apps that read environment variables at process start, such as\nExpress or NestJS. It is not enough for frameworks that bake variables into the build.\nNext.js standalone is one of those: build-time values (including `NEXT_PUBLIC_*`) need a\nfresh build. After this call, use the `Start Node.js build` endpoint so those apps\npick up the new values.\n\nThe `List Node.js environment variables` endpoint returns masked values (`********`), so\nnever copy values from it into this request. Always send the full desired set with real\nvalues taken from the project `.env` file or the user prompt.",
|
|
1423
1674
|
"method": "PUT",
|
|
1424
1675
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings/env",
|
|
@@ -1471,6 +1722,12 @@ const tools: OpenApiTool[] = [
|
|
|
1471
1722
|
},
|
|
1472
1723
|
{
|
|
1473
1724
|
"name": "hosting_getNodeJSBuildLogsV1",
|
|
1725
|
+
"title": "Get NodeJS build logs",
|
|
1726
|
+
"annotations": {
|
|
1727
|
+
"title": "Get NodeJS build logs",
|
|
1728
|
+
"readOnlyHint": true,
|
|
1729
|
+
"destructiveHint": false
|
|
1730
|
+
},
|
|
1474
1731
|
"description": "Retrieve logs from a specific Node.js build process.\n\nTo stream live output while a build is running, poll this endpoint repeatedly\nwhile the build state is `running`, passing the previously returned `lines` count\nas `from_line` to fetch only new output since the last call.\nLog content may contain ANSI escape sequences (color codes).",
|
|
1475
1732
|
"method": "GET",
|
|
1476
1733
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/{uuid}/logs",
|
|
@@ -1509,6 +1766,12 @@ const tools: OpenApiTool[] = [
|
|
|
1509
1766
|
},
|
|
1510
1767
|
{
|
|
1511
1768
|
"name": "hosting_restartNode_jsApplicationV1",
|
|
1769
|
+
"title": "Restart Node.js application",
|
|
1770
|
+
"annotations": {
|
|
1771
|
+
"title": "Restart Node.js application",
|
|
1772
|
+
"readOnlyHint": false,
|
|
1773
|
+
"destructiveHint": false
|
|
1774
|
+
},
|
|
1512
1775
|
"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.",
|
|
1513
1776
|
"method": "POST",
|
|
1514
1777
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart",
|
|
@@ -1538,6 +1801,12 @@ const tools: OpenApiTool[] = [
|
|
|
1538
1801
|
},
|
|
1539
1802
|
{
|
|
1540
1803
|
"name": "hosting_listNode_jsVulnerabilitiesV1",
|
|
1804
|
+
"title": "List Node.js vulnerabilities",
|
|
1805
|
+
"annotations": {
|
|
1806
|
+
"title": "List Node.js vulnerabilities",
|
|
1807
|
+
"readOnlyHint": true,
|
|
1808
|
+
"destructiveHint": false
|
|
1809
|
+
},
|
|
1541
1810
|
"description": "Lists known npm package vulnerabilities detected on a Node.js website, enriched with\nadvisory metadata (severity, CVSS score, CVE, advisory URL). Results are sorted from\nthe most severe to the least severe, then by publish date (newest first). Use the\n`severities` query parameter to filter.\n\nVulnerabilities with `is_patchable` set to `true` can be auto-fixed via the\n`Patch Node.js Vulnerabilities` endpoint, which opens a GitHub pull request with\nupdated package versions. Auto-fix is only available for websites deployed from a\nconnected GitHub repository. Vulnerabilities with `is_patching_in_progress` set to\n`true` are already included in an open patch pull request; while any patch pull\nrequest is open, new patch requests for this website are rejected until it is merged\nor closed.\n\nData comes from periodic dependency scans, so it may lag behind the latest deployment.\nAn empty list means the most recent scan found no vulnerabilities; it does not\nguarantee the current deployment is vulnerability-free. Available on Business and\nCloud Hosting plans.",
|
|
1542
1811
|
"method": "GET",
|
|
1543
1812
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/vulnerabilities",
|
|
@@ -1582,6 +1851,12 @@ const tools: OpenApiTool[] = [
|
|
|
1582
1851
|
},
|
|
1583
1852
|
{
|
|
1584
1853
|
"name": "hosting_patchNode_jsVulnerabilitiesV1",
|
|
1854
|
+
"title": "Patch Node.js vulnerabilities",
|
|
1855
|
+
"annotations": {
|
|
1856
|
+
"title": "Patch Node.js vulnerabilities",
|
|
1857
|
+
"readOnlyHint": false,
|
|
1858
|
+
"destructiveHint": false
|
|
1859
|
+
},
|
|
1585
1860
|
"description": "Patches the selected Node.js vulnerabilities by updating the affected package versions\nin `package.json` and opening a GitHub pull request in the connected repository. The\ncustomer reviews and merges the pull request; merging triggers the automatic deployment.\n\nAuto-fix is only available for websites deployed from a connected GitHub repository.\nWebsites deployed from an archive have no auto-fix path and return a 404. The Hostinger\nGitHub App needs write access to the repository; without it the request fails with a\n403 explaining the missing permission.\n\nOnly vulnerabilities with `is_patchable` set to `true` can be patched. Non-patchable\nIDs in the selection are skipped; the pull request covers the patchable subset, listed\nin `patched_vulnerability_ids`. Selections without any patchable vulnerability are\nrejected with a 422. Only one patch pull request can be open at a time per website;\nclose or merge it before patching again. Available on Business and Cloud Hosting plans.",
|
|
1586
1861
|
"method": "POST",
|
|
1587
1862
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/vulnerabilities/patch",
|
|
@@ -1620,6 +1895,12 @@ const tools: OpenApiTool[] = [
|
|
|
1620
1895
|
},
|
|
1621
1896
|
{
|
|
1622
1897
|
"name": "hosting_listOrdersV1",
|
|
1898
|
+
"title": "List orders",
|
|
1899
|
+
"annotations": {
|
|
1900
|
+
"title": "List orders",
|
|
1901
|
+
"readOnlyHint": true,
|
|
1902
|
+
"destructiveHint": false
|
|
1903
|
+
},
|
|
1623
1904
|
"description": "Retrieve a paginated list of orders accessible to the authenticated client.\n\nThis endpoint returns orders of your hosting accounts as well as orders\nof other client hosting accounts that have shared access with you.\n\nUse the available query parameters to filter results by order statuses\nor specific order IDs for more targeted results.",
|
|
1624
1905
|
"method": "GET",
|
|
1625
1906
|
"path": "/api/hosting/v1/orders",
|
|
@@ -1668,6 +1949,13 @@ const tools: OpenApiTool[] = [
|
|
|
1668
1949
|
},
|
|
1669
1950
|
{
|
|
1670
1951
|
"name": "hosting_resetPHPExtensionsV1",
|
|
1952
|
+
"title": "Reset PHP extensions",
|
|
1953
|
+
"annotations": {
|
|
1954
|
+
"title": "Reset PHP extensions",
|
|
1955
|
+
"readOnlyHint": false,
|
|
1956
|
+
"destructiveHint": true,
|
|
1957
|
+
"idempotentHint": true
|
|
1958
|
+
},
|
|
1671
1959
|
"description": "Resets all PHP extensions of the website to their default state.\n\nUse it to recover from extension conflicts or restore the original configuration.",
|
|
1672
1960
|
"method": "PATCH",
|
|
1673
1961
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions/reset",
|
|
@@ -1697,6 +1985,12 @@ const tools: OpenApiTool[] = [
|
|
|
1697
1985
|
},
|
|
1698
1986
|
{
|
|
1699
1987
|
"name": "hosting_getPHPDetailsV1",
|
|
1988
|
+
"title": "Get PHP details",
|
|
1989
|
+
"annotations": {
|
|
1990
|
+
"title": "Get PHP details",
|
|
1991
|
+
"readOnlyHint": true,
|
|
1992
|
+
"destructiveHint": false
|
|
1993
|
+
},
|
|
1700
1994
|
"description": "Returns the full PHP configuration for the website: current version, available versions\n(supported and unsupported), enabled/disabled extensions, options with their current value,\ndefault, type and the plan limit (`max`), and conflicting extension groups.\n\nUse it to check the current PHP setup before updating the version, extensions or options.",
|
|
1701
1995
|
"method": "GET",
|
|
1702
1996
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/details",
|
|
@@ -1726,6 +2020,12 @@ const tools: OpenApiTool[] = [
|
|
|
1726
2020
|
},
|
|
1727
2021
|
{
|
|
1728
2022
|
"name": "hosting_getPHPInfoV1",
|
|
2023
|
+
"title": "Get PHP info",
|
|
2024
|
+
"annotations": {
|
|
2025
|
+
"title": "Get PHP info",
|
|
2026
|
+
"readOnlyHint": true,
|
|
2027
|
+
"destructiveHint": false
|
|
2028
|
+
},
|
|
1729
2029
|
"description": "Returns the full phpinfo page (HTML) for the website.\n\nUse it to debug PHP issues or inspect the complete PHP environment of the website.",
|
|
1730
2030
|
"method": "GET",
|
|
1731
2031
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/php-info",
|
|
@@ -1755,6 +2055,13 @@ const tools: OpenApiTool[] = [
|
|
|
1755
2055
|
},
|
|
1756
2056
|
{
|
|
1757
2057
|
"name": "hosting_updatePHPExtensionsV1",
|
|
2058
|
+
"title": "Update PHP extensions",
|
|
2059
|
+
"annotations": {
|
|
2060
|
+
"title": "Update PHP extensions",
|
|
2061
|
+
"readOnlyHint": false,
|
|
2062
|
+
"destructiveHint": true,
|
|
2063
|
+
"idempotentHint": true
|
|
2064
|
+
},
|
|
1758
2065
|
"description": "Enables or disables PHP extensions (modules) for the website.\n\nUse the Get PHP details endpoint to check the current extension states before changing them.",
|
|
1759
2066
|
"method": "PATCH",
|
|
1760
2067
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions",
|
|
@@ -1800,6 +2107,13 @@ const tools: OpenApiTool[] = [
|
|
|
1800
2107
|
},
|
|
1801
2108
|
{
|
|
1802
2109
|
"name": "hosting_updatePHPOptionsV1",
|
|
2110
|
+
"title": "Update PHP options",
|
|
2111
|
+
"annotations": {
|
|
2112
|
+
"title": "Update PHP options",
|
|
2113
|
+
"readOnlyHint": false,
|
|
2114
|
+
"destructiveHint": true,
|
|
2115
|
+
"idempotentHint": true
|
|
2116
|
+
},
|
|
1803
2117
|
"description": "Updates PHP options for the website (e.g. `memory_limit`, `max_execution_time`, `upload_max_filesize`).\nOnly provide the options you want to change, inside the `options` object.\n\nValues above the account plan limit are silently capped to that limit, so the request can succeed\nwith a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.",
|
|
1804
2118
|
"method": "PATCH",
|
|
1805
2119
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/options",
|
|
@@ -1835,6 +2149,13 @@ const tools: OpenApiTool[] = [
|
|
|
1835
2149
|
},
|
|
1836
2150
|
{
|
|
1837
2151
|
"name": "hosting_updatePHPVersionV1",
|
|
2152
|
+
"title": "Update PHP version",
|
|
2153
|
+
"annotations": {
|
|
2154
|
+
"title": "Update PHP version",
|
|
2155
|
+
"readOnlyHint": false,
|
|
2156
|
+
"destructiveHint": true,
|
|
2157
|
+
"idempotentHint": true
|
|
2158
|
+
},
|
|
1838
2159
|
"description": "Changes the PHP version of the website.\n\nUse the Get PHP details endpoint to see the versions available for the website.",
|
|
1839
2160
|
"method": "PATCH",
|
|
1840
2161
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/version",
|
|
@@ -1869,6 +2190,12 @@ const tools: OpenApiTool[] = [
|
|
|
1869
2190
|
},
|
|
1870
2191
|
{
|
|
1871
2192
|
"name": "hosting_listWebsiteRedirectsV1",
|
|
2193
|
+
"title": "List website redirects",
|
|
2194
|
+
"annotations": {
|
|
2195
|
+
"title": "List website redirects",
|
|
2196
|
+
"readOnlyHint": true,
|
|
2197
|
+
"destructiveHint": false
|
|
2198
|
+
},
|
|
1872
2199
|
"description": "Returns a paginated list of redirects configured for the selected website.",
|
|
1873
2200
|
"method": "GET",
|
|
1874
2201
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
|
|
@@ -1906,6 +2233,12 @@ const tools: OpenApiTool[] = [
|
|
|
1906
2233
|
},
|
|
1907
2234
|
{
|
|
1908
2235
|
"name": "hosting_createWebsiteRedirectV1",
|
|
2236
|
+
"title": "Create website redirect",
|
|
2237
|
+
"annotations": {
|
|
2238
|
+
"title": "Create website redirect",
|
|
2239
|
+
"readOnlyHint": false,
|
|
2240
|
+
"destructiveHint": false
|
|
2241
|
+
},
|
|
1909
2242
|
"description": "Creates a redirect from a URL on the selected website to another URL or IP address.",
|
|
1910
2243
|
"method": "POST",
|
|
1911
2244
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
|
|
@@ -1945,6 +2278,13 @@ const tools: OpenApiTool[] = [
|
|
|
1945
2278
|
},
|
|
1946
2279
|
{
|
|
1947
2280
|
"name": "hosting_deleteWebsiteRedirectV1",
|
|
2281
|
+
"title": "Delete website redirect",
|
|
2282
|
+
"annotations": {
|
|
2283
|
+
"title": "Delete website redirect",
|
|
2284
|
+
"readOnlyHint": false,
|
|
2285
|
+
"destructiveHint": true,
|
|
2286
|
+
"idempotentHint": true
|
|
2287
|
+
},
|
|
1948
2288
|
"description": "Permanently deletes the redirect identified by its source URL.\n\nPass the `from` value exactly as returned by the list redirects endpoint.",
|
|
1949
2289
|
"method": "DELETE",
|
|
1950
2290
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
|
|
@@ -1979,6 +2319,12 @@ const tools: OpenApiTool[] = [
|
|
|
1979
2319
|
},
|
|
1980
2320
|
{
|
|
1981
2321
|
"name": "hosting_listWebsitesV1",
|
|
2322
|
+
"title": "List websites",
|
|
2323
|
+
"annotations": {
|
|
2324
|
+
"title": "List websites",
|
|
2325
|
+
"readOnlyHint": true,
|
|
2326
|
+
"destructiveHint": false
|
|
2327
|
+
},
|
|
1982
2328
|
"description": "Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the\nauthenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nEach website includes a `website_type` field describing the type of\nwebsite detected on the underlying platform (`wordpress`, `builder`,\n`horizons`, `nodejs`, or `other`). Some fields, such as\n`vhost_type`, `username`, and `root_directory`, only apply to\nCloudLinux websites and are null for other platforms.\n\nUse `website_types` to list only websites of a given detected type, e.g. only\nWordPress websites (`website_types=wordpress`) or only Node.js websites\n(`website_types=nodejs`). Combine with the other available query parameters to\nfilter by username, order ID, enabled status, or domain name for more targeted\nresults.",
|
|
1983
2329
|
"method": "GET",
|
|
1984
2330
|
"path": "/api/hosting/v1/websites",
|
|
@@ -2036,6 +2382,12 @@ const tools: OpenApiTool[] = [
|
|
|
2036
2382
|
},
|
|
2037
2383
|
{
|
|
2038
2384
|
"name": "hosting_createWebsiteV1",
|
|
2385
|
+
"title": "Create website",
|
|
2386
|
+
"annotations": {
|
|
2387
|
+
"title": "Create website",
|
|
2388
|
+
"readOnlyHint": false,
|
|
2389
|
+
"destructiveHint": false
|
|
2390
|
+
},
|
|
2039
2391
|
"description": "Create a new website for the authenticated client.\n\nProvide the domain name and associated order ID to create a new website.\nThe datacenter_code parameter is required when creating the first website\non a new hosting plan - this will set up and configure new hosting account\nin the selected datacenter.\n\nSubsequent websites will be hosted on the same datacenter automatically.\n\nWebsite creation takes up to a few minutes to complete. Check the\nwebsites list endpoint to see when your new website becomes available.",
|
|
2040
2392
|
"method": "POST",
|
|
2041
2393
|
"path": "/api/hosting/v1/websites",
|
|
@@ -2069,6 +2421,12 @@ const tools: OpenApiTool[] = [
|
|
|
2069
2421
|
},
|
|
2070
2422
|
{
|
|
2071
2423
|
"name": "hosting_deployStaticSiteArchiveV1",
|
|
2424
|
+
"title": "Deploy static site archive",
|
|
2425
|
+
"annotations": {
|
|
2426
|
+
"title": "Deploy static site archive",
|
|
2427
|
+
"readOnlyHint": false,
|
|
2428
|
+
"destructiveHint": true
|
|
2429
|
+
},
|
|
2072
2430
|
"description": "Deploy a static application from an archive file.\n\nWARNING: this overwrites the website's existing contents and cannot be undone —\nverify this is intended before calling this endpoint.\n\nThis endpoint allows you to deploy a static application from an archive\nfile that has been uploaded to the website's directory.\n\nThis only works for static sites (pre-built HTML/CSS/JS with no build step). For\nNode.js applications, use `Create NodeJS build from archive` instead, or\n`Start Node.js build` if the archive is already uploaded. For WordPress sites,\nuse `Import WordPress website`.",
|
|
2073
2431
|
"method": "POST",
|
|
2074
2432
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/deploy",
|
|
@@ -2103,6 +2461,13 @@ const tools: OpenApiTool[] = [
|
|
|
2103
2461
|
},
|
|
2104
2462
|
{
|
|
2105
2463
|
"name": "hosting_deleteWebsiteV1",
|
|
2464
|
+
"title": "Delete website",
|
|
2465
|
+
"annotations": {
|
|
2466
|
+
"title": "Delete website",
|
|
2467
|
+
"readOnlyHint": false,
|
|
2468
|
+
"destructiveHint": true,
|
|
2469
|
+
"idempotentHint": true
|
|
2470
|
+
},
|
|
2106
2471
|
"description": "This endpoint permanently removes a website and all of its data. This action\ncannot be undone. Before calling it, make sure the user understands the\nconsequences and explicitly confirms that they want to proceed.\n\nAll website files, databases and related configuration will be removed.\nThe hosting plan itself is kept, so a new website can be created on it afterwards.\n\nSupported websites: main and addon domain websites on web hosting plans, and\nWebsite Builder websites. Parked domains and subdomains cannot be deleted with\nthis endpoint. The domain must be the exact website domain, not a preview\ndomain or an alias.\n\nReturns 404 when the domain does not exist or does not belong to the\nauthenticated client.\n\nWebsite removal is processed asynchronously and can take a few minutes to\ncomplete. The response returns before the removal finishes.",
|
|
2107
2472
|
"method": "DELETE",
|
|
2108
2473
|
"path": "/api/hosting/v1/websites/{domain}",
|