hostinger-api-mcp 1.40.0 → 1.41.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 +24 -2
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/agency-hosting.js +69 -0
- package/src/core/tools/agency-hosting.ts +69 -0
- package/src/core/tools/all.js +69 -0
- package/src/core/tools/all.ts +69 -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 +42 -0
package/README.md
CHANGED
|
@@ -69,8 +69,8 @@ pnpm update -g hostinger-api-mcp
|
|
|
69
69
|
|
|
70
70
|
This package installs the following MCP server commands:
|
|
71
71
|
|
|
72
|
-
- `hostinger-api-mcp` — unified server with every tool (
|
|
73
|
-
- `hostinger-agency-hosting-mcp` —
|
|
72
|
+
- `hostinger-api-mcp` — unified server with every tool (342 total)
|
|
73
|
+
- `hostinger-agency-hosting-mcp` — 36 tools for agency-hosting
|
|
74
74
|
- `hostinger-billing-mcp` — 9 tools for billing
|
|
75
75
|
- `hostinger-dns-mcp` — 8 tools for dns
|
|
76
76
|
- `hostinger-domains-mcp` — 40 tools for domains
|
|
@@ -300,6 +300,16 @@ archive types: .zip, .tar, .tar.gz, .tgz.
|
|
|
300
300
|
- **Method**: `POST`
|
|
301
301
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/files/import-archive`
|
|
302
302
|
|
|
303
|
+
#### agency-hosting_listAgencyPlanOrderDiskUsageMetricsV1
|
|
304
|
+
|
|
305
|
+
Returns aggregated disk and inode usage for the Agency Plan order over the
|
|
306
|
+
selected time frame, plus the plan quotas. Figures cover the whole order
|
|
307
|
+
account. Values may be up to one hour stale. CPU, memory, and process usage
|
|
308
|
+
are on the resource-usage-metrics endpoint.
|
|
309
|
+
|
|
310
|
+
- **Method**: `GET`
|
|
311
|
+
- **Path**: `/api/agency-hosting/v1/orders/{order_id}/disk-usage-metrics`
|
|
312
|
+
|
|
303
313
|
#### agency-hosting_listOrdersV1
|
|
304
314
|
|
|
305
315
|
Returns a paginated list of Agency Plan orders accessible to the authenticated client.
|
|
@@ -307,6 +317,18 @@ Returns a paginated list of Agency Plan orders accessible to the authenticated c
|
|
|
307
317
|
- **Method**: `GET`
|
|
308
318
|
- **Path**: `/api/agency-hosting/v1/orders`
|
|
309
319
|
|
|
320
|
+
#### agency-hosting_listOrderResourceUsageMetricsV1
|
|
321
|
+
|
|
322
|
+
Returns aggregated CPU, memory, and process usage for the Agency Plan order
|
|
323
|
+
over the selected time frame, plus the plan quotas and a per-website
|
|
324
|
+
breakdown. Each website is identified by uid. Suspended and deleted websites
|
|
325
|
+
are excluded from both the order totals and the per-website breakdown.
|
|
326
|
+
Values may be up to one hour stale. Disk and inode usage are on the
|
|
327
|
+
disk-usage-metrics endpoint.
|
|
328
|
+
|
|
329
|
+
- **Method**: `GET`
|
|
330
|
+
- **Path**: `/api/agency-hosting/v1/orders/{order_id}/resource-usage-metrics`
|
|
331
|
+
|
|
310
332
|
#### agency-hosting_listPHPExtensionsForAWebsiteV1
|
|
311
333
|
|
|
312
334
|
Lists every PHP extension available to an Agency Plan website and whether it is currently enabled.
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/hostinger/api-mcp-server",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "1.
|
|
9
|
+
"version": "1.41.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.41.0",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
|
@@ -247,6 +247,40 @@ export default [
|
|
|
247
247
|
],
|
|
248
248
|
"group": "agency-hosting"
|
|
249
249
|
},
|
|
250
|
+
{
|
|
251
|
+
"name": "agency-hosting_listAgencyPlanOrderDiskUsageMetricsV1",
|
|
252
|
+
"description": "Returns aggregated disk and inode usage for the Agency Plan order over the\nselected time frame, plus the plan quotas. Figures cover the whole order\naccount. Values may be up to one hour stale. CPU, memory, and process usage\nare on the resource-usage-metrics endpoint.",
|
|
253
|
+
"method": "GET",
|
|
254
|
+
"path": "/api/agency-hosting/v1/orders/{order_id}/disk-usage-metrics",
|
|
255
|
+
"inputSchema": {
|
|
256
|
+
"type": "object",
|
|
257
|
+
"properties": {
|
|
258
|
+
"order_id": {
|
|
259
|
+
"type": "integer",
|
|
260
|
+
"description": "Agency Plan order ID"
|
|
261
|
+
},
|
|
262
|
+
"time_frame_days": {
|
|
263
|
+
"type": "integer",
|
|
264
|
+
"description": "Length of the window in days, ending now. Bucket size grows with the window.",
|
|
265
|
+
"enum": [
|
|
266
|
+
1,
|
|
267
|
+
7,
|
|
268
|
+
14,
|
|
269
|
+
30
|
|
270
|
+
]
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"required": [
|
|
274
|
+
"order_id"
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
"security": [
|
|
278
|
+
{
|
|
279
|
+
"apiToken": []
|
|
280
|
+
}
|
|
281
|
+
],
|
|
282
|
+
"group": "agency-hosting"
|
|
283
|
+
},
|
|
250
284
|
{
|
|
251
285
|
"name": "agency-hosting_listOrdersV1",
|
|
252
286
|
"description": "Returns a paginated list of Agency Plan orders accessible to the authenticated client.",
|
|
@@ -273,6 +307,41 @@ export default [
|
|
|
273
307
|
],
|
|
274
308
|
"group": "agency-hosting"
|
|
275
309
|
},
|
|
310
|
+
{
|
|
311
|
+
"name": "agency-hosting_listOrderResourceUsageMetricsV1",
|
|
312
|
+
"description": "Returns aggregated CPU, memory, and process usage for the Agency Plan order\nover the selected time frame, plus the plan quotas and a per-website\nbreakdown. Each website is identified by uid. Suspended and deleted websites\nare excluded from both the order totals and the per-website breakdown.\nValues may be up to one hour stale. Disk and inode usage are on the\ndisk-usage-metrics endpoint.",
|
|
313
|
+
"method": "GET",
|
|
314
|
+
"path": "/api/agency-hosting/v1/orders/{order_id}/resource-usage-metrics",
|
|
315
|
+
"inputSchema": {
|
|
316
|
+
"type": "object",
|
|
317
|
+
"properties": {
|
|
318
|
+
"order_id": {
|
|
319
|
+
"type": "integer",
|
|
320
|
+
"description": "Agency Plan order ID"
|
|
321
|
+
},
|
|
322
|
+
"time_frame_hours": {
|
|
323
|
+
"type": "integer",
|
|
324
|
+
"description": "Length of the window in hours, ending now. Bucket size grows with the window.",
|
|
325
|
+
"enum": [
|
|
326
|
+
1,
|
|
327
|
+
24,
|
|
328
|
+
168,
|
|
329
|
+
336,
|
|
330
|
+
720
|
|
331
|
+
]
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
"required": [
|
|
335
|
+
"order_id"
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
"security": [
|
|
339
|
+
{
|
|
340
|
+
"apiToken": []
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
"group": "agency-hosting"
|
|
344
|
+
},
|
|
276
345
|
{
|
|
277
346
|
"name": "agency-hosting_listPHPExtensionsForAWebsiteV1",
|
|
278
347
|
"description": "Lists every PHP extension available to an Agency Plan website and whether it is currently enabled.",
|
|
@@ -261,6 +261,40 @@ const tools: OpenApiTool[] = [
|
|
|
261
261
|
],
|
|
262
262
|
"group": "agency-hosting"
|
|
263
263
|
},
|
|
264
|
+
{
|
|
265
|
+
"name": "agency-hosting_listAgencyPlanOrderDiskUsageMetricsV1",
|
|
266
|
+
"description": "Returns aggregated disk and inode usage for the Agency Plan order over the\nselected time frame, plus the plan quotas. Figures cover the whole order\naccount. Values may be up to one hour stale. CPU, memory, and process usage\nare on the resource-usage-metrics endpoint.",
|
|
267
|
+
"method": "GET",
|
|
268
|
+
"path": "/api/agency-hosting/v1/orders/{order_id}/disk-usage-metrics",
|
|
269
|
+
"inputSchema": {
|
|
270
|
+
"type": "object",
|
|
271
|
+
"properties": {
|
|
272
|
+
"order_id": {
|
|
273
|
+
"type": "integer",
|
|
274
|
+
"description": "Agency Plan order ID"
|
|
275
|
+
},
|
|
276
|
+
"time_frame_days": {
|
|
277
|
+
"type": "integer",
|
|
278
|
+
"description": "Length of the window in days, ending now. Bucket size grows with the window.",
|
|
279
|
+
"enum": [
|
|
280
|
+
1,
|
|
281
|
+
7,
|
|
282
|
+
14,
|
|
283
|
+
30
|
|
284
|
+
]
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
"required": [
|
|
288
|
+
"order_id"
|
|
289
|
+
]
|
|
290
|
+
},
|
|
291
|
+
"security": [
|
|
292
|
+
{
|
|
293
|
+
"apiToken": []
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
"group": "agency-hosting"
|
|
297
|
+
},
|
|
264
298
|
{
|
|
265
299
|
"name": "agency-hosting_listOrdersV1",
|
|
266
300
|
"description": "Returns a paginated list of Agency Plan orders accessible to the authenticated client.",
|
|
@@ -287,6 +321,41 @@ const tools: OpenApiTool[] = [
|
|
|
287
321
|
],
|
|
288
322
|
"group": "agency-hosting"
|
|
289
323
|
},
|
|
324
|
+
{
|
|
325
|
+
"name": "agency-hosting_listOrderResourceUsageMetricsV1",
|
|
326
|
+
"description": "Returns aggregated CPU, memory, and process usage for the Agency Plan order\nover the selected time frame, plus the plan quotas and a per-website\nbreakdown. Each website is identified by uid. Suspended and deleted websites\nare excluded from both the order totals and the per-website breakdown.\nValues may be up to one hour stale. Disk and inode usage are on the\ndisk-usage-metrics endpoint.",
|
|
327
|
+
"method": "GET",
|
|
328
|
+
"path": "/api/agency-hosting/v1/orders/{order_id}/resource-usage-metrics",
|
|
329
|
+
"inputSchema": {
|
|
330
|
+
"type": "object",
|
|
331
|
+
"properties": {
|
|
332
|
+
"order_id": {
|
|
333
|
+
"type": "integer",
|
|
334
|
+
"description": "Agency Plan order ID"
|
|
335
|
+
},
|
|
336
|
+
"time_frame_hours": {
|
|
337
|
+
"type": "integer",
|
|
338
|
+
"description": "Length of the window in hours, ending now. Bucket size grows with the window.",
|
|
339
|
+
"enum": [
|
|
340
|
+
1,
|
|
341
|
+
24,
|
|
342
|
+
168,
|
|
343
|
+
336,
|
|
344
|
+
720
|
|
345
|
+
]
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"required": [
|
|
349
|
+
"order_id"
|
|
350
|
+
]
|
|
351
|
+
},
|
|
352
|
+
"security": [
|
|
353
|
+
{
|
|
354
|
+
"apiToken": []
|
|
355
|
+
}
|
|
356
|
+
],
|
|
357
|
+
"group": "agency-hosting"
|
|
358
|
+
},
|
|
290
359
|
{
|
|
291
360
|
"name": "agency-hosting_listPHPExtensionsForAWebsiteV1",
|
|
292
361
|
"description": "Lists every PHP extension available to an Agency Plan website and whether it is currently enabled.",
|
package/src/core/tools/all.js
CHANGED
|
@@ -504,6 +504,40 @@ export default [
|
|
|
504
504
|
],
|
|
505
505
|
"group": "agency-hosting"
|
|
506
506
|
},
|
|
507
|
+
{
|
|
508
|
+
"name": "agency-hosting_listAgencyPlanOrderDiskUsageMetricsV1",
|
|
509
|
+
"description": "Returns aggregated disk and inode usage for the Agency Plan order over the\nselected time frame, plus the plan quotas. Figures cover the whole order\naccount. Values may be up to one hour stale. CPU, memory, and process usage\nare on the resource-usage-metrics endpoint.",
|
|
510
|
+
"method": "GET",
|
|
511
|
+
"path": "/api/agency-hosting/v1/orders/{order_id}/disk-usage-metrics",
|
|
512
|
+
"inputSchema": {
|
|
513
|
+
"type": "object",
|
|
514
|
+
"properties": {
|
|
515
|
+
"order_id": {
|
|
516
|
+
"type": "integer",
|
|
517
|
+
"description": "Agency Plan order ID"
|
|
518
|
+
},
|
|
519
|
+
"time_frame_days": {
|
|
520
|
+
"type": "integer",
|
|
521
|
+
"description": "Length of the window in days, ending now. Bucket size grows with the window.",
|
|
522
|
+
"enum": [
|
|
523
|
+
1,
|
|
524
|
+
7,
|
|
525
|
+
14,
|
|
526
|
+
30
|
|
527
|
+
]
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
"required": [
|
|
531
|
+
"order_id"
|
|
532
|
+
]
|
|
533
|
+
},
|
|
534
|
+
"security": [
|
|
535
|
+
{
|
|
536
|
+
"apiToken": []
|
|
537
|
+
}
|
|
538
|
+
],
|
|
539
|
+
"group": "agency-hosting"
|
|
540
|
+
},
|
|
507
541
|
{
|
|
508
542
|
"name": "agency-hosting_listOrdersV1",
|
|
509
543
|
"description": "Returns a paginated list of Agency Plan orders accessible to the authenticated client.",
|
|
@@ -530,6 +564,41 @@ export default [
|
|
|
530
564
|
],
|
|
531
565
|
"group": "agency-hosting"
|
|
532
566
|
},
|
|
567
|
+
{
|
|
568
|
+
"name": "agency-hosting_listOrderResourceUsageMetricsV1",
|
|
569
|
+
"description": "Returns aggregated CPU, memory, and process usage for the Agency Plan order\nover the selected time frame, plus the plan quotas and a per-website\nbreakdown. Each website is identified by uid. Suspended and deleted websites\nare excluded from both the order totals and the per-website breakdown.\nValues may be up to one hour stale. Disk and inode usage are on the\ndisk-usage-metrics endpoint.",
|
|
570
|
+
"method": "GET",
|
|
571
|
+
"path": "/api/agency-hosting/v1/orders/{order_id}/resource-usage-metrics",
|
|
572
|
+
"inputSchema": {
|
|
573
|
+
"type": "object",
|
|
574
|
+
"properties": {
|
|
575
|
+
"order_id": {
|
|
576
|
+
"type": "integer",
|
|
577
|
+
"description": "Agency Plan order ID"
|
|
578
|
+
},
|
|
579
|
+
"time_frame_hours": {
|
|
580
|
+
"type": "integer",
|
|
581
|
+
"description": "Length of the window in hours, ending now. Bucket size grows with the window.",
|
|
582
|
+
"enum": [
|
|
583
|
+
1,
|
|
584
|
+
24,
|
|
585
|
+
168,
|
|
586
|
+
336,
|
|
587
|
+
720
|
|
588
|
+
]
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
"required": [
|
|
592
|
+
"order_id"
|
|
593
|
+
]
|
|
594
|
+
},
|
|
595
|
+
"security": [
|
|
596
|
+
{
|
|
597
|
+
"apiToken": []
|
|
598
|
+
}
|
|
599
|
+
],
|
|
600
|
+
"group": "agency-hosting"
|
|
601
|
+
},
|
|
533
602
|
{
|
|
534
603
|
"name": "agency-hosting_listPHPExtensionsForAWebsiteV1",
|
|
535
604
|
"description": "Lists every PHP extension available to an Agency Plan website and whether it is currently enabled.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -518,6 +518,40 @@ const tools: OpenApiTool[] = [
|
|
|
518
518
|
],
|
|
519
519
|
"group": "agency-hosting"
|
|
520
520
|
},
|
|
521
|
+
{
|
|
522
|
+
"name": "agency-hosting_listAgencyPlanOrderDiskUsageMetricsV1",
|
|
523
|
+
"description": "Returns aggregated disk and inode usage for the Agency Plan order over the\nselected time frame, plus the plan quotas. Figures cover the whole order\naccount. Values may be up to one hour stale. CPU, memory, and process usage\nare on the resource-usage-metrics endpoint.",
|
|
524
|
+
"method": "GET",
|
|
525
|
+
"path": "/api/agency-hosting/v1/orders/{order_id}/disk-usage-metrics",
|
|
526
|
+
"inputSchema": {
|
|
527
|
+
"type": "object",
|
|
528
|
+
"properties": {
|
|
529
|
+
"order_id": {
|
|
530
|
+
"type": "integer",
|
|
531
|
+
"description": "Agency Plan order ID"
|
|
532
|
+
},
|
|
533
|
+
"time_frame_days": {
|
|
534
|
+
"type": "integer",
|
|
535
|
+
"description": "Length of the window in days, ending now. Bucket size grows with the window.",
|
|
536
|
+
"enum": [
|
|
537
|
+
1,
|
|
538
|
+
7,
|
|
539
|
+
14,
|
|
540
|
+
30
|
|
541
|
+
]
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
"required": [
|
|
545
|
+
"order_id"
|
|
546
|
+
]
|
|
547
|
+
},
|
|
548
|
+
"security": [
|
|
549
|
+
{
|
|
550
|
+
"apiToken": []
|
|
551
|
+
}
|
|
552
|
+
],
|
|
553
|
+
"group": "agency-hosting"
|
|
554
|
+
},
|
|
521
555
|
{
|
|
522
556
|
"name": "agency-hosting_listOrdersV1",
|
|
523
557
|
"description": "Returns a paginated list of Agency Plan orders accessible to the authenticated client.",
|
|
@@ -544,6 +578,41 @@ const tools: OpenApiTool[] = [
|
|
|
544
578
|
],
|
|
545
579
|
"group": "agency-hosting"
|
|
546
580
|
},
|
|
581
|
+
{
|
|
582
|
+
"name": "agency-hosting_listOrderResourceUsageMetricsV1",
|
|
583
|
+
"description": "Returns aggregated CPU, memory, and process usage for the Agency Plan order\nover the selected time frame, plus the plan quotas and a per-website\nbreakdown. Each website is identified by uid. Suspended and deleted websites\nare excluded from both the order totals and the per-website breakdown.\nValues may be up to one hour stale. Disk and inode usage are on the\ndisk-usage-metrics endpoint.",
|
|
584
|
+
"method": "GET",
|
|
585
|
+
"path": "/api/agency-hosting/v1/orders/{order_id}/resource-usage-metrics",
|
|
586
|
+
"inputSchema": {
|
|
587
|
+
"type": "object",
|
|
588
|
+
"properties": {
|
|
589
|
+
"order_id": {
|
|
590
|
+
"type": "integer",
|
|
591
|
+
"description": "Agency Plan order ID"
|
|
592
|
+
},
|
|
593
|
+
"time_frame_hours": {
|
|
594
|
+
"type": "integer",
|
|
595
|
+
"description": "Length of the window in hours, ending now. Bucket size grows with the window.",
|
|
596
|
+
"enum": [
|
|
597
|
+
1,
|
|
598
|
+
24,
|
|
599
|
+
168,
|
|
600
|
+
336,
|
|
601
|
+
720
|
|
602
|
+
]
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
"required": [
|
|
606
|
+
"order_id"
|
|
607
|
+
]
|
|
608
|
+
},
|
|
609
|
+
"security": [
|
|
610
|
+
{
|
|
611
|
+
"apiToken": []
|
|
612
|
+
}
|
|
613
|
+
],
|
|
614
|
+
"group": "agency-hosting"
|
|
615
|
+
},
|
|
547
616
|
{
|
|
548
617
|
"name": "agency-hosting_listPHPExtensionsForAWebsiteV1",
|
|
549
618
|
"description": "Lists every PHP extension available to an Agency Plan website and whether it is currently enabled.",
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.41.0', tools });
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.41.0', tools });
|
package/src/servers/all.js
CHANGED
package/src/servers/all.ts
CHANGED
package/src/servers/billing.js
CHANGED
package/src/servers/billing.ts
CHANGED
package/src/servers/dns.js
CHANGED
package/src/servers/dns.ts
CHANGED
package/src/servers/domains.js
CHANGED
package/src/servers/domains.ts
CHANGED
package/src/servers/ecommerce.js
CHANGED
package/src/servers/ecommerce.ts
CHANGED
package/src/servers/horizons.js
CHANGED
package/src/servers/horizons.ts
CHANGED
package/src/servers/hosting.js
CHANGED
package/src/servers/hosting.ts
CHANGED
package/src/servers/mail.js
CHANGED
package/src/servers/mail.ts
CHANGED
package/src/servers/reach.js
CHANGED
package/src/servers/reach.ts
CHANGED
package/src/servers/vps.js
CHANGED
package/src/servers/vps.ts
CHANGED
package/src/servers/wordpress.js
CHANGED
package/src/servers/wordpress.ts
CHANGED
package/types.d.ts
CHANGED
|
@@ -327,6 +327,26 @@ archive types: .zip, .tar, .tar.gz, .tgz.
|
|
|
327
327
|
response: any; // Response structure will depend on the API
|
|
328
328
|
};
|
|
329
329
|
|
|
330
|
+
/**
|
|
331
|
+
* Returns aggregated disk and inode usage for the Agency Plan order over the
|
|
332
|
+
selected time frame, plus the plan quotas. Figures cover the whole order
|
|
333
|
+
account. Values may be up to one hour stale. CPU, memory, and process usage
|
|
334
|
+
are on the resource-usage-metrics endpoint.
|
|
335
|
+
*/
|
|
336
|
+
"agency-hosting_listAgencyPlanOrderDiskUsageMetricsV1": {
|
|
337
|
+
params: {
|
|
338
|
+
/**
|
|
339
|
+
* Agency Plan order ID
|
|
340
|
+
*/
|
|
341
|
+
order_id: number;
|
|
342
|
+
/**
|
|
343
|
+
* Length of the window in days, ending now. Bucket size grows with the window.
|
|
344
|
+
*/
|
|
345
|
+
time_frame_days?: number;
|
|
346
|
+
};
|
|
347
|
+
response: any; // Response structure will depend on the API
|
|
348
|
+
};
|
|
349
|
+
|
|
330
350
|
/**
|
|
331
351
|
* Returns a paginated list of Agency Plan orders accessible to the authenticated client.
|
|
332
352
|
*/
|
|
@@ -344,6 +364,28 @@ archive types: .zip, .tar, .tar.gz, .tgz.
|
|
|
344
364
|
response: any; // Response structure will depend on the API
|
|
345
365
|
};
|
|
346
366
|
|
|
367
|
+
/**
|
|
368
|
+
* Returns aggregated CPU, memory, and process usage for the Agency Plan order
|
|
369
|
+
over the selected time frame, plus the plan quotas and a per-website
|
|
370
|
+
breakdown. Each website is identified by uid. Suspended and deleted websites
|
|
371
|
+
are excluded from both the order totals and the per-website breakdown.
|
|
372
|
+
Values may be up to one hour stale. Disk and inode usage are on the
|
|
373
|
+
disk-usage-metrics endpoint.
|
|
374
|
+
*/
|
|
375
|
+
"agency-hosting_listOrderResourceUsageMetricsV1": {
|
|
376
|
+
params: {
|
|
377
|
+
/**
|
|
378
|
+
* Agency Plan order ID
|
|
379
|
+
*/
|
|
380
|
+
order_id: number;
|
|
381
|
+
/**
|
|
382
|
+
* Length of the window in hours, ending now. Bucket size grows with the window.
|
|
383
|
+
*/
|
|
384
|
+
time_frame_hours?: number;
|
|
385
|
+
};
|
|
386
|
+
response: any; // Response structure will depend on the API
|
|
387
|
+
};
|
|
388
|
+
|
|
347
389
|
/**
|
|
348
390
|
* Lists every PHP extension available to an Agency Plan website and whether it is currently enabled.
|
|
349
391
|
*/
|