hostinger-api-mcp 1.49.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/README.md +13 -2
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +3 -1
- package/src/core/runtime.ts +3 -1
- package/src/core/tools/agency-hosting.js +239 -0
- package/src/core/tools/agency-hosting.ts +239 -0
- package/src/core/tools/all.js +2367 -0
- package/src/core/tools/all.ts +2367 -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 +432 -0
- package/src/core/tools/vps.ts +432 -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
- package/types.d.ts +25 -0
package/src/core/tools/vps.ts
CHANGED
|
@@ -16,6 +16,12 @@ export interface OpenApiTool extends Tool {
|
|
|
16
16
|
const tools: OpenApiTool[] = [
|
|
17
17
|
{
|
|
18
18
|
"name": "VPS_getDataCenterListV1",
|
|
19
|
+
"title": "Get data center list",
|
|
20
|
+
"annotations": {
|
|
21
|
+
"title": "Get data center list",
|
|
22
|
+
"readOnlyHint": true,
|
|
23
|
+
"destructiveHint": false
|
|
24
|
+
},
|
|
19
25
|
"description": "Retrieve all available data centers.\n\nUse this endpoint to view location options before deploying VPS instances.",
|
|
20
26
|
"method": "GET",
|
|
21
27
|
"path": "/api/vps/v1/data-centers",
|
|
@@ -33,6 +39,12 @@ const tools: OpenApiTool[] = [
|
|
|
33
39
|
},
|
|
34
40
|
{
|
|
35
41
|
"name": "VPS_getProjectContainersV1",
|
|
42
|
+
"title": "Get project containers",
|
|
43
|
+
"annotations": {
|
|
44
|
+
"title": "Get project containers",
|
|
45
|
+
"readOnlyHint": true,
|
|
46
|
+
"destructiveHint": false
|
|
47
|
+
},
|
|
36
48
|
"description": "Retrieves a list of all containers belonging to a specific Docker Compose project on the virtual machine. \n\nThis endpoint returns detailed information about each container including\ntheir current status, port mappings, and runtime configuration.\n\nUse this to monitor the health and state of all services within your Docker Compose project.",
|
|
37
49
|
"method": "GET",
|
|
38
50
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/containers",
|
|
@@ -62,6 +74,12 @@ const tools: OpenApiTool[] = [
|
|
|
62
74
|
},
|
|
63
75
|
{
|
|
64
76
|
"name": "VPS_getProjectContentsV1",
|
|
77
|
+
"title": "Get project contents",
|
|
78
|
+
"annotations": {
|
|
79
|
+
"title": "Get project contents",
|
|
80
|
+
"readOnlyHint": true,
|
|
81
|
+
"destructiveHint": false
|
|
82
|
+
},
|
|
65
83
|
"description": "Retrieves the complete project information including the docker-compose.yml\nfile contents, project metadata, and current deployment status.\n\nThis endpoint provides the full configuration and state details of a specific Docker Compose project. \n\nUse this to inspect project settings, review the compose file, or check the overall project health.",
|
|
66
84
|
"method": "GET",
|
|
67
85
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}",
|
|
@@ -91,6 +109,13 @@ const tools: OpenApiTool[] = [
|
|
|
91
109
|
},
|
|
92
110
|
{
|
|
93
111
|
"name": "VPS_deleteProjectV1",
|
|
112
|
+
"title": "Delete project",
|
|
113
|
+
"annotations": {
|
|
114
|
+
"title": "Delete project",
|
|
115
|
+
"readOnlyHint": false,
|
|
116
|
+
"destructiveHint": true,
|
|
117
|
+
"idempotentHint": true
|
|
118
|
+
},
|
|
94
119
|
"description": "Completely removes a Docker Compose project from the virtual machine, stopping all containers and cleaning up \nassociated resources including networks, volumes, and images. \n\nThis operation is irreversible and will delete all project data. \n\nUse this when you want to permanently remove a project and free up system resources.",
|
|
95
120
|
"method": "DELETE",
|
|
96
121
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/down",
|
|
@@ -120,6 +145,12 @@ const tools: OpenApiTool[] = [
|
|
|
120
145
|
},
|
|
121
146
|
{
|
|
122
147
|
"name": "VPS_getProjectListV1",
|
|
148
|
+
"title": "Get project list",
|
|
149
|
+
"annotations": {
|
|
150
|
+
"title": "Get project list",
|
|
151
|
+
"readOnlyHint": true,
|
|
152
|
+
"destructiveHint": false
|
|
153
|
+
},
|
|
123
154
|
"description": "Retrieves a list of all Docker Compose projects currently deployed on the virtual machine. \n\nThis endpoint returns basic information about each project including name,\nstatus, file path and list of containers with details about their names,\nimage, status, health and ports. Container stats are omitted in this\nendpoint. If you need to get detailed information about container with\nstats included, use the `Get project containers` endpoint.\n\nUse this to get an overview of all Docker projects on your VPS instance.",
|
|
124
155
|
"method": "GET",
|
|
125
156
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker",
|
|
@@ -144,6 +175,12 @@ const tools: OpenApiTool[] = [
|
|
|
144
175
|
},
|
|
145
176
|
{
|
|
146
177
|
"name": "VPS_createNewProjectV1",
|
|
178
|
+
"title": "Create new project",
|
|
179
|
+
"annotations": {
|
|
180
|
+
"title": "Create new project",
|
|
181
|
+
"readOnlyHint": false,
|
|
182
|
+
"destructiveHint": false
|
|
183
|
+
},
|
|
147
184
|
"description": "Deploy new project from docker-compose.yaml contents or download contents from URL. \n\nURL can be Github repository url in format https://github.com/[user]/[repo]\nand it will be automatically resolved to docker-compose.yaml file in\nmaster branch. Any other URL provided must return docker-compose.yaml\nfile contents.\n\nIf project with the same name already exists, existing project will be replaced.",
|
|
148
185
|
"method": "POST",
|
|
149
186
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker",
|
|
@@ -182,6 +219,12 @@ const tools: OpenApiTool[] = [
|
|
|
182
219
|
},
|
|
183
220
|
{
|
|
184
221
|
"name": "VPS_getProjectLogsV1",
|
|
222
|
+
"title": "Get project logs",
|
|
223
|
+
"annotations": {
|
|
224
|
+
"title": "Get project logs",
|
|
225
|
+
"readOnlyHint": true,
|
|
226
|
+
"destructiveHint": false
|
|
227
|
+
},
|
|
185
228
|
"description": "Retrieves aggregated log entries from all services within a Docker Compose project. \n\nThis endpoint returns recent log output from each container, organized by service name with timestamps. \nThe response contains the last 300 log entries across all services. \n\nUse this for debugging, monitoring application behavior, and\ntroubleshooting issues across your entire project stack.",
|
|
186
229
|
"method": "GET",
|
|
187
230
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/logs",
|
|
@@ -211,6 +254,12 @@ const tools: OpenApiTool[] = [
|
|
|
211
254
|
},
|
|
212
255
|
{
|
|
213
256
|
"name": "VPS_restartProjectV1",
|
|
257
|
+
"title": "Restart project",
|
|
258
|
+
"annotations": {
|
|
259
|
+
"title": "Restart project",
|
|
260
|
+
"readOnlyHint": false,
|
|
261
|
+
"destructiveHint": false
|
|
262
|
+
},
|
|
214
263
|
"description": "Restarts all services in a Docker Compose project by stopping and starting\ncontainers in the correct dependency order.\n\nThis operation preserves data volumes and network configurations while refreshing the running containers. \n\nUse this to apply configuration changes or recover from service failures.",
|
|
215
264
|
"method": "POST",
|
|
216
265
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/restart",
|
|
@@ -240,6 +289,12 @@ const tools: OpenApiTool[] = [
|
|
|
240
289
|
},
|
|
241
290
|
{
|
|
242
291
|
"name": "VPS_startProjectV1",
|
|
292
|
+
"title": "Start project",
|
|
293
|
+
"annotations": {
|
|
294
|
+
"title": "Start project",
|
|
295
|
+
"readOnlyHint": false,
|
|
296
|
+
"destructiveHint": false
|
|
297
|
+
},
|
|
243
298
|
"description": "Starts all services in a Docker Compose project that are currently stopped. \n\nThis operation brings up containers in the correct dependency order as defined in the compose file. \n\nUse this to resume a project that was previously stopped or to start services after a system reboot.",
|
|
244
299
|
"method": "POST",
|
|
245
300
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/start",
|
|
@@ -269,6 +324,12 @@ const tools: OpenApiTool[] = [
|
|
|
269
324
|
},
|
|
270
325
|
{
|
|
271
326
|
"name": "VPS_stopProjectV1",
|
|
327
|
+
"title": "Stop project",
|
|
328
|
+
"annotations": {
|
|
329
|
+
"title": "Stop project",
|
|
330
|
+
"readOnlyHint": false,
|
|
331
|
+
"destructiveHint": true
|
|
332
|
+
},
|
|
272
333
|
"description": "Stops all running services in a Docker Compose project while preserving\ncontainer configurations and data volumes.\n\nThis operation gracefully shuts down containers in reverse dependency order. \n\nUse this to temporarily halt a project without removing data or configurations.",
|
|
273
334
|
"method": "POST",
|
|
274
335
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/stop",
|
|
@@ -298,6 +359,12 @@ const tools: OpenApiTool[] = [
|
|
|
298
359
|
},
|
|
299
360
|
{
|
|
300
361
|
"name": "VPS_updateProjectV1",
|
|
362
|
+
"title": "Update project",
|
|
363
|
+
"annotations": {
|
|
364
|
+
"title": "Update project",
|
|
365
|
+
"readOnlyHint": false,
|
|
366
|
+
"destructiveHint": false
|
|
367
|
+
},
|
|
301
368
|
"description": "Updates a Docker Compose project by pulling the latest image versions and\nrecreating containers with new configurations.\n\nThis operation preserves data volumes while applying changes from the compose file. \n\nUse this to deploy application updates, apply configuration changes, or\nrefresh container images to their latest versions.",
|
|
302
369
|
"method": "POST",
|
|
303
370
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/update",
|
|
@@ -327,6 +394,12 @@ const tools: OpenApiTool[] = [
|
|
|
327
394
|
},
|
|
328
395
|
{
|
|
329
396
|
"name": "VPS_activateFirewallV1",
|
|
397
|
+
"title": "Activate firewall",
|
|
398
|
+
"annotations": {
|
|
399
|
+
"title": "Activate firewall",
|
|
400
|
+
"readOnlyHint": false,
|
|
401
|
+
"destructiveHint": false
|
|
402
|
+
},
|
|
330
403
|
"description": "Activate a firewall for a specified virtual machine.\n\nOnly one firewall can be active for a virtual machine at a time.\n\nUse this endpoint to apply firewall rules to VPS instances.",
|
|
331
404
|
"method": "POST",
|
|
332
405
|
"path": "/api/vps/v1/firewall/{firewallId}/activate/{virtualMachineId}",
|
|
@@ -356,6 +429,12 @@ const tools: OpenApiTool[] = [
|
|
|
356
429
|
},
|
|
357
430
|
{
|
|
358
431
|
"name": "VPS_deactivateFirewallV1",
|
|
432
|
+
"title": "Deactivate firewall",
|
|
433
|
+
"annotations": {
|
|
434
|
+
"title": "Deactivate firewall",
|
|
435
|
+
"readOnlyHint": false,
|
|
436
|
+
"destructiveHint": false
|
|
437
|
+
},
|
|
359
438
|
"description": "Deactivate a firewall for a specified virtual machine.\n\nUse this endpoint to remove firewall protection from VPS instances.",
|
|
360
439
|
"method": "POST",
|
|
361
440
|
"path": "/api/vps/v1/firewall/{firewallId}/deactivate/{virtualMachineId}",
|
|
@@ -385,6 +464,12 @@ const tools: OpenApiTool[] = [
|
|
|
385
464
|
},
|
|
386
465
|
{
|
|
387
466
|
"name": "VPS_getFirewallDetailsV1",
|
|
467
|
+
"title": "Get firewall details",
|
|
468
|
+
"annotations": {
|
|
469
|
+
"title": "Get firewall details",
|
|
470
|
+
"readOnlyHint": true,
|
|
471
|
+
"destructiveHint": false
|
|
472
|
+
},
|
|
388
473
|
"description": "Retrieve firewall by its ID and rules associated with it.\n\nUse this endpoint to view specific firewall configuration and rules.",
|
|
389
474
|
"method": "GET",
|
|
390
475
|
"path": "/api/vps/v1/firewall/{firewallId}",
|
|
@@ -409,6 +494,13 @@ const tools: OpenApiTool[] = [
|
|
|
409
494
|
},
|
|
410
495
|
{
|
|
411
496
|
"name": "VPS_deleteFirewallV1",
|
|
497
|
+
"title": "Delete firewall",
|
|
498
|
+
"annotations": {
|
|
499
|
+
"title": "Delete firewall",
|
|
500
|
+
"readOnlyHint": false,
|
|
501
|
+
"destructiveHint": true,
|
|
502
|
+
"idempotentHint": true
|
|
503
|
+
},
|
|
412
504
|
"description": "Delete a specified firewall.\n\nAny virtual machine that has this firewall activated will automatically have it deactivated.\n\nUse this endpoint to remove unused firewall configurations.",
|
|
413
505
|
"method": "DELETE",
|
|
414
506
|
"path": "/api/vps/v1/firewall/{firewallId}",
|
|
@@ -433,6 +525,12 @@ const tools: OpenApiTool[] = [
|
|
|
433
525
|
},
|
|
434
526
|
{
|
|
435
527
|
"name": "VPS_getFirewallListV1",
|
|
528
|
+
"title": "Get firewall list",
|
|
529
|
+
"annotations": {
|
|
530
|
+
"title": "Get firewall list",
|
|
531
|
+
"readOnlyHint": true,
|
|
532
|
+
"destructiveHint": false
|
|
533
|
+
},
|
|
436
534
|
"description": "Retrieve all available firewalls.\n\nUse this endpoint to view existing firewall configurations.",
|
|
437
535
|
"method": "GET",
|
|
438
536
|
"path": "/api/vps/v1/firewall",
|
|
@@ -455,6 +553,12 @@ const tools: OpenApiTool[] = [
|
|
|
455
553
|
},
|
|
456
554
|
{
|
|
457
555
|
"name": "VPS_createNewFirewallV1",
|
|
556
|
+
"title": "Create new firewall",
|
|
557
|
+
"annotations": {
|
|
558
|
+
"title": "Create new firewall",
|
|
559
|
+
"readOnlyHint": false,
|
|
560
|
+
"destructiveHint": false
|
|
561
|
+
},
|
|
458
562
|
"description": "Create a new firewall.\n\nUse this endpoint to set up new firewall configurations for VPS security.",
|
|
459
563
|
"method": "POST",
|
|
460
564
|
"path": "/api/vps/v1/firewall",
|
|
@@ -479,6 +583,13 @@ const tools: OpenApiTool[] = [
|
|
|
479
583
|
},
|
|
480
584
|
{
|
|
481
585
|
"name": "VPS_updateFirewallRuleV1",
|
|
586
|
+
"title": "Update firewall rule",
|
|
587
|
+
"annotations": {
|
|
588
|
+
"title": "Update firewall rule",
|
|
589
|
+
"readOnlyHint": false,
|
|
590
|
+
"destructiveHint": true,
|
|
591
|
+
"idempotentHint": true
|
|
592
|
+
},
|
|
482
593
|
"description": "Update a specific firewall rule from a specified firewall.\n\nAny virtual machine that has this firewall activated will lose sync with the firewall\nand will have to be synced again manually.\n\nUse this endpoint to modify existing firewall rules.",
|
|
483
594
|
"method": "PUT",
|
|
484
595
|
"path": "/api/vps/v1/firewall/{firewallId}/rules/{ruleId}",
|
|
@@ -547,6 +658,13 @@ const tools: OpenApiTool[] = [
|
|
|
547
658
|
},
|
|
548
659
|
{
|
|
549
660
|
"name": "VPS_deleteFirewallRuleV1",
|
|
661
|
+
"title": "Delete firewall rule",
|
|
662
|
+
"annotations": {
|
|
663
|
+
"title": "Delete firewall rule",
|
|
664
|
+
"readOnlyHint": false,
|
|
665
|
+
"destructiveHint": true,
|
|
666
|
+
"idempotentHint": true
|
|
667
|
+
},
|
|
550
668
|
"description": "Delete a specific firewall rule from a specified firewall.\n\nAny virtual machine that has this firewall activated will lose sync with the firewall\nand will have to be synced again manually.\n\nUse this endpoint to remove specific firewall rules.",
|
|
551
669
|
"method": "DELETE",
|
|
552
670
|
"path": "/api/vps/v1/firewall/{firewallId}/rules/{ruleId}",
|
|
@@ -574,8 +692,58 @@ const tools: OpenApiTool[] = [
|
|
|
574
692
|
],
|
|
575
693
|
"group": "vps"
|
|
576
694
|
},
|
|
695
|
+
{
|
|
696
|
+
"name": "VPS_replaceAllFirewallRulesInGroupV1",
|
|
697
|
+
"title": "Replace all firewall rules in group",
|
|
698
|
+
"annotations": {
|
|
699
|
+
"title": "Replace all firewall rules in group",
|
|
700
|
+
"readOnlyHint": false,
|
|
701
|
+
"destructiveHint": true,
|
|
702
|
+
"idempotentHint": true
|
|
703
|
+
},
|
|
704
|
+
"description": "Replaces all firewall rules within a specified firewall group with the provided set of rules\nin a single atomic operation, instead of creating or deleting rules one by one.\n\nAny virtual machine using this firewall group will need to be synchronized after replacing rules;\npass the \"sync\" query parameter to trigger synchronization immediately.",
|
|
705
|
+
"method": "PUT",
|
|
706
|
+
"path": "/api/vps/v1/firewall/{firewallId}/rules",
|
|
707
|
+
"inputSchema": {
|
|
708
|
+
"type": "object",
|
|
709
|
+
"properties": {
|
|
710
|
+
"firewallId": {
|
|
711
|
+
"type": "integer",
|
|
712
|
+
"description": "Firewall ID"
|
|
713
|
+
},
|
|
714
|
+
"sync": {
|
|
715
|
+
"type": "boolean",
|
|
716
|
+
"description": "Synchronize the firewall group to all its virtual machines after replacing the rules"
|
|
717
|
+
},
|
|
718
|
+
"rules": {
|
|
719
|
+
"type": "array",
|
|
720
|
+
"description": "The complete set of firewall rules that atomically replaces all existing rules in the group",
|
|
721
|
+
"items": {
|
|
722
|
+
"type": "string",
|
|
723
|
+
"description": "rules parameter"
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
"required": [
|
|
728
|
+
"firewallId",
|
|
729
|
+
"rules"
|
|
730
|
+
]
|
|
731
|
+
},
|
|
732
|
+
"security": [
|
|
733
|
+
{
|
|
734
|
+
"apiToken": []
|
|
735
|
+
}
|
|
736
|
+
],
|
|
737
|
+
"group": "vps"
|
|
738
|
+
},
|
|
577
739
|
{
|
|
578
740
|
"name": "VPS_createFirewallRuleV1",
|
|
741
|
+
"title": "Create firewall rule",
|
|
742
|
+
"annotations": {
|
|
743
|
+
"title": "Create firewall rule",
|
|
744
|
+
"readOnlyHint": false,
|
|
745
|
+
"destructiveHint": false
|
|
746
|
+
},
|
|
579
747
|
"description": "Create new firewall rule for a specified firewall.\n\nBy default, the firewall drops all incoming traffic,\nwhich means you must add accept rules for all ports you want to use.\n\nAny virtual machine that has this firewall activated will lose sync with the firewall\nand will have to be synced again manually.\n\nUse this endpoint to add new security rules to firewalls.",
|
|
580
748
|
"method": "POST",
|
|
581
749
|
"path": "/api/vps/v1/firewall/{firewallId}/rules",
|
|
@@ -639,6 +807,12 @@ const tools: OpenApiTool[] = [
|
|
|
639
807
|
},
|
|
640
808
|
{
|
|
641
809
|
"name": "VPS_syncFirewallV1",
|
|
810
|
+
"title": "Sync firewall",
|
|
811
|
+
"annotations": {
|
|
812
|
+
"title": "Sync firewall",
|
|
813
|
+
"readOnlyHint": false,
|
|
814
|
+
"destructiveHint": false
|
|
815
|
+
},
|
|
642
816
|
"description": "Sync a firewall for a specified virtual machine.\n\nFirewall can lose sync with virtual machine if the firewall has new rules added, removed or updated.\n\nUse this endpoint to apply updated firewall rules to VPS instances.",
|
|
643
817
|
"method": "POST",
|
|
644
818
|
"path": "/api/vps/v1/firewall/{firewallId}/sync/{virtualMachineId}",
|
|
@@ -668,6 +842,12 @@ const tools: OpenApiTool[] = [
|
|
|
668
842
|
},
|
|
669
843
|
{
|
|
670
844
|
"name": "VPS_getPostInstallScriptV1",
|
|
845
|
+
"title": "Get post-install script",
|
|
846
|
+
"annotations": {
|
|
847
|
+
"title": "Get post-install script",
|
|
848
|
+
"readOnlyHint": true,
|
|
849
|
+
"destructiveHint": false
|
|
850
|
+
},
|
|
671
851
|
"description": "Retrieve post-install script by its ID.\n\nUse this endpoint to view specific automation script details.",
|
|
672
852
|
"method": "GET",
|
|
673
853
|
"path": "/api/vps/v1/post-install-scripts/{postInstallScriptId}",
|
|
@@ -692,6 +872,13 @@ const tools: OpenApiTool[] = [
|
|
|
692
872
|
},
|
|
693
873
|
{
|
|
694
874
|
"name": "VPS_updatePostInstallScriptV1",
|
|
875
|
+
"title": "Update post-install script",
|
|
876
|
+
"annotations": {
|
|
877
|
+
"title": "Update post-install script",
|
|
878
|
+
"readOnlyHint": false,
|
|
879
|
+
"destructiveHint": true,
|
|
880
|
+
"idempotentHint": true
|
|
881
|
+
},
|
|
695
882
|
"description": "Update a specific post-install script.\n\nUse this endpoint to modify existing automation scripts.",
|
|
696
883
|
"method": "PUT",
|
|
697
884
|
"path": "/api/vps/v1/post-install-scripts/{postInstallScriptId}",
|
|
@@ -726,6 +913,13 @@ const tools: OpenApiTool[] = [
|
|
|
726
913
|
},
|
|
727
914
|
{
|
|
728
915
|
"name": "VPS_deletePostInstallScriptV1",
|
|
916
|
+
"title": "Delete post-install script",
|
|
917
|
+
"annotations": {
|
|
918
|
+
"title": "Delete post-install script",
|
|
919
|
+
"readOnlyHint": false,
|
|
920
|
+
"destructiveHint": true,
|
|
921
|
+
"idempotentHint": true
|
|
922
|
+
},
|
|
729
923
|
"description": "Delete a post-install script from your account.\n \nUse this endpoint to remove unused automation scripts.",
|
|
730
924
|
"method": "DELETE",
|
|
731
925
|
"path": "/api/vps/v1/post-install-scripts/{postInstallScriptId}",
|
|
@@ -750,6 +944,12 @@ const tools: OpenApiTool[] = [
|
|
|
750
944
|
},
|
|
751
945
|
{
|
|
752
946
|
"name": "VPS_getPostInstallScriptsV1",
|
|
947
|
+
"title": "Get post-install scripts",
|
|
948
|
+
"annotations": {
|
|
949
|
+
"title": "Get post-install scripts",
|
|
950
|
+
"readOnlyHint": true,
|
|
951
|
+
"destructiveHint": false
|
|
952
|
+
},
|
|
753
953
|
"description": "Retrieve post-install scripts associated with your account.\n\nUse this endpoint to view available automation scripts for VPS deployment.",
|
|
754
954
|
"method": "GET",
|
|
755
955
|
"path": "/api/vps/v1/post-install-scripts",
|
|
@@ -772,6 +972,12 @@ const tools: OpenApiTool[] = [
|
|
|
772
972
|
},
|
|
773
973
|
{
|
|
774
974
|
"name": "VPS_createPostInstallScriptV1",
|
|
975
|
+
"title": "Create post-install script",
|
|
976
|
+
"annotations": {
|
|
977
|
+
"title": "Create post-install script",
|
|
978
|
+
"readOnlyHint": false,
|
|
979
|
+
"destructiveHint": false
|
|
980
|
+
},
|
|
775
981
|
"description": "Add a new post-install script to your account, which can then be used after virtual machine installation.\n\nThe script contents will be saved to the file `/post_install` with executable attribute set\nand will be executed once virtual machine is installed.\nThe output of the script will be redirected to `/post_install.log`. Maximum script size is 48KB.\n\nUse this endpoint to create automation scripts for VPS setup tasks.",
|
|
776
982
|
"method": "POST",
|
|
777
983
|
"path": "/api/vps/v1/post-install-scripts",
|
|
@@ -801,6 +1007,12 @@ const tools: OpenApiTool[] = [
|
|
|
801
1007
|
},
|
|
802
1008
|
{
|
|
803
1009
|
"name": "VPS_attachPublicKeyV1",
|
|
1010
|
+
"title": "Attach public key",
|
|
1011
|
+
"annotations": {
|
|
1012
|
+
"title": "Attach public key",
|
|
1013
|
+
"readOnlyHint": false,
|
|
1014
|
+
"destructiveHint": false
|
|
1015
|
+
},
|
|
804
1016
|
"description": "Attach existing public keys from your account to a specified virtual machine.\n\nMultiple keys can be attached to a single virtual machine.\n\nUse this endpoint to enable SSH key authentication for VPS instances.",
|
|
805
1017
|
"method": "POST",
|
|
806
1018
|
"path": "/api/vps/v1/public-keys/attach/{virtualMachineId}",
|
|
@@ -834,6 +1046,13 @@ const tools: OpenApiTool[] = [
|
|
|
834
1046
|
},
|
|
835
1047
|
{
|
|
836
1048
|
"name": "VPS_deletePublicKeyV1",
|
|
1049
|
+
"title": "Delete public key",
|
|
1050
|
+
"annotations": {
|
|
1051
|
+
"title": "Delete public key",
|
|
1052
|
+
"readOnlyHint": false,
|
|
1053
|
+
"destructiveHint": true,
|
|
1054
|
+
"idempotentHint": true
|
|
1055
|
+
},
|
|
837
1056
|
"description": "Delete a public key from your account. \n\n**Deleting public key from account does not remove it from virtual machine** \n \nUse this endpoint to remove unused SSH keys from account.",
|
|
838
1057
|
"method": "DELETE",
|
|
839
1058
|
"path": "/api/vps/v1/public-keys/{publicKeyId}",
|
|
@@ -858,6 +1077,12 @@ const tools: OpenApiTool[] = [
|
|
|
858
1077
|
},
|
|
859
1078
|
{
|
|
860
1079
|
"name": "VPS_getPublicKeysV1",
|
|
1080
|
+
"title": "Get public keys",
|
|
1081
|
+
"annotations": {
|
|
1082
|
+
"title": "Get public keys",
|
|
1083
|
+
"readOnlyHint": true,
|
|
1084
|
+
"destructiveHint": false
|
|
1085
|
+
},
|
|
861
1086
|
"description": "Retrieve public keys associated with your account.\n\nUse this endpoint to view available SSH keys for VPS authentication.",
|
|
862
1087
|
"method": "GET",
|
|
863
1088
|
"path": "/api/vps/v1/public-keys",
|
|
@@ -880,6 +1105,12 @@ const tools: OpenApiTool[] = [
|
|
|
880
1105
|
},
|
|
881
1106
|
{
|
|
882
1107
|
"name": "VPS_createPublicKeyV1",
|
|
1108
|
+
"title": "Create public key",
|
|
1109
|
+
"annotations": {
|
|
1110
|
+
"title": "Create public key",
|
|
1111
|
+
"readOnlyHint": false,
|
|
1112
|
+
"destructiveHint": false
|
|
1113
|
+
},
|
|
883
1114
|
"description": "Add a new public key to your account.\n\nUse this endpoint to register SSH keys for VPS authentication.",
|
|
884
1115
|
"method": "POST",
|
|
885
1116
|
"path": "/api/vps/v1/public-keys",
|
|
@@ -909,6 +1140,12 @@ const tools: OpenApiTool[] = [
|
|
|
909
1140
|
},
|
|
910
1141
|
{
|
|
911
1142
|
"name": "VPS_getTemplateDetailsV1",
|
|
1143
|
+
"title": "Get template details",
|
|
1144
|
+
"annotations": {
|
|
1145
|
+
"title": "Get template details",
|
|
1146
|
+
"readOnlyHint": true,
|
|
1147
|
+
"destructiveHint": false
|
|
1148
|
+
},
|
|
912
1149
|
"description": "Retrieve detailed information about a specific OS template for virtual machines.\n\nUse this endpoint to view specific template specifications before deployment.",
|
|
913
1150
|
"method": "GET",
|
|
914
1151
|
"path": "/api/vps/v1/templates/{templateId}",
|
|
@@ -933,6 +1170,12 @@ const tools: OpenApiTool[] = [
|
|
|
933
1170
|
},
|
|
934
1171
|
{
|
|
935
1172
|
"name": "VPS_getTemplatesV1",
|
|
1173
|
+
"title": "Get templates",
|
|
1174
|
+
"annotations": {
|
|
1175
|
+
"title": "Get templates",
|
|
1176
|
+
"readOnlyHint": true,
|
|
1177
|
+
"destructiveHint": false
|
|
1178
|
+
},
|
|
936
1179
|
"description": "Retrieve available OS templates for virtual machines.\n\nUse this endpoint to view operating system options before creating or recreating VPS instances.",
|
|
937
1180
|
"method": "GET",
|
|
938
1181
|
"path": "/api/vps/v1/templates",
|
|
@@ -950,6 +1193,12 @@ const tools: OpenApiTool[] = [
|
|
|
950
1193
|
},
|
|
951
1194
|
{
|
|
952
1195
|
"name": "VPS_getActionDetailsV1",
|
|
1196
|
+
"title": "Get action details",
|
|
1197
|
+
"annotations": {
|
|
1198
|
+
"title": "Get action details",
|
|
1199
|
+
"readOnlyHint": true,
|
|
1200
|
+
"destructiveHint": false
|
|
1201
|
+
},
|
|
953
1202
|
"description": "Retrieve detailed information about a specific action performed on a specified virtual machine.\n\nUse this endpoint to monitor specific VPS operation status and details.",
|
|
954
1203
|
"method": "GET",
|
|
955
1204
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/actions/{actionId}",
|
|
@@ -979,6 +1228,12 @@ const tools: OpenApiTool[] = [
|
|
|
979
1228
|
},
|
|
980
1229
|
{
|
|
981
1230
|
"name": "VPS_getActionsV1",
|
|
1231
|
+
"title": "Get actions",
|
|
1232
|
+
"annotations": {
|
|
1233
|
+
"title": "Get actions",
|
|
1234
|
+
"readOnlyHint": true,
|
|
1235
|
+
"destructiveHint": false
|
|
1236
|
+
},
|
|
982
1237
|
"description": "Retrieve actions performed on a specified virtual machine.\n\nActions are operations or events that have been executed on the virtual\nmachine, such as starting, stopping, or modifying the machine. This endpoint\nallows you to view the history of these actions, providing details about\neach action, such as the action name, timestamp, and status.\n\nUse this endpoint to view VPS operation history and troubleshoot issues.",
|
|
983
1238
|
"method": "GET",
|
|
984
1239
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/actions",
|
|
@@ -1007,6 +1262,12 @@ const tools: OpenApiTool[] = [
|
|
|
1007
1262
|
},
|
|
1008
1263
|
{
|
|
1009
1264
|
"name": "VPS_getAttachedPublicKeysV1",
|
|
1265
|
+
"title": "Get attached public keys",
|
|
1266
|
+
"annotations": {
|
|
1267
|
+
"title": "Get attached public keys",
|
|
1268
|
+
"readOnlyHint": true,
|
|
1269
|
+
"destructiveHint": false
|
|
1270
|
+
},
|
|
1010
1271
|
"description": "Retrieve public keys attached to a specified virtual machine.\n\nUse this endpoint to view SSH keys configured for specific VPS instances.",
|
|
1011
1272
|
"method": "GET",
|
|
1012
1273
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/public-keys",
|
|
@@ -1035,6 +1296,12 @@ const tools: OpenApiTool[] = [
|
|
|
1035
1296
|
},
|
|
1036
1297
|
{
|
|
1037
1298
|
"name": "VPS_getBackupsV1",
|
|
1299
|
+
"title": "Get backups",
|
|
1300
|
+
"annotations": {
|
|
1301
|
+
"title": "Get backups",
|
|
1302
|
+
"readOnlyHint": true,
|
|
1303
|
+
"destructiveHint": false
|
|
1304
|
+
},
|
|
1038
1305
|
"description": "Retrieve backups for a specified virtual machine.\n\nUse this endpoint to view available backup points for VPS data recovery.",
|
|
1039
1306
|
"method": "GET",
|
|
1040
1307
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/backups",
|
|
@@ -1063,6 +1330,12 @@ const tools: OpenApiTool[] = [
|
|
|
1063
1330
|
},
|
|
1064
1331
|
{
|
|
1065
1332
|
"name": "VPS_restoreBackupV1",
|
|
1333
|
+
"title": "Restore backup",
|
|
1334
|
+
"annotations": {
|
|
1335
|
+
"title": "Restore backup",
|
|
1336
|
+
"readOnlyHint": false,
|
|
1337
|
+
"destructiveHint": true
|
|
1338
|
+
},
|
|
1066
1339
|
"description": "Restore a backup for a specified virtual machine.\n\nThe system will then initiate the restore process, which may take some time depending on the size of the backup.\n\n**All data on the virtual machine will be overwritten with the data from the backup.**\n\nUse this endpoint to recover VPS data from backup points.",
|
|
1067
1340
|
"method": "POST",
|
|
1068
1341
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/backups/{backupId}/restore",
|
|
@@ -1092,6 +1365,13 @@ const tools: OpenApiTool[] = [
|
|
|
1092
1365
|
},
|
|
1093
1366
|
{
|
|
1094
1367
|
"name": "VPS_setHostnameV1",
|
|
1368
|
+
"title": "Set hostname",
|
|
1369
|
+
"annotations": {
|
|
1370
|
+
"title": "Set hostname",
|
|
1371
|
+
"readOnlyHint": false,
|
|
1372
|
+
"destructiveHint": true,
|
|
1373
|
+
"idempotentHint": true
|
|
1374
|
+
},
|
|
1095
1375
|
"description": "Set hostname for a specified virtual machine.\n\nChanging hostname does not update PTR record automatically.\nIf you want your virtual machine to be reachable by a hostname, \nyou need to point your domain A/AAAA records to virtual machine IP as well.\n\nUse this endpoint to configure custom hostnames for VPS instances.",
|
|
1096
1376
|
"method": "PUT",
|
|
1097
1377
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/hostname",
|
|
@@ -1121,6 +1401,13 @@ const tools: OpenApiTool[] = [
|
|
|
1121
1401
|
},
|
|
1122
1402
|
{
|
|
1123
1403
|
"name": "VPS_resetHostnameV1",
|
|
1404
|
+
"title": "Reset hostname",
|
|
1405
|
+
"annotations": {
|
|
1406
|
+
"title": "Reset hostname",
|
|
1407
|
+
"readOnlyHint": false,
|
|
1408
|
+
"destructiveHint": true,
|
|
1409
|
+
"idempotentHint": true
|
|
1410
|
+
},
|
|
1124
1411
|
"description": "Reset hostname and PTR record of a specified virtual machine to default value.\n\nUse this endpoint to restore default hostname configuration for VPS instances.",
|
|
1125
1412
|
"method": "DELETE",
|
|
1126
1413
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/hostname",
|
|
@@ -1145,6 +1432,12 @@ const tools: OpenApiTool[] = [
|
|
|
1145
1432
|
},
|
|
1146
1433
|
{
|
|
1147
1434
|
"name": "VPS_getVirtualMachineDetailsV1",
|
|
1435
|
+
"title": "Get virtual machine details",
|
|
1436
|
+
"annotations": {
|
|
1437
|
+
"title": "Get virtual machine details",
|
|
1438
|
+
"readOnlyHint": true,
|
|
1439
|
+
"destructiveHint": false
|
|
1440
|
+
},
|
|
1148
1441
|
"description": "Retrieve detailed information about a specified virtual machine.\n\nUse this endpoint to view comprehensive VPS configuration and status.",
|
|
1149
1442
|
"method": "GET",
|
|
1150
1443
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}",
|
|
@@ -1169,6 +1462,12 @@ const tools: OpenApiTool[] = [
|
|
|
1169
1462
|
},
|
|
1170
1463
|
{
|
|
1171
1464
|
"name": "VPS_getVirtualMachinesV1",
|
|
1465
|
+
"title": "Get virtual machines",
|
|
1466
|
+
"annotations": {
|
|
1467
|
+
"title": "Get virtual machines",
|
|
1468
|
+
"readOnlyHint": true,
|
|
1469
|
+
"destructiveHint": false
|
|
1470
|
+
},
|
|
1172
1471
|
"description": "Retrieve all available virtual machines.\n\nUse this endpoint to view available VPS instances.",
|
|
1173
1472
|
"method": "GET",
|
|
1174
1473
|
"path": "/api/vps/v1/virtual-machines",
|
|
@@ -1186,6 +1485,12 @@ const tools: OpenApiTool[] = [
|
|
|
1186
1485
|
},
|
|
1187
1486
|
{
|
|
1188
1487
|
"name": "VPS_purchaseNewVirtualMachineV1",
|
|
1488
|
+
"title": "Purchase new virtual machine",
|
|
1489
|
+
"annotations": {
|
|
1490
|
+
"title": "Purchase new virtual machine",
|
|
1491
|
+
"readOnlyHint": false,
|
|
1492
|
+
"destructiveHint": false
|
|
1493
|
+
},
|
|
1189
1494
|
"description": "Purchase and setup a new virtual machine.\n\nIf virtual machine setup fails for any reason, login to\n[hPanel](https://hpanel.hostinger.com/) and complete the setup manually.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nUse this endpoint to create new VPS instances.",
|
|
1190
1495
|
"method": "POST",
|
|
1191
1496
|
"path": "/api/vps/v1/virtual-machines",
|
|
@@ -1227,6 +1532,12 @@ const tools: OpenApiTool[] = [
|
|
|
1227
1532
|
},
|
|
1228
1533
|
{
|
|
1229
1534
|
"name": "VPS_getScanMetricsV1",
|
|
1535
|
+
"title": "Get scan metrics",
|
|
1536
|
+
"annotations": {
|
|
1537
|
+
"title": "Get scan metrics",
|
|
1538
|
+
"readOnlyHint": true,
|
|
1539
|
+
"destructiveHint": false
|
|
1540
|
+
},
|
|
1230
1541
|
"description": "Retrieve scan metrics for the [Monarx](https://www.monarx.com/) malware scanner\ninstalled on a specified virtual machine.\n\nThe scan metrics provide detailed information about malware scans performed\nby Monarx, including number of scans, detected threats, and other relevant\nstatistics. This information is useful for monitoring security status of the\nvirtual machine and assessing effectiveness of the malware scanner.\n\nUse this endpoint to monitor VPS security scan results and threat detection.",
|
|
1231
1542
|
"method": "GET",
|
|
1232
1543
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/monarx",
|
|
@@ -1251,6 +1562,12 @@ const tools: OpenApiTool[] = [
|
|
|
1251
1562
|
},
|
|
1252
1563
|
{
|
|
1253
1564
|
"name": "VPS_installMonarxV1",
|
|
1565
|
+
"title": "Install Monarx",
|
|
1566
|
+
"annotations": {
|
|
1567
|
+
"title": "Install Monarx",
|
|
1568
|
+
"readOnlyHint": false,
|
|
1569
|
+
"destructiveHint": false
|
|
1570
|
+
},
|
|
1254
1571
|
"description": "Install the Monarx malware scanner on a specified virtual machine.\n\n[Monarx](https://www.monarx.com/) is a security tool designed to detect and\nprevent malware infections on virtual machines. By installing Monarx, users\ncan enhance the security of their virtual machines, ensuring that they are\nprotected against malicious software.\n\nUse this endpoint to enable malware protection on VPS instances.",
|
|
1255
1572
|
"method": "POST",
|
|
1256
1573
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/monarx",
|
|
@@ -1275,6 +1592,13 @@ const tools: OpenApiTool[] = [
|
|
|
1275
1592
|
},
|
|
1276
1593
|
{
|
|
1277
1594
|
"name": "VPS_uninstallMonarxV1",
|
|
1595
|
+
"title": "Uninstall Monarx",
|
|
1596
|
+
"annotations": {
|
|
1597
|
+
"title": "Uninstall Monarx",
|
|
1598
|
+
"readOnlyHint": false,
|
|
1599
|
+
"destructiveHint": true,
|
|
1600
|
+
"idempotentHint": true
|
|
1601
|
+
},
|
|
1278
1602
|
"description": "Uninstall the Monarx malware scanner on a specified virtual machine.\n\nIf Monarx is not installed, the request will still be processed without any effect.\n\nUse this endpoint to remove malware scanner from VPS instances.",
|
|
1279
1603
|
"method": "DELETE",
|
|
1280
1604
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/monarx",
|
|
@@ -1299,6 +1623,12 @@ const tools: OpenApiTool[] = [
|
|
|
1299
1623
|
},
|
|
1300
1624
|
{
|
|
1301
1625
|
"name": "VPS_getMetricsV1",
|
|
1626
|
+
"title": "Get metrics",
|
|
1627
|
+
"annotations": {
|
|
1628
|
+
"title": "Get metrics",
|
|
1629
|
+
"readOnlyHint": true,
|
|
1630
|
+
"destructiveHint": false
|
|
1631
|
+
},
|
|
1302
1632
|
"description": "Retrieve historical metrics for a specified virtual machine.\n\nIt includes the following metrics: \n- CPU usage\n- Memory usage\n- Disk usage\n- Network usage\n- Uptime\n\nUse this endpoint to monitor VPS performance and resource utilization over time.",
|
|
1303
1633
|
"method": "GET",
|
|
1304
1634
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/metrics",
|
|
@@ -1333,6 +1663,13 @@ const tools: OpenApiTool[] = [
|
|
|
1333
1663
|
},
|
|
1334
1664
|
{
|
|
1335
1665
|
"name": "VPS_setNameserversV1",
|
|
1666
|
+
"title": "Set nameservers",
|
|
1667
|
+
"annotations": {
|
|
1668
|
+
"title": "Set nameservers",
|
|
1669
|
+
"readOnlyHint": false,
|
|
1670
|
+
"destructiveHint": true,
|
|
1671
|
+
"idempotentHint": true
|
|
1672
|
+
},
|
|
1336
1673
|
"description": "Set nameservers for a specified virtual machine.\n\nBe aware, that improper nameserver configuration can lead to the virtual\nmachine being unable to resolve domain names.\n\nUse this endpoint to configure custom DNS resolvers for VPS instances.",
|
|
1337
1674
|
"method": "PUT",
|
|
1338
1675
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/nameservers",
|
|
@@ -1370,6 +1707,12 @@ const tools: OpenApiTool[] = [
|
|
|
1370
1707
|
},
|
|
1371
1708
|
{
|
|
1372
1709
|
"name": "VPS_createPTRRecordV1",
|
|
1710
|
+
"title": "Create PTR record",
|
|
1711
|
+
"annotations": {
|
|
1712
|
+
"title": "Create PTR record",
|
|
1713
|
+
"readOnlyHint": false,
|
|
1714
|
+
"destructiveHint": false
|
|
1715
|
+
},
|
|
1373
1716
|
"description": "Create or update a PTR (Pointer) record for a specified virtual machine.\n\nUse this endpoint to configure reverse DNS lookup for VPS IP addresses.",
|
|
1374
1717
|
"method": "POST",
|
|
1375
1718
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/ptr/{ipAddressId}",
|
|
@@ -1404,6 +1747,13 @@ const tools: OpenApiTool[] = [
|
|
|
1404
1747
|
},
|
|
1405
1748
|
{
|
|
1406
1749
|
"name": "VPS_deletePTRRecordV1",
|
|
1750
|
+
"title": "Delete PTR record",
|
|
1751
|
+
"annotations": {
|
|
1752
|
+
"title": "Delete PTR record",
|
|
1753
|
+
"readOnlyHint": false,
|
|
1754
|
+
"destructiveHint": true,
|
|
1755
|
+
"idempotentHint": true
|
|
1756
|
+
},
|
|
1407
1757
|
"description": "Delete a PTR (Pointer) record for a specified virtual machine.\n\nOnce deleted, reverse DNS lookups to the virtual machine's IP address will\nno longer return the previously configured hostname.\n\nUse this endpoint to remove reverse DNS configuration from VPS instances.",
|
|
1408
1758
|
"method": "DELETE",
|
|
1409
1759
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/ptr/{ipAddressId}",
|
|
@@ -1433,6 +1783,13 @@ const tools: OpenApiTool[] = [
|
|
|
1433
1783
|
},
|
|
1434
1784
|
{
|
|
1435
1785
|
"name": "VPS_setPanelPasswordV1",
|
|
1786
|
+
"title": "Set panel password",
|
|
1787
|
+
"annotations": {
|
|
1788
|
+
"title": "Set panel password",
|
|
1789
|
+
"readOnlyHint": false,
|
|
1790
|
+
"destructiveHint": true,
|
|
1791
|
+
"idempotentHint": true
|
|
1792
|
+
},
|
|
1436
1793
|
"description": "Set panel password for a specified virtual machine.\n\nIf virtual machine does not use panel OS, the request will still be processed without any effect.\nRequirements for password are same as in the [recreate virtual machine\nendpoint](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines/{virtualMachineId}/recreate).\n\nUse this endpoint to configure control panel access credentials for VPS instances.",
|
|
1437
1794
|
"method": "PUT",
|
|
1438
1795
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/panel-password",
|
|
@@ -1462,6 +1819,12 @@ const tools: OpenApiTool[] = [
|
|
|
1462
1819
|
},
|
|
1463
1820
|
{
|
|
1464
1821
|
"name": "VPS_startRecoveryModeV1",
|
|
1822
|
+
"title": "Start recovery mode",
|
|
1823
|
+
"annotations": {
|
|
1824
|
+
"title": "Start recovery mode",
|
|
1825
|
+
"readOnlyHint": false,
|
|
1826
|
+
"destructiveHint": false
|
|
1827
|
+
},
|
|
1465
1828
|
"description": "Initiate recovery mode for a specified virtual machine.\n\nRecovery mode is a special state that allows users to perform system rescue operations, \nsuch as repairing file systems, recovering data, or troubleshooting issues that prevent the virtual machine \nfrom booting normally. \n\nVirtual machine will boot recovery disk image and original disk image will be mounted in `/mnt` directory.\n\nUse this endpoint to enable system rescue operations on VPS instances.",
|
|
1466
1829
|
"method": "POST",
|
|
1467
1830
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/recovery",
|
|
@@ -1491,6 +1854,13 @@ const tools: OpenApiTool[] = [
|
|
|
1491
1854
|
},
|
|
1492
1855
|
{
|
|
1493
1856
|
"name": "VPS_stopRecoveryModeV1",
|
|
1857
|
+
"title": "Stop recovery mode",
|
|
1858
|
+
"annotations": {
|
|
1859
|
+
"title": "Stop recovery mode",
|
|
1860
|
+
"readOnlyHint": false,
|
|
1861
|
+
"destructiveHint": true,
|
|
1862
|
+
"idempotentHint": true
|
|
1863
|
+
},
|
|
1494
1864
|
"description": "Stop recovery mode for a specified virtual machine.\n\nIf virtual machine is not in recovery mode, this operation will fail.\n\nUse this endpoint to exit system rescue mode and return VPS to normal operation.",
|
|
1495
1865
|
"method": "DELETE",
|
|
1496
1866
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/recovery",
|
|
@@ -1515,6 +1885,12 @@ const tools: OpenApiTool[] = [
|
|
|
1515
1885
|
},
|
|
1516
1886
|
{
|
|
1517
1887
|
"name": "VPS_recreateVirtualMachineV1",
|
|
1888
|
+
"title": "Recreate virtual machine",
|
|
1889
|
+
"annotations": {
|
|
1890
|
+
"title": "Recreate virtual machine",
|
|
1891
|
+
"readOnlyHint": false,
|
|
1892
|
+
"destructiveHint": true
|
|
1893
|
+
},
|
|
1518
1894
|
"description": "Recreate a virtual machine from scratch.\n\nThe recreation process involves reinstalling the operating system and\nresetting the virtual machine to its initial state.\nSnapshots, if there are any, will be deleted.\n\n## Password Requirements\nPassword will be checked against leaked password databases. \nRequirements for the password are:\n- At least 12 characters long\n- At least one uppercase letter\n- At least one lowercase letter\n- At least one number\n- Is not leaked publicly\n\n**This operation is irreversible and will result in the loss of all data stored on the virtual machine!**\n\nUse this endpoint to completely rebuild VPS instances with fresh OS installation.",
|
|
1519
1895
|
"method": "POST",
|
|
1520
1896
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/recreate",
|
|
@@ -1556,6 +1932,12 @@ const tools: OpenApiTool[] = [
|
|
|
1556
1932
|
},
|
|
1557
1933
|
{
|
|
1558
1934
|
"name": "VPS_restartVirtualMachineV1",
|
|
1935
|
+
"title": "Restart virtual machine",
|
|
1936
|
+
"annotations": {
|
|
1937
|
+
"title": "Restart virtual machine",
|
|
1938
|
+
"readOnlyHint": false,
|
|
1939
|
+
"destructiveHint": false
|
|
1940
|
+
},
|
|
1559
1941
|
"description": "Restart a specified virtual machine by fully stopping and starting it.\n\nIf the virtual machine was stopped, it will be started.\n\nUse this endpoint to reboot VPS instances.",
|
|
1560
1942
|
"method": "POST",
|
|
1561
1943
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/restart",
|
|
@@ -1580,6 +1962,13 @@ const tools: OpenApiTool[] = [
|
|
|
1580
1962
|
},
|
|
1581
1963
|
{
|
|
1582
1964
|
"name": "VPS_setRootPasswordV1",
|
|
1965
|
+
"title": "Set root password",
|
|
1966
|
+
"annotations": {
|
|
1967
|
+
"title": "Set root password",
|
|
1968
|
+
"readOnlyHint": false,
|
|
1969
|
+
"destructiveHint": true,
|
|
1970
|
+
"idempotentHint": true
|
|
1971
|
+
},
|
|
1583
1972
|
"description": "Set root password for a specified virtual machine.\n\nRequirements for password are same as in the [recreate virtual machine\nendpoint](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines/{virtualMachineId}/recreate).\n\nUse this endpoint to update administrator credentials for VPS instances.",
|
|
1584
1973
|
"method": "PUT",
|
|
1585
1974
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/root-password",
|
|
@@ -1609,6 +1998,12 @@ const tools: OpenApiTool[] = [
|
|
|
1609
1998
|
},
|
|
1610
1999
|
{
|
|
1611
2000
|
"name": "VPS_setupPurchasedVirtualMachineV1",
|
|
2001
|
+
"title": "Setup purchased virtual machine",
|
|
2002
|
+
"annotations": {
|
|
2003
|
+
"title": "Setup purchased virtual machine",
|
|
2004
|
+
"readOnlyHint": false,
|
|
2005
|
+
"destructiveHint": false
|
|
2006
|
+
},
|
|
1612
2007
|
"description": "Setup newly purchased virtual machine with `initial` state.\n\nUse this endpoint to configure and initialize purchased VPS instances.",
|
|
1613
2008
|
"method": "POST",
|
|
1614
2009
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/setup",
|
|
@@ -1685,6 +2080,12 @@ const tools: OpenApiTool[] = [
|
|
|
1685
2080
|
},
|
|
1686
2081
|
{
|
|
1687
2082
|
"name": "VPS_getSnapshotV1",
|
|
2083
|
+
"title": "Get snapshot",
|
|
2084
|
+
"annotations": {
|
|
2085
|
+
"title": "Get snapshot",
|
|
2086
|
+
"readOnlyHint": true,
|
|
2087
|
+
"destructiveHint": false
|
|
2088
|
+
},
|
|
1688
2089
|
"description": "Retrieve snapshot for a specified virtual machine.\n\nUse this endpoint to view current VPS snapshot information.",
|
|
1689
2090
|
"method": "GET",
|
|
1690
2091
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/snapshot",
|
|
@@ -1709,6 +2110,12 @@ const tools: OpenApiTool[] = [
|
|
|
1709
2110
|
},
|
|
1710
2111
|
{
|
|
1711
2112
|
"name": "VPS_createSnapshotV1",
|
|
2113
|
+
"title": "Create snapshot",
|
|
2114
|
+
"annotations": {
|
|
2115
|
+
"title": "Create snapshot",
|
|
2116
|
+
"readOnlyHint": false,
|
|
2117
|
+
"destructiveHint": false
|
|
2118
|
+
},
|
|
1712
2119
|
"description": "Create a snapshot of a specified virtual machine.\n\nA snapshot captures the state and data of the virtual machine at a specific point in time, \nallowing users to restore the virtual machine to that state if needed. \nThis operation is useful for backup purposes, system recovery, \nand testing changes without affecting the current state of the virtual machine.\n\n**Creating new snapshot will overwrite the existing snapshot!**\n\nUse this endpoint to capture VPS state for backup and recovery purposes.",
|
|
1713
2120
|
"method": "POST",
|
|
1714
2121
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/snapshot",
|
|
@@ -1733,6 +2140,13 @@ const tools: OpenApiTool[] = [
|
|
|
1733
2140
|
},
|
|
1734
2141
|
{
|
|
1735
2142
|
"name": "VPS_deleteSnapshotV1",
|
|
2143
|
+
"title": "Delete snapshot",
|
|
2144
|
+
"annotations": {
|
|
2145
|
+
"title": "Delete snapshot",
|
|
2146
|
+
"readOnlyHint": false,
|
|
2147
|
+
"destructiveHint": true,
|
|
2148
|
+
"idempotentHint": true
|
|
2149
|
+
},
|
|
1736
2150
|
"description": "Delete a snapshot of a specified virtual machine.\n\nUse this endpoint to remove VPS snapshots.",
|
|
1737
2151
|
"method": "DELETE",
|
|
1738
2152
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/snapshot",
|
|
@@ -1757,6 +2171,12 @@ const tools: OpenApiTool[] = [
|
|
|
1757
2171
|
},
|
|
1758
2172
|
{
|
|
1759
2173
|
"name": "VPS_restoreSnapshotV1",
|
|
2174
|
+
"title": "Restore snapshot",
|
|
2175
|
+
"annotations": {
|
|
2176
|
+
"title": "Restore snapshot",
|
|
2177
|
+
"readOnlyHint": false,
|
|
2178
|
+
"destructiveHint": true
|
|
2179
|
+
},
|
|
1760
2180
|
"description": "Restore a specified virtual machine to a previous state using a snapshot.\n\nRestoring from a snapshot allows users to revert the virtual machine to that state,\nwhich is useful for system recovery, undoing changes, or testing.\n\nUse this endpoint to revert VPS instances to previous saved states.",
|
|
1761
2181
|
"method": "POST",
|
|
1762
2182
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/snapshot/restore",
|
|
@@ -1781,6 +2201,12 @@ const tools: OpenApiTool[] = [
|
|
|
1781
2201
|
},
|
|
1782
2202
|
{
|
|
1783
2203
|
"name": "VPS_startVirtualMachineV1",
|
|
2204
|
+
"title": "Start virtual machine",
|
|
2205
|
+
"annotations": {
|
|
2206
|
+
"title": "Start virtual machine",
|
|
2207
|
+
"readOnlyHint": false,
|
|
2208
|
+
"destructiveHint": false
|
|
2209
|
+
},
|
|
1784
2210
|
"description": "Start a specified virtual machine.\n\nIf the virtual machine is already running, the request will still be processed without any effect.\n\nUse this endpoint to power on stopped VPS instances.",
|
|
1785
2211
|
"method": "POST",
|
|
1786
2212
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/start",
|
|
@@ -1805,6 +2231,12 @@ const tools: OpenApiTool[] = [
|
|
|
1805
2231
|
},
|
|
1806
2232
|
{
|
|
1807
2233
|
"name": "VPS_stopVirtualMachineV1",
|
|
2234
|
+
"title": "Stop virtual machine",
|
|
2235
|
+
"annotations": {
|
|
2236
|
+
"title": "Stop virtual machine",
|
|
2237
|
+
"readOnlyHint": false,
|
|
2238
|
+
"destructiveHint": true
|
|
2239
|
+
},
|
|
1808
2240
|
"description": "Stop a specified virtual machine.\n\nIf the virtual machine is already stopped, the request will still be processed without any effect.\n\nThis is a compute-only power state change and does not affect billing. To stop future charges,\ndisable auto-renewal on the owning subscription.\n\nUse this endpoint to power off running VPS instances.",
|
|
1809
2241
|
"method": "POST",
|
|
1810
2242
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/stop",
|