hostinger-api-mcp 1.50.0 → 1.51.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- 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 +2335 -5
- package/src/core/tools/all.ts +2335 -5
- 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 +400 -5
- package/src/core/tools/vps.ts +400 -5
- 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 +5 -5
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
export default [
|
|
3
3
|
{
|
|
4
4
|
"name": "billing_getCatalogItemListV1",
|
|
5
|
+
"title": "Get catalog item list",
|
|
6
|
+
"annotations": {
|
|
7
|
+
"title": "Get catalog item list",
|
|
8
|
+
"readOnlyHint": true,
|
|
9
|
+
"destructiveHint": false
|
|
10
|
+
},
|
|
5
11
|
"description": "Retrieve catalog items available for order.\n\nPrices in catalog items is displayed as cents (without floating point),\ne.g: float `17.99` is displayed as integer `1799`.\n\nUse this endpoint to view available services and pricing before placing orders.",
|
|
6
12
|
"method": "GET",
|
|
7
13
|
"path": "/api/billing/v1/catalog",
|
|
@@ -33,6 +39,12 @@ export default [
|
|
|
33
39
|
},
|
|
34
40
|
{
|
|
35
41
|
"name": "billing_createPurchaseOrderV1",
|
|
42
|
+
"title": "Create purchase order",
|
|
43
|
+
"annotations": {
|
|
44
|
+
"title": "Create purchase order",
|
|
45
|
+
"readOnlyHint": false,
|
|
46
|
+
"destructiveHint": false
|
|
47
|
+
},
|
|
36
48
|
"description": "Create a purchase order for any Hostinger product.\n\nThis unified endpoint places an order for one or more catalog items and\nworks across all Hostinger products, leveraging the existing billing\ninfrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look\nup the `item_id` values available for purchase.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nThis endpoint only places the order. Product-specific provisioning\n(e.g. VPS setup or domain registration) is not performed here — once the\norder completes, use the relevant product endpoints or\n[hPanel](https://hpanel.hostinger.com/) to finalize setup.\n\nUse this endpoint to purchase any product available in the catalog.",
|
|
37
49
|
"method": "POST",
|
|
38
50
|
"path": "/api/billing/v1/orders",
|
|
@@ -86,6 +98,12 @@ export default [
|
|
|
86
98
|
},
|
|
87
99
|
{
|
|
88
100
|
"name": "billing_setDefaultPaymentMethodV1",
|
|
101
|
+
"title": "Set default payment method",
|
|
102
|
+
"annotations": {
|
|
103
|
+
"title": "Set default payment method",
|
|
104
|
+
"readOnlyHint": false,
|
|
105
|
+
"destructiveHint": false
|
|
106
|
+
},
|
|
89
107
|
"description": "Set the default payment method for your account.\n\nUse this endpoint to configure the primary payment method for future orders.",
|
|
90
108
|
"method": "POST",
|
|
91
109
|
"path": "/api/billing/v1/payment-methods/{paymentMethodId}",
|
|
@@ -110,6 +128,13 @@ export default [
|
|
|
110
128
|
},
|
|
111
129
|
{
|
|
112
130
|
"name": "billing_deletePaymentMethodV1",
|
|
131
|
+
"title": "Delete payment method",
|
|
132
|
+
"annotations": {
|
|
133
|
+
"title": "Delete payment method",
|
|
134
|
+
"readOnlyHint": false,
|
|
135
|
+
"destructiveHint": true,
|
|
136
|
+
"idempotentHint": true
|
|
137
|
+
},
|
|
113
138
|
"description": "Delete a payment method from your account.\n\nUse this endpoint to remove unused payment methods from user accounts.",
|
|
114
139
|
"method": "DELETE",
|
|
115
140
|
"path": "/api/billing/v1/payment-methods/{paymentMethodId}",
|
|
@@ -134,6 +159,12 @@ export default [
|
|
|
134
159
|
},
|
|
135
160
|
{
|
|
136
161
|
"name": "billing_getPaymentMethodListV1",
|
|
162
|
+
"title": "Get payment method list",
|
|
163
|
+
"annotations": {
|
|
164
|
+
"title": "Get payment method list",
|
|
165
|
+
"readOnlyHint": true,
|
|
166
|
+
"destructiveHint": false
|
|
167
|
+
},
|
|
137
168
|
"description": "Retrieve available payment methods that can be used for placing new orders.\n\nIf you want to add new payment method,\nplease use [hPanel](https://hpanel.hostinger.com/billing/payment-methods).\n\nUse this endpoint to view available payment options before creating orders.",
|
|
138
169
|
"method": "GET",
|
|
139
170
|
"path": "/api/billing/v1/payment-methods",
|
|
@@ -151,6 +182,12 @@ export default [
|
|
|
151
182
|
},
|
|
152
183
|
{
|
|
153
184
|
"name": "billing_getSubscriptionListV1",
|
|
185
|
+
"title": "Get subscription list",
|
|
186
|
+
"annotations": {
|
|
187
|
+
"title": "Get subscription list",
|
|
188
|
+
"readOnlyHint": true,
|
|
189
|
+
"destructiveHint": false
|
|
190
|
+
},
|
|
154
191
|
"description": "Retrieve a list of all subscriptions associated with your account.\n\nUse this endpoint to monitor active services and billing status.",
|
|
155
192
|
"method": "GET",
|
|
156
193
|
"path": "/api/billing/v1/subscriptions",
|
|
@@ -168,6 +205,13 @@ export default [
|
|
|
168
205
|
},
|
|
169
206
|
{
|
|
170
207
|
"name": "billing_disableAutoRenewalV1",
|
|
208
|
+
"title": "Disable auto-renewal",
|
|
209
|
+
"annotations": {
|
|
210
|
+
"title": "Disable auto-renewal",
|
|
211
|
+
"readOnlyHint": false,
|
|
212
|
+
"destructiveHint": true,
|
|
213
|
+
"idempotentHint": true
|
|
214
|
+
},
|
|
171
215
|
"description": "Disable auto-renewal for a subscription.\n\nUse this endpoint when disable auto-renewal for a subscription.",
|
|
172
216
|
"method": "DELETE",
|
|
173
217
|
"path": "/api/billing/v1/subscriptions/{subscriptionId}/auto-renewal/disable",
|
|
@@ -192,6 +236,13 @@ export default [
|
|
|
192
236
|
},
|
|
193
237
|
{
|
|
194
238
|
"name": "billing_enableAutoRenewalV1",
|
|
239
|
+
"title": "Enable auto-renewal",
|
|
240
|
+
"annotations": {
|
|
241
|
+
"title": "Enable auto-renewal",
|
|
242
|
+
"readOnlyHint": false,
|
|
243
|
+
"destructiveHint": true,
|
|
244
|
+
"idempotentHint": true
|
|
245
|
+
},
|
|
195
246
|
"description": "Enable auto-renewal for a subscription.\n\nUse this endpoint when enable auto-renewal for a subscription.",
|
|
196
247
|
"method": "PATCH",
|
|
197
248
|
"path": "/api/billing/v1/subscriptions/{subscriptionId}/auto-renewal/enable",
|
|
@@ -216,6 +267,12 @@ export default [
|
|
|
216
267
|
},
|
|
217
268
|
{
|
|
218
269
|
"name": "billing_renewSubscriptionV1",
|
|
270
|
+
"title": "Renew subscription",
|
|
271
|
+
"annotations": {
|
|
272
|
+
"title": "Renew subscription",
|
|
273
|
+
"readOnlyHint": false,
|
|
274
|
+
"destructiveHint": false
|
|
275
|
+
},
|
|
219
276
|
"description": "Create a renewal order for an existing Hostinger subscription.\n\nThis endpoint places a renewal order for a single subscription, leveraging\nthe existing billing infrastructure. Use the\n[subscriptions endpoint](#tag/billing-subscriptions) to look up the\n`subscriptionId` values available for renewal.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nUse this endpoint to renew any subscription available in your account.",
|
|
220
277
|
"method": "POST",
|
|
221
278
|
"path": "/api/billing/v1/subscriptions/{subscriptionId}/renew",
|
|
@@ -16,6 +16,12 @@ export interface OpenApiTool extends Tool {
|
|
|
16
16
|
const tools: OpenApiTool[] = [
|
|
17
17
|
{
|
|
18
18
|
"name": "billing_getCatalogItemListV1",
|
|
19
|
+
"title": "Get catalog item list",
|
|
20
|
+
"annotations": {
|
|
21
|
+
"title": "Get catalog item list",
|
|
22
|
+
"readOnlyHint": true,
|
|
23
|
+
"destructiveHint": false
|
|
24
|
+
},
|
|
19
25
|
"description": "Retrieve catalog items available for order.\n\nPrices in catalog items is displayed as cents (without floating point),\ne.g: float `17.99` is displayed as integer `1799`.\n\nUse this endpoint to view available services and pricing before placing orders.",
|
|
20
26
|
"method": "GET",
|
|
21
27
|
"path": "/api/billing/v1/catalog",
|
|
@@ -47,6 +53,12 @@ const tools: OpenApiTool[] = [
|
|
|
47
53
|
},
|
|
48
54
|
{
|
|
49
55
|
"name": "billing_createPurchaseOrderV1",
|
|
56
|
+
"title": "Create purchase order",
|
|
57
|
+
"annotations": {
|
|
58
|
+
"title": "Create purchase order",
|
|
59
|
+
"readOnlyHint": false,
|
|
60
|
+
"destructiveHint": false
|
|
61
|
+
},
|
|
50
62
|
"description": "Create a purchase order for any Hostinger product.\n\nThis unified endpoint places an order for one or more catalog items and\nworks across all Hostinger products, leveraging the existing billing\ninfrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look\nup the `item_id` values available for purchase.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nThis endpoint only places the order. Product-specific provisioning\n(e.g. VPS setup or domain registration) is not performed here — once the\norder completes, use the relevant product endpoints or\n[hPanel](https://hpanel.hostinger.com/) to finalize setup.\n\nUse this endpoint to purchase any product available in the catalog.",
|
|
51
63
|
"method": "POST",
|
|
52
64
|
"path": "/api/billing/v1/orders",
|
|
@@ -100,6 +112,12 @@ const tools: OpenApiTool[] = [
|
|
|
100
112
|
},
|
|
101
113
|
{
|
|
102
114
|
"name": "billing_setDefaultPaymentMethodV1",
|
|
115
|
+
"title": "Set default payment method",
|
|
116
|
+
"annotations": {
|
|
117
|
+
"title": "Set default payment method",
|
|
118
|
+
"readOnlyHint": false,
|
|
119
|
+
"destructiveHint": false
|
|
120
|
+
},
|
|
103
121
|
"description": "Set the default payment method for your account.\n\nUse this endpoint to configure the primary payment method for future orders.",
|
|
104
122
|
"method": "POST",
|
|
105
123
|
"path": "/api/billing/v1/payment-methods/{paymentMethodId}",
|
|
@@ -124,6 +142,13 @@ const tools: OpenApiTool[] = [
|
|
|
124
142
|
},
|
|
125
143
|
{
|
|
126
144
|
"name": "billing_deletePaymentMethodV1",
|
|
145
|
+
"title": "Delete payment method",
|
|
146
|
+
"annotations": {
|
|
147
|
+
"title": "Delete payment method",
|
|
148
|
+
"readOnlyHint": false,
|
|
149
|
+
"destructiveHint": true,
|
|
150
|
+
"idempotentHint": true
|
|
151
|
+
},
|
|
127
152
|
"description": "Delete a payment method from your account.\n\nUse this endpoint to remove unused payment methods from user accounts.",
|
|
128
153
|
"method": "DELETE",
|
|
129
154
|
"path": "/api/billing/v1/payment-methods/{paymentMethodId}",
|
|
@@ -148,6 +173,12 @@ const tools: OpenApiTool[] = [
|
|
|
148
173
|
},
|
|
149
174
|
{
|
|
150
175
|
"name": "billing_getPaymentMethodListV1",
|
|
176
|
+
"title": "Get payment method list",
|
|
177
|
+
"annotations": {
|
|
178
|
+
"title": "Get payment method list",
|
|
179
|
+
"readOnlyHint": true,
|
|
180
|
+
"destructiveHint": false
|
|
181
|
+
},
|
|
151
182
|
"description": "Retrieve available payment methods that can be used for placing new orders.\n\nIf you want to add new payment method,\nplease use [hPanel](https://hpanel.hostinger.com/billing/payment-methods).\n\nUse this endpoint to view available payment options before creating orders.",
|
|
152
183
|
"method": "GET",
|
|
153
184
|
"path": "/api/billing/v1/payment-methods",
|
|
@@ -165,6 +196,12 @@ const tools: OpenApiTool[] = [
|
|
|
165
196
|
},
|
|
166
197
|
{
|
|
167
198
|
"name": "billing_getSubscriptionListV1",
|
|
199
|
+
"title": "Get subscription list",
|
|
200
|
+
"annotations": {
|
|
201
|
+
"title": "Get subscription list",
|
|
202
|
+
"readOnlyHint": true,
|
|
203
|
+
"destructiveHint": false
|
|
204
|
+
},
|
|
168
205
|
"description": "Retrieve a list of all subscriptions associated with your account.\n\nUse this endpoint to monitor active services and billing status.",
|
|
169
206
|
"method": "GET",
|
|
170
207
|
"path": "/api/billing/v1/subscriptions",
|
|
@@ -182,6 +219,13 @@ const tools: OpenApiTool[] = [
|
|
|
182
219
|
},
|
|
183
220
|
{
|
|
184
221
|
"name": "billing_disableAutoRenewalV1",
|
|
222
|
+
"title": "Disable auto-renewal",
|
|
223
|
+
"annotations": {
|
|
224
|
+
"title": "Disable auto-renewal",
|
|
225
|
+
"readOnlyHint": false,
|
|
226
|
+
"destructiveHint": true,
|
|
227
|
+
"idempotentHint": true
|
|
228
|
+
},
|
|
185
229
|
"description": "Disable auto-renewal for a subscription.\n\nUse this endpoint when disable auto-renewal for a subscription.",
|
|
186
230
|
"method": "DELETE",
|
|
187
231
|
"path": "/api/billing/v1/subscriptions/{subscriptionId}/auto-renewal/disable",
|
|
@@ -206,6 +250,13 @@ const tools: OpenApiTool[] = [
|
|
|
206
250
|
},
|
|
207
251
|
{
|
|
208
252
|
"name": "billing_enableAutoRenewalV1",
|
|
253
|
+
"title": "Enable auto-renewal",
|
|
254
|
+
"annotations": {
|
|
255
|
+
"title": "Enable auto-renewal",
|
|
256
|
+
"readOnlyHint": false,
|
|
257
|
+
"destructiveHint": true,
|
|
258
|
+
"idempotentHint": true
|
|
259
|
+
},
|
|
209
260
|
"description": "Enable auto-renewal for a subscription.\n\nUse this endpoint when enable auto-renewal for a subscription.",
|
|
210
261
|
"method": "PATCH",
|
|
211
262
|
"path": "/api/billing/v1/subscriptions/{subscriptionId}/auto-renewal/enable",
|
|
@@ -230,6 +281,12 @@ const tools: OpenApiTool[] = [
|
|
|
230
281
|
},
|
|
231
282
|
{
|
|
232
283
|
"name": "billing_renewSubscriptionV1",
|
|
284
|
+
"title": "Renew subscription",
|
|
285
|
+
"annotations": {
|
|
286
|
+
"title": "Renew subscription",
|
|
287
|
+
"readOnlyHint": false,
|
|
288
|
+
"destructiveHint": false
|
|
289
|
+
},
|
|
233
290
|
"description": "Create a renewal order for an existing Hostinger subscription.\n\nThis endpoint places a renewal order for a single subscription, leveraging\nthe existing billing infrastructure. Use the\n[subscriptions endpoint](#tag/billing-subscriptions) to look up the\n`subscriptionId` values available for renewal.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nUse this endpoint to renew any subscription available in your account.",
|
|
234
291
|
"method": "POST",
|
|
235
292
|
"path": "/api/billing/v1/subscriptions/{subscriptionId}/renew",
|
package/src/core/tools/dns.js
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
export default [
|
|
3
3
|
{
|
|
4
4
|
"name": "DNS_getDNSSnapshotV1",
|
|
5
|
+
"title": "Get DNS snapshot",
|
|
6
|
+
"annotations": {
|
|
7
|
+
"title": "Get DNS snapshot",
|
|
8
|
+
"readOnlyHint": true,
|
|
9
|
+
"destructiveHint": false
|
|
10
|
+
},
|
|
5
11
|
"description": "Retrieve particular DNS snapshot with contents of DNS zone records.\n\nUse this endpoint to view historical DNS configurations for domains.",
|
|
6
12
|
"method": "GET",
|
|
7
13
|
"path": "/api/dns/v1/snapshots/{domain}/{snapshotId}",
|
|
@@ -31,6 +37,12 @@ export default [
|
|
|
31
37
|
},
|
|
32
38
|
{
|
|
33
39
|
"name": "DNS_getDNSSnapshotListV1",
|
|
40
|
+
"title": "Get DNS snapshot list",
|
|
41
|
+
"annotations": {
|
|
42
|
+
"title": "Get DNS snapshot list",
|
|
43
|
+
"readOnlyHint": true,
|
|
44
|
+
"destructiveHint": false
|
|
45
|
+
},
|
|
34
46
|
"description": "Retrieve DNS snapshots for a domain.\n\nUse this endpoint to view available DNS backup points for restoration.",
|
|
35
47
|
"method": "GET",
|
|
36
48
|
"path": "/api/dns/v1/snapshots/{domain}",
|
|
@@ -55,6 +67,12 @@ export default [
|
|
|
55
67
|
},
|
|
56
68
|
{
|
|
57
69
|
"name": "DNS_restoreDNSSnapshotV1",
|
|
70
|
+
"title": "Restore DNS snapshot",
|
|
71
|
+
"annotations": {
|
|
72
|
+
"title": "Restore DNS snapshot",
|
|
73
|
+
"readOnlyHint": false,
|
|
74
|
+
"destructiveHint": true
|
|
75
|
+
},
|
|
58
76
|
"description": "Restore DNS zone to the selected snapshot.\n\nUse this endpoint to revert domain DNS to a previous configuration.",
|
|
59
77
|
"method": "POST",
|
|
60
78
|
"path": "/api/dns/v1/snapshots/{domain}/{snapshotId}/restore",
|
|
@@ -84,6 +102,12 @@ export default [
|
|
|
84
102
|
},
|
|
85
103
|
{
|
|
86
104
|
"name": "DNS_getDNSRecordsV1",
|
|
105
|
+
"title": "Get DNS records",
|
|
106
|
+
"annotations": {
|
|
107
|
+
"title": "Get DNS records",
|
|
108
|
+
"readOnlyHint": true,
|
|
109
|
+
"destructiveHint": false
|
|
110
|
+
},
|
|
87
111
|
"description": "Retrieve DNS zone records for a specific domain.\n\nUse this endpoint to view current DNS configuration for domain management.",
|
|
88
112
|
"method": "GET",
|
|
89
113
|
"path": "/api/dns/v1/zones/{domain}",
|
|
@@ -108,6 +132,13 @@ export default [
|
|
|
108
132
|
},
|
|
109
133
|
{
|
|
110
134
|
"name": "DNS_updateDNSRecordsV1",
|
|
135
|
+
"title": "Update DNS records",
|
|
136
|
+
"annotations": {
|
|
137
|
+
"title": "Update DNS records",
|
|
138
|
+
"readOnlyHint": false,
|
|
139
|
+
"destructiveHint": true,
|
|
140
|
+
"idempotentHint": true
|
|
141
|
+
},
|
|
111
142
|
"description": "Update DNS records for the selected domain.\n\nUsing `overwrite = true` will replace existing records with the provided ones. \nOtherwise existing records will be updated and new records will be added.\n\nUse this endpoint to modify domain DNS configuration.",
|
|
112
143
|
"method": "PUT",
|
|
113
144
|
"path": "/api/dns/v1/zones/{domain}",
|
|
@@ -193,6 +224,13 @@ export default [
|
|
|
193
224
|
},
|
|
194
225
|
{
|
|
195
226
|
"name": "DNS_deleteDNSRecordsV1",
|
|
227
|
+
"title": "Delete DNS records",
|
|
228
|
+
"annotations": {
|
|
229
|
+
"title": "Delete DNS records",
|
|
230
|
+
"readOnlyHint": false,
|
|
231
|
+
"destructiveHint": true,
|
|
232
|
+
"idempotentHint": true
|
|
233
|
+
},
|
|
196
234
|
"description": "Delete DNS records for the selected domain.\n\nTo filter which records to delete, add the `name` of the record and `type` to the filter. \nMultiple filters can be provided with single request.\n\nIf you have multiple records with the same name and type, and you want to delete only part of them,\nrefer to the `Update zone records` endpoint.\n\nUse this endpoint to remove specific DNS records from domains.",
|
|
197
235
|
"method": "DELETE",
|
|
198
236
|
"path": "/api/dns/v1/zones/{domain}",
|
|
@@ -217,6 +255,12 @@ export default [
|
|
|
217
255
|
},
|
|
218
256
|
{
|
|
219
257
|
"name": "DNS_resetDNSRecordsV1",
|
|
258
|
+
"title": "Reset DNS records",
|
|
259
|
+
"annotations": {
|
|
260
|
+
"title": "Reset DNS records",
|
|
261
|
+
"readOnlyHint": false,
|
|
262
|
+
"destructiveHint": true
|
|
263
|
+
},
|
|
220
264
|
"description": "Reset DNS zone to the default records.\n\nUse this endpoint to restore domain DNS to original configuration.",
|
|
221
265
|
"method": "POST",
|
|
222
266
|
"path": "/api/dns/v1/zones/{domain}/reset",
|
|
@@ -257,6 +301,12 @@ export default [
|
|
|
257
301
|
},
|
|
258
302
|
{
|
|
259
303
|
"name": "DNS_validateDNSRecordsV1",
|
|
304
|
+
"title": "Validate DNS records",
|
|
305
|
+
"annotations": {
|
|
306
|
+
"title": "Validate DNS records",
|
|
307
|
+
"readOnlyHint": true,
|
|
308
|
+
"destructiveHint": false
|
|
309
|
+
},
|
|
260
310
|
"description": "Validate DNS records prior to update for the selected domain.\n\nIf the validation is successful, the response will contain `200 Success` code.\nIf there is validation error, the response will fail with `422 Validation error` code.\n\nUse this endpoint to verify DNS record validity before applying changes.",
|
|
261
311
|
"method": "POST",
|
|
262
312
|
"path": "/api/dns/v1/zones/{domain}/validate",
|
package/src/core/tools/dns.ts
CHANGED
|
@@ -16,6 +16,12 @@ export interface OpenApiTool extends Tool {
|
|
|
16
16
|
const tools: OpenApiTool[] = [
|
|
17
17
|
{
|
|
18
18
|
"name": "DNS_getDNSSnapshotV1",
|
|
19
|
+
"title": "Get DNS snapshot",
|
|
20
|
+
"annotations": {
|
|
21
|
+
"title": "Get DNS snapshot",
|
|
22
|
+
"readOnlyHint": true,
|
|
23
|
+
"destructiveHint": false
|
|
24
|
+
},
|
|
19
25
|
"description": "Retrieve particular DNS snapshot with contents of DNS zone records.\n\nUse this endpoint to view historical DNS configurations for domains.",
|
|
20
26
|
"method": "GET",
|
|
21
27
|
"path": "/api/dns/v1/snapshots/{domain}/{snapshotId}",
|
|
@@ -45,6 +51,12 @@ const tools: OpenApiTool[] = [
|
|
|
45
51
|
},
|
|
46
52
|
{
|
|
47
53
|
"name": "DNS_getDNSSnapshotListV1",
|
|
54
|
+
"title": "Get DNS snapshot list",
|
|
55
|
+
"annotations": {
|
|
56
|
+
"title": "Get DNS snapshot list",
|
|
57
|
+
"readOnlyHint": true,
|
|
58
|
+
"destructiveHint": false
|
|
59
|
+
},
|
|
48
60
|
"description": "Retrieve DNS snapshots for a domain.\n\nUse this endpoint to view available DNS backup points for restoration.",
|
|
49
61
|
"method": "GET",
|
|
50
62
|
"path": "/api/dns/v1/snapshots/{domain}",
|
|
@@ -69,6 +81,12 @@ const tools: OpenApiTool[] = [
|
|
|
69
81
|
},
|
|
70
82
|
{
|
|
71
83
|
"name": "DNS_restoreDNSSnapshotV1",
|
|
84
|
+
"title": "Restore DNS snapshot",
|
|
85
|
+
"annotations": {
|
|
86
|
+
"title": "Restore DNS snapshot",
|
|
87
|
+
"readOnlyHint": false,
|
|
88
|
+
"destructiveHint": true
|
|
89
|
+
},
|
|
72
90
|
"description": "Restore DNS zone to the selected snapshot.\n\nUse this endpoint to revert domain DNS to a previous configuration.",
|
|
73
91
|
"method": "POST",
|
|
74
92
|
"path": "/api/dns/v1/snapshots/{domain}/{snapshotId}/restore",
|
|
@@ -98,6 +116,12 @@ const tools: OpenApiTool[] = [
|
|
|
98
116
|
},
|
|
99
117
|
{
|
|
100
118
|
"name": "DNS_getDNSRecordsV1",
|
|
119
|
+
"title": "Get DNS records",
|
|
120
|
+
"annotations": {
|
|
121
|
+
"title": "Get DNS records",
|
|
122
|
+
"readOnlyHint": true,
|
|
123
|
+
"destructiveHint": false
|
|
124
|
+
},
|
|
101
125
|
"description": "Retrieve DNS zone records for a specific domain.\n\nUse this endpoint to view current DNS configuration for domain management.",
|
|
102
126
|
"method": "GET",
|
|
103
127
|
"path": "/api/dns/v1/zones/{domain}",
|
|
@@ -122,6 +146,13 @@ const tools: OpenApiTool[] = [
|
|
|
122
146
|
},
|
|
123
147
|
{
|
|
124
148
|
"name": "DNS_updateDNSRecordsV1",
|
|
149
|
+
"title": "Update DNS records",
|
|
150
|
+
"annotations": {
|
|
151
|
+
"title": "Update DNS records",
|
|
152
|
+
"readOnlyHint": false,
|
|
153
|
+
"destructiveHint": true,
|
|
154
|
+
"idempotentHint": true
|
|
155
|
+
},
|
|
125
156
|
"description": "Update DNS records for the selected domain.\n\nUsing `overwrite = true` will replace existing records with the provided ones. \nOtherwise existing records will be updated and new records will be added.\n\nUse this endpoint to modify domain DNS configuration.",
|
|
126
157
|
"method": "PUT",
|
|
127
158
|
"path": "/api/dns/v1/zones/{domain}",
|
|
@@ -207,6 +238,13 @@ const tools: OpenApiTool[] = [
|
|
|
207
238
|
},
|
|
208
239
|
{
|
|
209
240
|
"name": "DNS_deleteDNSRecordsV1",
|
|
241
|
+
"title": "Delete DNS records",
|
|
242
|
+
"annotations": {
|
|
243
|
+
"title": "Delete DNS records",
|
|
244
|
+
"readOnlyHint": false,
|
|
245
|
+
"destructiveHint": true,
|
|
246
|
+
"idempotentHint": true
|
|
247
|
+
},
|
|
210
248
|
"description": "Delete DNS records for the selected domain.\n\nTo filter which records to delete, add the `name` of the record and `type` to the filter. \nMultiple filters can be provided with single request.\n\nIf you have multiple records with the same name and type, and you want to delete only part of them,\nrefer to the `Update zone records` endpoint.\n\nUse this endpoint to remove specific DNS records from domains.",
|
|
211
249
|
"method": "DELETE",
|
|
212
250
|
"path": "/api/dns/v1/zones/{domain}",
|
|
@@ -231,6 +269,12 @@ const tools: OpenApiTool[] = [
|
|
|
231
269
|
},
|
|
232
270
|
{
|
|
233
271
|
"name": "DNS_resetDNSRecordsV1",
|
|
272
|
+
"title": "Reset DNS records",
|
|
273
|
+
"annotations": {
|
|
274
|
+
"title": "Reset DNS records",
|
|
275
|
+
"readOnlyHint": false,
|
|
276
|
+
"destructiveHint": true
|
|
277
|
+
},
|
|
234
278
|
"description": "Reset DNS zone to the default records.\n\nUse this endpoint to restore domain DNS to original configuration.",
|
|
235
279
|
"method": "POST",
|
|
236
280
|
"path": "/api/dns/v1/zones/{domain}/reset",
|
|
@@ -271,6 +315,12 @@ const tools: OpenApiTool[] = [
|
|
|
271
315
|
},
|
|
272
316
|
{
|
|
273
317
|
"name": "DNS_validateDNSRecordsV1",
|
|
318
|
+
"title": "Validate DNS records",
|
|
319
|
+
"annotations": {
|
|
320
|
+
"title": "Validate DNS records",
|
|
321
|
+
"readOnlyHint": true,
|
|
322
|
+
"destructiveHint": false
|
|
323
|
+
},
|
|
274
324
|
"description": "Validate DNS records prior to update for the selected domain.\n\nIf the validation is successful, the response will contain `200 Success` code.\nIf there is validation error, the response will fail with `422 Validation error` code.\n\nUse this endpoint to verify DNS record validity before applying changes.",
|
|
275
325
|
"method": "POST",
|
|
276
326
|
"path": "/api/dns/v1/zones/{domain}/validate",
|