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
|
@@ -16,6 +16,12 @@ export interface OpenApiTool extends Tool {
|
|
|
16
16
|
const tools: OpenApiTool[] = [
|
|
17
17
|
{
|
|
18
18
|
"name": "agency-hosting_deployNodeStaticWebsite",
|
|
19
|
+
"title": "Deploy node-static website",
|
|
20
|
+
"annotations": {
|
|
21
|
+
"title": "Deploy node-static website",
|
|
22
|
+
"readOnlyHint": false,
|
|
23
|
+
"destructiveHint": true
|
|
24
|
+
},
|
|
19
25
|
"topic": "agency-hosting",
|
|
20
26
|
"description": "Deploy a node-static Agency Plan (h5g) website from an archive file. WARNING: this overwrites the website's existing contents and cannot be undone — always confirm with the user before proceeding. Use this for Agency Plan websites of type node-static (a Node.js-built static site that requires a build step or a plain simple static site). The tool resolves the website from its domain, uploads the archive to the website's file browser over TUS, and triggers the build-assets process which builds the site and deploys the result to public_html. This operation is synchronous: the build and deployment complete before the tool returns, so the website is live as soon as the tool finishes successfully — there is no separate asynchronous build to wait for or poll. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the archive yourself, this tool does it end-to-end. For plain PHP applications that should be extracted as-is, use agencyHosting_deployPhpApplication instead. The website UID is automatically resolved from the domain.",
|
|
21
27
|
"method": "",
|
|
@@ -50,6 +56,12 @@ const tools: OpenApiTool[] = [
|
|
|
50
56
|
},
|
|
51
57
|
{
|
|
52
58
|
"name": "agency-hosting_deployPhpApplication",
|
|
59
|
+
"title": "Deploy PHP application",
|
|
60
|
+
"annotations": {
|
|
61
|
+
"title": "Deploy PHP application",
|
|
62
|
+
"readOnlyHint": false,
|
|
63
|
+
"destructiveHint": true
|
|
64
|
+
},
|
|
53
65
|
"topic": "agency-hosting",
|
|
54
66
|
"description": "Deploy a PHP (or other non-build) Agency Plan (h5g) website from an archive file. WARNING: this overwrites the website's existing contents and cannot be undone — always confirm with the user before proceeding. Use this for Agency Plan websites where the archive contents should be extracted and served as-is with no build step (e.g., PHP applications). The tool resolves the website from its domain, uploads the archive to the website's file browser over TUS, and triggers the import-archive process which overwrites the website contents with the archive contents. This operation is synchronous: the archive is extracted and deployed before the tool returns, so the website is live as soon as the tool finishes successfully — there is no separate asynchronous build to wait for or poll. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the archive yourself, this tool does it end-to-end. For node-static websites that require a build step, use agencyHosting_deployNodeStaticWebsite instead. The website UID is automatically resolved from the domain.",
|
|
55
67
|
"method": "",
|
|
@@ -84,6 +96,12 @@ const tools: OpenApiTool[] = [
|
|
|
84
96
|
},
|
|
85
97
|
{
|
|
86
98
|
"name": "agency-hosting_listAvailableDatacentersV1",
|
|
99
|
+
"title": "List available datacenters",
|
|
100
|
+
"annotations": {
|
|
101
|
+
"title": "List available datacenters",
|
|
102
|
+
"readOnlyHint": true,
|
|
103
|
+
"destructiveHint": false
|
|
104
|
+
},
|
|
87
105
|
"description": "Lists the datacenters available for provisioning a new website on the given Agency Plan\nhosting order.\n\nEach datacenter includes a `pinger_url` you can ping from the client to measure round-trip\nlatency; comparing the results across datacenters lets you pick the nearest one (lowest\nping) before choosing its `code` as the `datacenter_code` when creating a website setup.",
|
|
88
106
|
"method": "GET",
|
|
89
107
|
"path": "/api/agency-hosting/v1/orders/{order_id}/datacenters",
|
|
@@ -108,6 +126,13 @@ const tools: OpenApiTool[] = [
|
|
|
108
126
|
},
|
|
109
127
|
{
|
|
110
128
|
"name": "agency-hosting_changeWebsiteDomainV1",
|
|
129
|
+
"title": "Change website domain",
|
|
130
|
+
"annotations": {
|
|
131
|
+
"title": "Change website domain",
|
|
132
|
+
"readOnlyHint": false,
|
|
133
|
+
"destructiveHint": true,
|
|
134
|
+
"idempotentHint": true
|
|
135
|
+
},
|
|
111
136
|
"description": "Changes the primary domain for an Agency Plan website.\n\nProvide the current domain in the path and the new domain in the request body.\nSet domain to null to revert to the temporary domain.",
|
|
112
137
|
"method": "PUT",
|
|
113
138
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/domains/{from_domain}",
|
|
@@ -142,6 +167,12 @@ const tools: OpenApiTool[] = [
|
|
|
142
167
|
},
|
|
143
168
|
{
|
|
144
169
|
"name": "agency-hosting_linkDomainToWebsiteV1",
|
|
170
|
+
"title": "Link domain to website",
|
|
171
|
+
"annotations": {
|
|
172
|
+
"title": "Link domain to website",
|
|
173
|
+
"readOnlyHint": false,
|
|
174
|
+
"destructiveHint": false
|
|
175
|
+
},
|
|
145
176
|
"description": "Links a domain to the specified Agency Plan website so it can serve traffic for that domain.",
|
|
146
177
|
"method": "POST",
|
|
147
178
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/domains",
|
|
@@ -171,6 +202,12 @@ const tools: OpenApiTool[] = [
|
|
|
171
202
|
},
|
|
172
203
|
{
|
|
173
204
|
"name": "agency-hosting_listDomainsV1",
|
|
205
|
+
"title": "List domains",
|
|
206
|
+
"annotations": {
|
|
207
|
+
"title": "List domains",
|
|
208
|
+
"readOnlyHint": true,
|
|
209
|
+
"destructiveHint": false
|
|
210
|
+
},
|
|
174
211
|
"description": "Returns a paginated list of domains associated with Agency Plan websites accessible to the authenticated client.\n\nUse the website_uuids filter to narrow results to specific websites.",
|
|
175
212
|
"method": "GET",
|
|
176
213
|
"path": "/api/agency-hosting/v1/domains",
|
|
@@ -205,6 +242,13 @@ const tools: OpenApiTool[] = [
|
|
|
205
242
|
},
|
|
206
243
|
{
|
|
207
244
|
"name": "agency-hosting_unlinkDomainFromWebsiteV1",
|
|
245
|
+
"title": "Unlink domain from website",
|
|
246
|
+
"annotations": {
|
|
247
|
+
"title": "Unlink domain from website",
|
|
248
|
+
"readOnlyHint": false,
|
|
249
|
+
"destructiveHint": true,
|
|
250
|
+
"idempotentHint": true
|
|
251
|
+
},
|
|
208
252
|
"description": "Unlinks a domain from the specified Agency Plan website.\n\nThe website stops serving traffic on this domain immediately.\n\nWebsite files and database are preserved, and any other linked domains remain accessible.\n\nIf this is the only domain on the website, unlinking leaves the website without an accessible domain.",
|
|
209
253
|
"method": "DELETE",
|
|
210
254
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/domains/{domain}",
|
|
@@ -234,6 +278,12 @@ const tools: OpenApiTool[] = [
|
|
|
234
278
|
},
|
|
235
279
|
{
|
|
236
280
|
"name": "agency-hosting_generateUploadURLV1",
|
|
281
|
+
"title": "Generate upload URL",
|
|
282
|
+
"annotations": {
|
|
283
|
+
"title": "Generate upload URL",
|
|
284
|
+
"readOnlyHint": false,
|
|
285
|
+
"destructiveHint": false
|
|
286
|
+
},
|
|
237
287
|
"description": "Generate a file browser upload URL with authentication credentials for uploading files\nto an Agency Plan website's file storage.\n\nReturns `url`, `auth_key` and `rest_auth_key`. Use these to upload a file to the\nwebsite's file storage via the TUS resumable upload protocol (TUS 1.0.0). Send\n`X-Auth: {auth_key}` and `X-Auth-Rest: {rest_auth_key}` headers on every request below.\n\n1. Create the upload: `POST` to `{url}/{relative_file_path}?override=true` with headers\n `upload-length: {file size in bytes}` and `upload-offset: 0`. Expect `201 Created`.\n2. Upload the file: send the file bytes to the same location (any TUS 1.0.0 client, or\n `PATCH` requests with an `upload-offset` header tracking progress) until complete.\n\n`relative_file_path` is the destination path inside the website's file storage, e.g.\n`app.zip`.\n\nInstead of a TUS client, plain `curl` also works:\n```\nFILE=app.zip\nSIZE=$(stat -f%z \"$FILE\") # stat -c%s on Linux\n\ncurl -i -X POST \"{url}/${FILE}?override=true\" \\\n -H \"X-Auth: {auth_key}\" \\\n -H \"X-Auth-Rest: {rest_auth_key}\" \\\n -H \"Tus-Resumable: 1.0.0\" \\\n -H \"Upload-Length: ${SIZE}\" \\\n -H \"Upload-Offset: 0\"\n# -> 201 Created\n\ncurl -i -X PATCH \"{url}/${FILE}?override=true\" \\\n -H \"X-Auth: {auth_key}\" \\\n -H \"X-Auth-Rest: {rest_auth_key}\" \\\n -H \"Tus-Resumable: 1.0.0\" \\\n -H \"Content-Type: application/offset+octet-stream\" \\\n -H \"Upload-Offset: 0\" \\\n --data-binary \"@${FILE}\"\n# -> 204 No Content, Upload-Offset response header equals SIZE when done\n```",
|
|
238
288
|
"method": "POST",
|
|
239
289
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/files/upload-urls",
|
|
@@ -258,6 +308,12 @@ const tools: OpenApiTool[] = [
|
|
|
258
308
|
},
|
|
259
309
|
{
|
|
260
310
|
"name": "agency-hosting_importWebsiteFromArchiveV1",
|
|
311
|
+
"title": "Import website from archive",
|
|
312
|
+
"annotations": {
|
|
313
|
+
"title": "Import website from archive",
|
|
314
|
+
"readOnlyHint": false,
|
|
315
|
+
"destructiveHint": true
|
|
316
|
+
},
|
|
261
317
|
"description": "Imports an Agency Plan website from an already-uploaded archive.\n\nUpload the archive to the website's root directory via file browser first, then provide its\nfilename in this request. Website contents are overwritten by the archive contents. Supported\narchive types: .zip, .tar, .tar.gz, .tgz.",
|
|
262
318
|
"method": "POST",
|
|
263
319
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/files/import-archive",
|
|
@@ -287,6 +343,12 @@ const tools: OpenApiTool[] = [
|
|
|
287
343
|
},
|
|
288
344
|
{
|
|
289
345
|
"name": "agency-hosting_listAgencyPlanOrderDiskUsageMetricsV1",
|
|
346
|
+
"title": "List Agency Plan order disk usage metrics",
|
|
347
|
+
"annotations": {
|
|
348
|
+
"title": "List Agency Plan order disk usage metrics",
|
|
349
|
+
"readOnlyHint": true,
|
|
350
|
+
"destructiveHint": false
|
|
351
|
+
},
|
|
290
352
|
"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.",
|
|
291
353
|
"method": "GET",
|
|
292
354
|
"path": "/api/agency-hosting/v1/orders/{order_id}/disk-usage-metrics",
|
|
@@ -321,6 +383,12 @@ const tools: OpenApiTool[] = [
|
|
|
321
383
|
},
|
|
322
384
|
{
|
|
323
385
|
"name": "agency-hosting_listOrdersV1",
|
|
386
|
+
"title": "List orders",
|
|
387
|
+
"annotations": {
|
|
388
|
+
"title": "List orders",
|
|
389
|
+
"readOnlyHint": true,
|
|
390
|
+
"destructiveHint": false
|
|
391
|
+
},
|
|
324
392
|
"description": "Returns a paginated list of Agency Plan orders accessible to the authenticated client.",
|
|
325
393
|
"method": "GET",
|
|
326
394
|
"path": "/api/agency-hosting/v1/orders",
|
|
@@ -347,6 +415,12 @@ const tools: OpenApiTool[] = [
|
|
|
347
415
|
},
|
|
348
416
|
{
|
|
349
417
|
"name": "agency-hosting_listOrderResourceUsageMetricsV1",
|
|
418
|
+
"title": "List order resource usage metrics",
|
|
419
|
+
"annotations": {
|
|
420
|
+
"title": "List order resource usage metrics",
|
|
421
|
+
"readOnlyHint": true,
|
|
422
|
+
"destructiveHint": false
|
|
423
|
+
},
|
|
350
424
|
"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.",
|
|
351
425
|
"method": "GET",
|
|
352
426
|
"path": "/api/agency-hosting/v1/orders/{order_id}/resource-usage-metrics",
|
|
@@ -382,6 +456,12 @@ const tools: OpenApiTool[] = [
|
|
|
382
456
|
},
|
|
383
457
|
{
|
|
384
458
|
"name": "agency-hosting_listPHPExtensionsForAWebsiteV1",
|
|
459
|
+
"title": "List PHP extensions for a website",
|
|
460
|
+
"annotations": {
|
|
461
|
+
"title": "List PHP extensions for a website",
|
|
462
|
+
"readOnlyHint": true,
|
|
463
|
+
"destructiveHint": false
|
|
464
|
+
},
|
|
385
465
|
"description": "Lists every PHP extension available to an Agency Plan website and whether it is currently enabled.",
|
|
386
466
|
"method": "GET",
|
|
387
467
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/php-settings/extensions",
|
|
@@ -406,6 +486,13 @@ const tools: OpenApiTool[] = [
|
|
|
406
486
|
},
|
|
407
487
|
{
|
|
408
488
|
"name": "agency-hosting_replaceWebsitePHPExtensionsV1",
|
|
489
|
+
"title": "Replace website PHP extensions",
|
|
490
|
+
"annotations": {
|
|
491
|
+
"title": "Replace website PHP extensions",
|
|
492
|
+
"readOnlyHint": false,
|
|
493
|
+
"destructiveHint": true,
|
|
494
|
+
"idempotentHint": true
|
|
495
|
+
},
|
|
409
496
|
"description": "Replaces the set of PHP extensions enabled on an Agency Plan website with the ones provided. Any toggleable extension not in the request is disabled, so call the extensions endpoint first and send the full desired set. Extensions compiled into PHP, reported with the \"built-in\" state, are always active and are unaffected.",
|
|
410
497
|
"method": "PUT",
|
|
411
498
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/php-settings/extensions",
|
|
@@ -439,6 +526,12 @@ const tools: OpenApiTool[] = [
|
|
|
439
526
|
},
|
|
440
527
|
{
|
|
441
528
|
"name": "agency-hosting_listPHPOptionsForAWebsiteV1",
|
|
529
|
+
"title": "List PHP options for a website",
|
|
530
|
+
"annotations": {
|
|
531
|
+
"title": "List PHP options for a website",
|
|
532
|
+
"readOnlyHint": true,
|
|
533
|
+
"destructiveHint": false
|
|
534
|
+
},
|
|
442
535
|
"description": "Lists the php.ini directives that can be configured for an Agency Plan website, each with its default, the value currently in effect, and the values it accepts.",
|
|
443
536
|
"method": "GET",
|
|
444
537
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/php-settings/options",
|
|
@@ -463,6 +556,13 @@ const tools: OpenApiTool[] = [
|
|
|
463
556
|
},
|
|
464
557
|
{
|
|
465
558
|
"name": "agency-hosting_replaceWebsitePHPOptionsV1",
|
|
559
|
+
"title": "Replace website PHP options",
|
|
560
|
+
"annotations": {
|
|
561
|
+
"title": "Replace website PHP options",
|
|
562
|
+
"readOnlyHint": false,
|
|
563
|
+
"destructiveHint": true,
|
|
564
|
+
"idempotentHint": true
|
|
565
|
+
},
|
|
466
566
|
"description": "Replaces the custom php.ini values on an Agency Plan website with the ones provided. Any option not in the request is reset to its default, so call the options endpoint first and send the full desired set. Sending an empty array resets every option to its default.",
|
|
467
567
|
"method": "PUT",
|
|
468
568
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/php-settings/options",
|
|
@@ -510,6 +610,12 @@ const tools: OpenApiTool[] = [
|
|
|
510
610
|
},
|
|
511
611
|
{
|
|
512
612
|
"name": "agency-hosting_listAvailablePHPVersionsForAnOrderV1",
|
|
613
|
+
"title": "List available PHP versions for an order",
|
|
614
|
+
"annotations": {
|
|
615
|
+
"title": "List available PHP versions for an order",
|
|
616
|
+
"readOnlyHint": true,
|
|
617
|
+
"destructiveHint": false
|
|
618
|
+
},
|
|
513
619
|
"description": "Lists the PHP versions available to websites created under an Agency Plan order, determined by the server the order is hosted on. Use this before creating a website; for a website that already exists, call the website-scoped versions endpoint instead.",
|
|
514
620
|
"method": "GET",
|
|
515
621
|
"path": "/api/agency-hosting/v1/orders/{order_id}/websites/php-settings/versions",
|
|
@@ -534,6 +640,12 @@ const tools: OpenApiTool[] = [
|
|
|
534
640
|
},
|
|
535
641
|
{
|
|
536
642
|
"name": "agency-hosting_listAvailablePHPVersionsForAWebsiteV1",
|
|
643
|
+
"title": "List available PHP versions for a website",
|
|
644
|
+
"annotations": {
|
|
645
|
+
"title": "List available PHP versions for a website",
|
|
646
|
+
"readOnlyHint": true,
|
|
647
|
+
"destructiveHint": false
|
|
648
|
+
},
|
|
537
649
|
"description": "Lists the PHP versions an Agency Plan website can be switched to. The version the website is currently running is returned as settings.php.version by the website details endpoint.",
|
|
538
650
|
"method": "GET",
|
|
539
651
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/php-settings/versions",
|
|
@@ -558,6 +670,13 @@ const tools: OpenApiTool[] = [
|
|
|
558
670
|
},
|
|
559
671
|
{
|
|
560
672
|
"name": "agency-hosting_updateWebsitePHPVersionV1",
|
|
673
|
+
"title": "Update website PHP version",
|
|
674
|
+
"annotations": {
|
|
675
|
+
"title": "Update website PHP version",
|
|
676
|
+
"readOnlyHint": false,
|
|
677
|
+
"destructiveHint": true,
|
|
678
|
+
"idempotentHint": true
|
|
679
|
+
},
|
|
561
680
|
"description": "Switches an Agency Plan website to a different PHP version. Call the available versions endpoint first to see which versions can be selected. The website restarts on the new version, so requests served during the switch may fail and code that is incompatible with the target version will break.",
|
|
562
681
|
"method": "PATCH",
|
|
563
682
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/php-settings/version",
|
|
@@ -587,6 +706,12 @@ const tools: OpenApiTool[] = [
|
|
|
587
706
|
},
|
|
588
707
|
{
|
|
589
708
|
"name": "agency-hosting_createANewWebsiteV1",
|
|
709
|
+
"title": "Create a new website",
|
|
710
|
+
"annotations": {
|
|
711
|
+
"title": "Create a new website",
|
|
712
|
+
"readOnlyHint": false,
|
|
713
|
+
"destructiveHint": false
|
|
714
|
+
},
|
|
590
715
|
"description": "Provisions a new website on one of your Agency Plan hosting orders.\n\nChoose the datacenter, stack (`flavor`), and PHP version for the site. Optionally attach\nyour own `domain` — omit it, set it to `null`, or leave it unavailable and a free\n`*.hostingersite.com` subdomain is generated instead — and/or install WordPress by\nsupplying the `wordpress` details (admin account, site title, and language).\n\nCommon setups:\n- **Plain PHP site**: `flavor` set to `php-fpm`, with `settings.php.version`; omit\n `wordpress` and `type`.\n- **WordPress site**: `flavor` set to the desired WordPress version (e.g. `wp-7.0`), plus\n the `wordpress` block (admin account, title, language).\n- **Static/Node.js frontend app**: `flavor` set to `php-fpm` and `type` set to\n `node-static`.\n\nProvisioning runs in the background, so the response returns immediately with a setup UUID\nthat identifies the job. The new website becomes reachable once provisioning finishes.",
|
|
591
716
|
"method": "POST",
|
|
592
717
|
"path": "/api/agency-hosting/v1/orders/{order_id}/websites/setups",
|
|
@@ -738,6 +863,12 @@ const tools: OpenApiTool[] = [
|
|
|
738
863
|
},
|
|
739
864
|
{
|
|
740
865
|
"name": "agency-hosting_getWebsiteSetupStatusV1",
|
|
866
|
+
"title": "Get website setup status",
|
|
867
|
+
"annotations": {
|
|
868
|
+
"title": "Get website setup status",
|
|
869
|
+
"readOnlyHint": true,
|
|
870
|
+
"destructiveHint": false
|
|
871
|
+
},
|
|
741
872
|
"description": "Returns the current status of an Agency Plan website setup started via the setups\nendpoint.\n\nPoll this endpoint using the `setup_uuid` returned from the provisioning request until\n`status` becomes `completed`, at which point `website_uid` identifies the new website.",
|
|
742
873
|
"method": "GET",
|
|
743
874
|
"path": "/api/agency-hosting/v1/orders/{order_id}/websites/setups/{setup_uuid}",
|
|
@@ -767,6 +898,12 @@ const tools: OpenApiTool[] = [
|
|
|
767
898
|
},
|
|
768
899
|
{
|
|
769
900
|
"name": "agency-hosting_buildWebsiteNodeJSAssetsV1",
|
|
901
|
+
"title": "Build website NodeJS assets",
|
|
902
|
+
"annotations": {
|
|
903
|
+
"title": "Build website NodeJS assets",
|
|
904
|
+
"readOnlyHint": false,
|
|
905
|
+
"destructiveHint": false
|
|
906
|
+
},
|
|
770
907
|
"description": "Builds and deploys a Node.js application for an Agency Plan website from an already-uploaded archive.\n\nUpload the archive to file browser first, then provide its relative path from document root in this request.\nWebsite contents are overwritten by the build result, which is deployed to public_html.",
|
|
771
908
|
"method": "POST",
|
|
772
909
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/build-assets",
|
|
@@ -796,6 +933,13 @@ const tools: OpenApiTool[] = [
|
|
|
796
933
|
},
|
|
797
934
|
{
|
|
798
935
|
"name": "agency-hosting_clearWebsiteCacheV1",
|
|
936
|
+
"title": "Clear website cache",
|
|
937
|
+
"annotations": {
|
|
938
|
+
"title": "Clear website cache",
|
|
939
|
+
"readOnlyHint": false,
|
|
940
|
+
"destructiveHint": true,
|
|
941
|
+
"idempotentHint": true
|
|
942
|
+
},
|
|
799
943
|
"description": "Clears cache for all domains associated with an Agency Plan website, including its preview domain.\n\nThis operation clears all cache types for the website.",
|
|
800
944
|
"method": "DELETE",
|
|
801
945
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/cache",
|
|
@@ -820,6 +964,12 @@ const tools: OpenApiTool[] = [
|
|
|
820
964
|
},
|
|
821
965
|
{
|
|
822
966
|
"name": "agency-hosting_listWebsiteCronJobsV1",
|
|
967
|
+
"title": "List website cron jobs",
|
|
968
|
+
"annotations": {
|
|
969
|
+
"title": "List website cron jobs",
|
|
970
|
+
"readOnlyHint": true,
|
|
971
|
+
"destructiveHint": false
|
|
972
|
+
},
|
|
823
973
|
"description": "Returns a paginated list of cron jobs configured for an Agency Plan website.\n\nEach entry includes the schedule expression and the command executed on that schedule.",
|
|
824
974
|
"method": "GET",
|
|
825
975
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
@@ -852,6 +1002,12 @@ const tools: OpenApiTool[] = [
|
|
|
852
1002
|
},
|
|
853
1003
|
{
|
|
854
1004
|
"name": "agency-hosting_createWebsiteCronJobV1",
|
|
1005
|
+
"title": "Create website cron job",
|
|
1006
|
+
"annotations": {
|
|
1007
|
+
"title": "Create website cron job",
|
|
1008
|
+
"readOnlyHint": false,
|
|
1009
|
+
"destructiveHint": false
|
|
1010
|
+
},
|
|
855
1011
|
"description": "Creates a cron job for an Agency Plan website from a schedule expression and a command.\n\nReturns the created cron job, including its uuid, which is required to delete the cron job.",
|
|
856
1012
|
"method": "POST",
|
|
857
1013
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
@@ -886,6 +1042,13 @@ const tools: OpenApiTool[] = [
|
|
|
886
1042
|
},
|
|
887
1043
|
{
|
|
888
1044
|
"name": "agency-hosting_deleteWebsiteCronJobV1",
|
|
1045
|
+
"title": "Delete website cron job",
|
|
1046
|
+
"annotations": {
|
|
1047
|
+
"title": "Delete website cron job",
|
|
1048
|
+
"readOnlyHint": false,
|
|
1049
|
+
"destructiveHint": true,
|
|
1050
|
+
"idempotentHint": true
|
|
1051
|
+
},
|
|
889
1052
|
"description": "Permanently deletes the cron job identified by its uuid from an Agency Plan website.\n\nThe operation is idempotent: deleting a cron job that does not exist succeeds without error.",
|
|
890
1053
|
"method": "DELETE",
|
|
891
1054
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}",
|
|
@@ -915,6 +1078,12 @@ const tools: OpenApiTool[] = [
|
|
|
915
1078
|
},
|
|
916
1079
|
{
|
|
917
1080
|
"name": "agency-hosting_listWebsiteDatabasesV1",
|
|
1081
|
+
"title": "List website databases",
|
|
1082
|
+
"annotations": {
|
|
1083
|
+
"title": "List website databases",
|
|
1084
|
+
"readOnlyHint": true,
|
|
1085
|
+
"destructiveHint": false
|
|
1086
|
+
},
|
|
918
1087
|
"description": "Returns a paginated list of MySQL databases created for an Agency Plan website.\n\nEach entry includes the database's non-system users.",
|
|
919
1088
|
"method": "GET",
|
|
920
1089
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
@@ -947,6 +1116,12 @@ const tools: OpenApiTool[] = [
|
|
|
947
1116
|
},
|
|
948
1117
|
{
|
|
949
1118
|
"name": "agency-hosting_createWebsiteDatabaseV1",
|
|
1119
|
+
"title": "Create website database",
|
|
1120
|
+
"annotations": {
|
|
1121
|
+
"title": "Create website database",
|
|
1122
|
+
"readOnlyHint": false,
|
|
1123
|
+
"destructiveHint": false
|
|
1124
|
+
},
|
|
950
1125
|
"description": "Creates a MySQL database with a dedicated user for an Agency Plan website.\n\nThe database name, username, and password must all be provided by the caller.",
|
|
951
1126
|
"method": "POST",
|
|
952
1127
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
@@ -986,6 +1161,13 @@ const tools: OpenApiTool[] = [
|
|
|
986
1161
|
},
|
|
987
1162
|
{
|
|
988
1163
|
"name": "agency-hosting_deleteWebsiteDatabaseV1",
|
|
1164
|
+
"title": "Delete website database",
|
|
1165
|
+
"annotations": {
|
|
1166
|
+
"title": "Delete website database",
|
|
1167
|
+
"readOnlyHint": false,
|
|
1168
|
+
"destructiveHint": true,
|
|
1169
|
+
"idempotentHint": true
|
|
1170
|
+
},
|
|
989
1171
|
"description": "Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users.\n\nThe operation is idempotent: deleting a database that does not exist succeeds without error.",
|
|
990
1172
|
"method": "DELETE",
|
|
991
1173
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}",
|
|
@@ -1015,6 +1197,12 @@ const tools: OpenApiTool[] = [
|
|
|
1015
1197
|
},
|
|
1016
1198
|
{
|
|
1017
1199
|
"name": "agency-hosting_createWebsiteDatabaseUserV1",
|
|
1200
|
+
"title": "Create website database user",
|
|
1201
|
+
"annotations": {
|
|
1202
|
+
"title": "Create website database user",
|
|
1203
|
+
"readOnlyHint": false,
|
|
1204
|
+
"destructiveHint": false
|
|
1205
|
+
},
|
|
1018
1206
|
"description": "Creates a user for an existing database on an Agency Plan website.\n\nEach database supports a single non-system user; creating a user for a database that already has one fails.",
|
|
1019
1207
|
"method": "POST",
|
|
1020
1208
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users",
|
|
@@ -1058,6 +1246,13 @@ const tools: OpenApiTool[] = [
|
|
|
1058
1246
|
},
|
|
1059
1247
|
{
|
|
1060
1248
|
"name": "agency-hosting_deleteWebsiteDatabaseUserV1",
|
|
1249
|
+
"title": "Delete website database user",
|
|
1250
|
+
"annotations": {
|
|
1251
|
+
"title": "Delete website database user",
|
|
1252
|
+
"readOnlyHint": false,
|
|
1253
|
+
"destructiveHint": true,
|
|
1254
|
+
"idempotentHint": true
|
|
1255
|
+
},
|
|
1061
1256
|
"description": "Permanently deletes a database user from an Agency Plan website database, revoking all access it had.\n\nThe operation is idempotent: deleting a user that does not exist succeeds without error.",
|
|
1062
1257
|
"method": "DELETE",
|
|
1063
1258
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}",
|
|
@@ -1092,6 +1287,12 @@ const tools: OpenApiTool[] = [
|
|
|
1092
1287
|
},
|
|
1093
1288
|
{
|
|
1094
1289
|
"name": "agency-hosting_getWebsiteDetailsV1",
|
|
1290
|
+
"title": "Get website details",
|
|
1291
|
+
"annotations": {
|
|
1292
|
+
"title": "Get website details",
|
|
1293
|
+
"readOnlyHint": true,
|
|
1294
|
+
"destructiveHint": false
|
|
1295
|
+
},
|
|
1095
1296
|
"description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",
|
|
1096
1297
|
"method": "GET",
|
|
1097
1298
|
"path": "/api/agency-hosting/v1/websites/{website_uid}",
|
|
@@ -1116,6 +1317,13 @@ const tools: OpenApiTool[] = [
|
|
|
1116
1317
|
},
|
|
1117
1318
|
{
|
|
1118
1319
|
"name": "agency-hosting_deleteWebsiteV1",
|
|
1320
|
+
"title": "Delete website",
|
|
1321
|
+
"annotations": {
|
|
1322
|
+
"title": "Delete website",
|
|
1323
|
+
"readOnlyHint": false,
|
|
1324
|
+
"destructiveHint": true,
|
|
1325
|
+
"idempotentHint": true
|
|
1326
|
+
},
|
|
1119
1327
|
"description": "Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the\nwebsite is immediately transitioned to a deleting state and the underlying server\nresources are removed in the background.",
|
|
1120
1328
|
"method": "DELETE",
|
|
1121
1329
|
"path": "/api/agency-hosting/v1/websites/{website_uid}",
|
|
@@ -1140,6 +1348,12 @@ const tools: OpenApiTool[] = [
|
|
|
1140
1348
|
},
|
|
1141
1349
|
{
|
|
1142
1350
|
"name": "agency-hosting_listAgencyPlanWebsitesV1",
|
|
1351
|
+
"title": "List Agency Plan websites",
|
|
1352
|
+
"annotations": {
|
|
1353
|
+
"title": "List Agency Plan websites",
|
|
1354
|
+
"readOnlyHint": true,
|
|
1355
|
+
"destructiveHint": false
|
|
1356
|
+
},
|
|
1143
1357
|
"description": "Retrieve a paginated list of Agency Plan websites (H5G, Builder, and Horizons) accessible to\nthe authenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nThe response shape differs per platform — see the `platform` field on each item.\n\nUse `website_types` to list only websites of a given detected type, e.g. only\nWordPress websites (`website_types=wordpress`) or only Node.js websites\n(`website_types=nodejs`). Combine with `order_ids`, `states`, or `domain` for more\ntargeted results.",
|
|
1144
1358
|
"method": "GET",
|
|
1145
1359
|
"path": "/api/agency-hosting/v1/websites",
|
|
@@ -1208,6 +1422,12 @@ const tools: OpenApiTool[] = [
|
|
|
1208
1422
|
},
|
|
1209
1423
|
{
|
|
1210
1424
|
"name": "agency-hosting_listWebsiteProcessesV1",
|
|
1425
|
+
"title": "List website processes",
|
|
1426
|
+
"annotations": {
|
|
1427
|
+
"title": "List website processes",
|
|
1428
|
+
"readOnlyHint": true,
|
|
1429
|
+
"destructiveHint": false
|
|
1430
|
+
},
|
|
1211
1431
|
"description": "Lists active and recently completed asynchronous processes for an Agency Plan website.\n\nEach process has a unique ID (for tracking), a type, and a status (running, completed, failed).\nPoll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.",
|
|
1212
1432
|
"method": "GET",
|
|
1213
1433
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/processes",
|
|
@@ -1232,6 +1452,13 @@ const tools: OpenApiTool[] = [
|
|
|
1232
1452
|
},
|
|
1233
1453
|
{
|
|
1234
1454
|
"name": "agency-hosting_changeWordPressVersionV1",
|
|
1455
|
+
"title": "Change WordPress version",
|
|
1456
|
+
"annotations": {
|
|
1457
|
+
"title": "Change WordPress version",
|
|
1458
|
+
"readOnlyHint": false,
|
|
1459
|
+
"destructiveHint": true,
|
|
1460
|
+
"idempotentHint": true
|
|
1461
|
+
},
|
|
1235
1462
|
"description": "Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.",
|
|
1236
1463
|
"method": "PATCH",
|
|
1237
1464
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/version",
|
|
@@ -1261,6 +1488,12 @@ const tools: OpenApiTool[] = [
|
|
|
1261
1488
|
},
|
|
1262
1489
|
{
|
|
1263
1490
|
"name": "agency-hosting_getWordPressSettingsV1",
|
|
1491
|
+
"title": "Get WordPress settings",
|
|
1492
|
+
"annotations": {
|
|
1493
|
+
"title": "Get WordPress settings",
|
|
1494
|
+
"readOnlyHint": true,
|
|
1495
|
+
"destructiveHint": false
|
|
1496
|
+
},
|
|
1264
1497
|
"description": "Returns the current WordPress settings for an Agency Plan website: installed core version,\nLiteSpeed Cache plugin status, object cache status, and maintenance mode status.",
|
|
1265
1498
|
"method": "GET",
|
|
1266
1499
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings",
|
|
@@ -1285,6 +1518,12 @@ const tools: OpenApiTool[] = [
|
|
|
1285
1518
|
},
|
|
1286
1519
|
{
|
|
1287
1520
|
"name": "agency-hosting_listAvailableWordPressVersionsV1",
|
|
1521
|
+
"title": "List available WordPress versions",
|
|
1522
|
+
"annotations": {
|
|
1523
|
+
"title": "List available WordPress versions",
|
|
1524
|
+
"readOnlyHint": true,
|
|
1525
|
+
"destructiveHint": false
|
|
1526
|
+
},
|
|
1288
1527
|
"description": "Lists the WordPress core versions available for installation on an Agency Plan website.",
|
|
1289
1528
|
"method": "GET",
|
|
1290
1529
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/versions",
|