hostinger-api-mcp 1.35.6 → 1.36.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 +72 -31
- 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 +25 -25
- package/src/core/tools/agency-hosting.ts +25 -25
- package/src/core/tools/all.js +169 -30
- package/src/core/tools/all.ts +169 -30
- package/src/core/tools/ecommerce.js +37 -5
- package/src/core/tools/ecommerce.ts +37 -5
- package/src/core/tools/reach.js +107 -0
- package/src/core/tools/reach.ts +107 -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 +132 -30
package/README.md
CHANGED
|
@@ -69,16 +69,16 @@ 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 (
|
|
72
|
+
- `hostinger-api-mcp` — unified server with every tool (323 total)
|
|
73
73
|
- `hostinger-agency-hosting-mcp` — 27 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
|
|
77
|
-
- `hostinger-ecommerce-mcp` —
|
|
77
|
+
- `hostinger-ecommerce-mcp` — 14 tools for ecommerce
|
|
78
78
|
- `hostinger-horizons-mcp` — 2 tools for horizons
|
|
79
79
|
- `hostinger-hosting-mcp` — 50 tools for hosting
|
|
80
80
|
- `hostinger-mail-mcp` — 38 tools for mail
|
|
81
|
-
- `hostinger-reach-mcp` —
|
|
81
|
+
- `hostinger-reach-mcp` — 38 tools for reach
|
|
82
82
|
- `hostinger-vps-mcp` — 62 tools for vps
|
|
83
83
|
- `hostinger-wordpress-mcp` — 35 tools for wordpress
|
|
84
84
|
|
|
@@ -238,7 +238,7 @@ Deploy a PHP (or other non-build) Agency Plan (h5g) website from an archive file
|
|
|
238
238
|
- **Method**: `custom`
|
|
239
239
|
- **Path**: `custom`
|
|
240
240
|
|
|
241
|
-
#### agency-
|
|
241
|
+
#### agency-hosting_listAvailableDatacentersV1
|
|
242
242
|
|
|
243
243
|
Lists the datacenters available for provisioning a new website on the given Agency Plan
|
|
244
244
|
hosting order.
|
|
@@ -250,7 +250,7 @@ ping) before choosing its `code` as the `datacenter_code` when creating a websit
|
|
|
250
250
|
- **Method**: `GET`
|
|
251
251
|
- **Path**: `/api/agency-hosting/v1/orders/{order_id}/datacenters`
|
|
252
252
|
|
|
253
|
-
#### agency-
|
|
253
|
+
#### agency-hosting_changeWebsiteDomainV1
|
|
254
254
|
|
|
255
255
|
Changes the primary domain for an Agency Plan website.
|
|
256
256
|
|
|
@@ -260,14 +260,14 @@ Set domain to null to revert to the temporary domain.
|
|
|
260
260
|
- **Method**: `PUT`
|
|
261
261
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/domains/{from_domain}`
|
|
262
262
|
|
|
263
|
-
#### agency-
|
|
263
|
+
#### agency-hosting_linkDomainToWebsiteV1
|
|
264
264
|
|
|
265
265
|
Links a domain to the specified Agency Plan website so it can serve traffic for that domain.
|
|
266
266
|
|
|
267
267
|
- **Method**: `POST`
|
|
268
268
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/domains`
|
|
269
269
|
|
|
270
|
-
#### agency-
|
|
270
|
+
#### agency-hosting_listDomainsV1
|
|
271
271
|
|
|
272
272
|
Returns a paginated list of domains associated with Agency Plan websites accessible to the authenticated client.
|
|
273
273
|
|
|
@@ -276,7 +276,7 @@ Use the website_uuids filter to narrow results to specific websites.
|
|
|
276
276
|
- **Method**: `GET`
|
|
277
277
|
- **Path**: `/api/agency-hosting/v1/domains`
|
|
278
278
|
|
|
279
|
-
#### agency-
|
|
279
|
+
#### agency-hosting_unlinkDomainFromWebsiteV1
|
|
280
280
|
|
|
281
281
|
Unlinks a domain from the specified Agency Plan website.
|
|
282
282
|
|
|
@@ -289,7 +289,7 @@ If this is the only domain on the website, unlinking leaves the website without
|
|
|
289
289
|
- **Method**: `DELETE`
|
|
290
290
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/domains/{domain}`
|
|
291
291
|
|
|
292
|
-
#### agency-
|
|
292
|
+
#### agency-hosting_importWebsiteFromArchiveV1
|
|
293
293
|
|
|
294
294
|
Imports an Agency Plan website from an already-uploaded archive.
|
|
295
295
|
|
|
@@ -300,14 +300,14 @@ 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-
|
|
303
|
+
#### agency-hosting_listOrdersV1
|
|
304
304
|
|
|
305
305
|
Returns a paginated list of Agency Plan orders accessible to the authenticated client.
|
|
306
306
|
|
|
307
307
|
- **Method**: `GET`
|
|
308
308
|
- **Path**: `/api/agency-hosting/v1/orders`
|
|
309
309
|
|
|
310
|
-
#### agency-
|
|
310
|
+
#### agency-hosting_createANewWebsiteV1
|
|
311
311
|
|
|
312
312
|
Provisions a new website on one of your Agency Plan hosting orders.
|
|
313
313
|
|
|
@@ -330,7 +330,7 @@ that identifies the job. The new website becomes reachable once provisioning fin
|
|
|
330
330
|
- **Method**: `POST`
|
|
331
331
|
- **Path**: `/api/agency-hosting/v1/orders/{order_id}/websites/setups`
|
|
332
332
|
|
|
333
|
-
#### agency-
|
|
333
|
+
#### agency-hosting_getWebsiteSetupStatusV1
|
|
334
334
|
|
|
335
335
|
Returns the current status of an Agency Plan website setup started via the setups
|
|
336
336
|
endpoint.
|
|
@@ -341,7 +341,7 @@ Poll this endpoint using the `setup_uuid` returned from the provisioning request
|
|
|
341
341
|
- **Method**: `GET`
|
|
342
342
|
- **Path**: `/api/agency-hosting/v1/orders/{order_id}/websites/setups/{setup_uuid}`
|
|
343
343
|
|
|
344
|
-
#### agency-
|
|
344
|
+
#### agency-hosting_buildWebsiteNodeJSAssetsV1
|
|
345
345
|
|
|
346
346
|
Builds and deploys a Node.js application for an Agency Plan website from an already-uploaded archive.
|
|
347
347
|
|
|
@@ -351,7 +351,7 @@ Website contents are overwritten by the build result, which is deployed to publi
|
|
|
351
351
|
- **Method**: `POST`
|
|
352
352
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/build-assets`
|
|
353
353
|
|
|
354
|
-
#### agency-
|
|
354
|
+
#### agency-hosting_clearWebsiteCacheV1
|
|
355
355
|
|
|
356
356
|
Clears cache for all domains associated with an Agency Plan website, including its preview domain.
|
|
357
357
|
|
|
@@ -360,7 +360,7 @@ This operation clears all cache types for the website.
|
|
|
360
360
|
- **Method**: `DELETE`
|
|
361
361
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/cache`
|
|
362
362
|
|
|
363
|
-
#### agency-
|
|
363
|
+
#### agency-hosting_listWebsiteCronJobsV1
|
|
364
364
|
|
|
365
365
|
Returns a paginated list of cron jobs configured for an Agency Plan website.
|
|
366
366
|
|
|
@@ -369,7 +369,7 @@ Each entry includes the schedule expression and the command executed on that sch
|
|
|
369
369
|
- **Method**: `GET`
|
|
370
370
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs`
|
|
371
371
|
|
|
372
|
-
#### agency-
|
|
372
|
+
#### agency-hosting_createWebsiteCronJobV1
|
|
373
373
|
|
|
374
374
|
Creates a cron job for an Agency Plan website from a schedule expression and a command.
|
|
375
375
|
|
|
@@ -378,7 +378,7 @@ Returns the created cron job, including its uuid, which is required to delete th
|
|
|
378
378
|
- **Method**: `POST`
|
|
379
379
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs`
|
|
380
380
|
|
|
381
|
-
#### agency-
|
|
381
|
+
#### agency-hosting_deleteWebsiteCronJobV1
|
|
382
382
|
|
|
383
383
|
Permanently deletes the cron job identified by its uuid from an Agency Plan website.
|
|
384
384
|
|
|
@@ -387,7 +387,7 @@ The operation is idempotent: deleting a cron job that does not exist succeeds wi
|
|
|
387
387
|
- **Method**: `DELETE`
|
|
388
388
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}`
|
|
389
389
|
|
|
390
|
-
#### agency-
|
|
390
|
+
#### agency-hosting_listWebsiteDatabasesV1
|
|
391
391
|
|
|
392
392
|
Returns a paginated list of MySQL databases created for an Agency Plan website.
|
|
393
393
|
|
|
@@ -396,7 +396,7 @@ Each entry includes the database's non-system users.
|
|
|
396
396
|
- **Method**: `GET`
|
|
397
397
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/databases`
|
|
398
398
|
|
|
399
|
-
#### agency-
|
|
399
|
+
#### agency-hosting_createWebsiteDatabaseV1
|
|
400
400
|
|
|
401
401
|
Creates a MySQL database with a dedicated user for an Agency Plan website.
|
|
402
402
|
|
|
@@ -405,7 +405,7 @@ The database name, username, and password must all be provided by the caller.
|
|
|
405
405
|
- **Method**: `POST`
|
|
406
406
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/databases`
|
|
407
407
|
|
|
408
|
-
#### agency-
|
|
408
|
+
#### agency-hosting_deleteWebsiteDatabaseV1
|
|
409
409
|
|
|
410
410
|
Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users.
|
|
411
411
|
|
|
@@ -414,7 +414,7 @@ The operation is idempotent: deleting a database that does not exist succeeds wi
|
|
|
414
414
|
- **Method**: `DELETE`
|
|
415
415
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}`
|
|
416
416
|
|
|
417
|
-
#### agency-
|
|
417
|
+
#### agency-hosting_createWebsiteDatabaseUserV1
|
|
418
418
|
|
|
419
419
|
Creates a user for an existing database on an Agency Plan website.
|
|
420
420
|
|
|
@@ -423,7 +423,7 @@ Each database supports a single non-system user; creating a user for a database
|
|
|
423
423
|
- **Method**: `POST`
|
|
424
424
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users`
|
|
425
425
|
|
|
426
|
-
#### agency-
|
|
426
|
+
#### agency-hosting_deleteWebsiteDatabaseUserV1
|
|
427
427
|
|
|
428
428
|
Permanently deletes a database user from an Agency Plan website database, revoking all access it had.
|
|
429
429
|
|
|
@@ -432,7 +432,7 @@ The operation is idempotent: deleting a user that does not exist succeeds withou
|
|
|
432
432
|
- **Method**: `DELETE`
|
|
433
433
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}`
|
|
434
434
|
|
|
435
|
-
#### agency-
|
|
435
|
+
#### agency-hosting_getWebsiteDetailsV1
|
|
436
436
|
|
|
437
437
|
Retrieves detailed information about a specific Agency Plan website, including configuration,
|
|
438
438
|
status, metadata, hosting plan details, and resource quotas.
|
|
@@ -440,7 +440,7 @@ status, metadata, hosting plan details, and resource quotas.
|
|
|
440
440
|
- **Method**: `GET`
|
|
441
441
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}`
|
|
442
442
|
|
|
443
|
-
#### agency-
|
|
443
|
+
#### agency-hosting_deleteWebsiteV1
|
|
444
444
|
|
|
445
445
|
Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the
|
|
446
446
|
website is immediately transitioned to a deleting state and the underlying server
|
|
@@ -449,7 +449,7 @@ resources are removed in the background.
|
|
|
449
449
|
- **Method**: `DELETE`
|
|
450
450
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}`
|
|
451
451
|
|
|
452
|
-
#### agency-
|
|
452
|
+
#### agency-hosting_listWebsiteProcessesV1
|
|
453
453
|
|
|
454
454
|
Lists active and recently completed asynchronous processes for an Agency Plan website.
|
|
455
455
|
|
|
@@ -459,14 +459,14 @@ Poll this endpoint after initiating async operations (SSL setup, backups, clonin
|
|
|
459
459
|
- **Method**: `GET`
|
|
460
460
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/processes`
|
|
461
461
|
|
|
462
|
-
#### agency-
|
|
462
|
+
#### agency-hosting_changeWordPressVersionV1
|
|
463
463
|
|
|
464
464
|
Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.
|
|
465
465
|
|
|
466
466
|
- **Method**: `PATCH`
|
|
467
467
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/version`
|
|
468
468
|
|
|
469
|
-
#### agency-
|
|
469
|
+
#### agency-hosting_getWordPressSettingsV1
|
|
470
470
|
|
|
471
471
|
Returns the current WordPress settings for an Agency Plan website: installed core version,
|
|
472
472
|
LiteSpeed Cache plugin status, object cache status, and maintenance mode status.
|
|
@@ -474,7 +474,7 @@ LiteSpeed Cache plugin status, object cache status, and maintenance mode status.
|
|
|
474
474
|
- **Method**: `GET`
|
|
475
475
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings`
|
|
476
476
|
|
|
477
|
-
#### agency-
|
|
477
|
+
#### agency-hosting_listAvailableWordPressVersionsV1
|
|
478
478
|
|
|
479
479
|
Lists the WordPress core versions available for installation on an Agency Plan website.
|
|
480
480
|
|
|
@@ -1170,6 +1170,14 @@ Enable a manual payment method so the store can accept orders without an online
|
|
|
1170
1170
|
- **Method**: `POST`
|
|
1171
1171
|
- **Path**: `/api/ecommerce/v1/stores/{store_id}/payment-methods/manual`
|
|
1172
1172
|
|
|
1173
|
+
#### ecommerce_createAProductImageUploadURLV1
|
|
1174
|
+
|
|
1175
|
+
Returns a signed URL to upload a product image to (multipart/form-data POST). Then call the
|
|
1176
|
+
attach-image endpoint with the returned object_name to scan and attach it to the product.
|
|
1177
|
+
|
|
1178
|
+
- **Method**: `POST`
|
|
1179
|
+
- **Path**: `/api/ecommerce/v1/stores/{store_id}/products/{product_id}/images/upload-url`
|
|
1180
|
+
|
|
1173
1181
|
#### ecommerce_createDigitalProductV1
|
|
1174
1182
|
|
|
1175
1183
|
Create a published digital product with a single variant and an optional external download link.
|
|
@@ -1186,9 +1194,9 @@ Create a published physical product with a single variant priced in the store cu
|
|
|
1186
1194
|
|
|
1187
1195
|
#### ecommerce_uploadAndAttachAProductImageV1
|
|
1188
1196
|
|
|
1189
|
-
|
|
1190
|
-
The image is virus-scanned and validated by content, then stored on the CDN. Set
|
|
1191
|
-
it the product's primary image.
|
|
1197
|
+
Fetch a raster image (JPEG, PNG, GIF or WebP, max 15MB) from a URL and attach it to a product in a
|
|
1198
|
+
single call. The image is virus-scanned and validated by content, then stored on the CDN. Set
|
|
1199
|
+
is_thumbnail to make it the product's primary image.
|
|
1192
1200
|
|
|
1193
1201
|
- **Method**: `POST`
|
|
1194
1202
|
- **Path**: `/api/ecommerce/v1/stores/{store_id}/products/{product_id}/images`
|
|
@@ -2199,6 +2207,39 @@ requests are rate limited upstream.
|
|
|
2199
2207
|
|
|
2200
2208
|
### `hostinger-reach-mcp`
|
|
2201
2209
|
|
|
2210
|
+
#### reach_getAutomationDetailsV1
|
|
2211
|
+
|
|
2212
|
+
Get a single automation with the counts of contacts that entered it, are moving through it,
|
|
2213
|
+
finished it or failed on the way.
|
|
2214
|
+
|
|
2215
|
+
This describes the automation itself. To see the workflow it runs, use the steps endpoint.
|
|
2216
|
+
|
|
2217
|
+
- **Method**: `GET`
|
|
2218
|
+
- **Path**: `/api/reach/v1/profiles/{profileUuid}/automations/{automationUuid}`
|
|
2219
|
+
|
|
2220
|
+
#### reach_listAutomationsV1
|
|
2221
|
+
|
|
2222
|
+
Get a paginated list of the automations in a profile.
|
|
2223
|
+
|
|
2224
|
+
Every automation comes with the counts of contacts that entered it, are moving through it,
|
|
2225
|
+
finished it or failed on the way. Those counts describe the contact journey and are not
|
|
2226
|
+
email engagement metrics - for opens, clicks and unsubscribes use the campaign statistics
|
|
2227
|
+
endpoint instead.
|
|
2228
|
+
|
|
2229
|
+
- **Method**: `GET`
|
|
2230
|
+
- **Path**: `/api/reach/v1/profiles/{profileUuid}/automations`
|
|
2231
|
+
|
|
2232
|
+
#### reach_listAutomationStepsV1
|
|
2233
|
+
|
|
2234
|
+
Get the workflow of an automation as a flat list of steps.
|
|
2235
|
+
|
|
2236
|
+
The steps form a tree rather than a straight line: follow `parent_uuid` to reconstruct the
|
|
2237
|
+
branches, and use `step_order` to order the steps that share a parent. An automation with no
|
|
2238
|
+
steps yet returns an empty list.
|
|
2239
|
+
|
|
2240
|
+
- **Method**: `GET`
|
|
2241
|
+
- **Path**: `/api/reach/v1/profiles/{profileUuid}/automations/{automationUuid}/steps`
|
|
2242
|
+
|
|
2202
2243
|
#### reach_deleteAContactV1
|
|
2203
2244
|
|
|
2204
2245
|
Delete a contact with the specified UUID.
|
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.36.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.36.0",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
|
@@ -69,7 +69,7 @@ export default [
|
|
|
69
69
|
"group": "agency-hosting"
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
|
-
"name": "agency-
|
|
72
|
+
"name": "agency-hosting_listAvailableDatacentersV1",
|
|
73
73
|
"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.",
|
|
74
74
|
"method": "GET",
|
|
75
75
|
"path": "/api/agency-hosting/v1/orders/{order_id}/datacenters",
|
|
@@ -93,7 +93,7 @@ export default [
|
|
|
93
93
|
"group": "agency-hosting"
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
|
-
"name": "agency-
|
|
96
|
+
"name": "agency-hosting_changeWebsiteDomainV1",
|
|
97
97
|
"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.",
|
|
98
98
|
"method": "PUT",
|
|
99
99
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/domains/{from_domain}",
|
|
@@ -127,7 +127,7 @@ export default [
|
|
|
127
127
|
"group": "agency-hosting"
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
|
-
"name": "agency-
|
|
130
|
+
"name": "agency-hosting_linkDomainToWebsiteV1",
|
|
131
131
|
"description": "Links a domain to the specified Agency Plan website so it can serve traffic for that domain.",
|
|
132
132
|
"method": "POST",
|
|
133
133
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/domains",
|
|
@@ -156,7 +156,7 @@ export default [
|
|
|
156
156
|
"group": "agency-hosting"
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
|
-
"name": "agency-
|
|
159
|
+
"name": "agency-hosting_listDomainsV1",
|
|
160
160
|
"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.",
|
|
161
161
|
"method": "GET",
|
|
162
162
|
"path": "/api/agency-hosting/v1/domains",
|
|
@@ -190,7 +190,7 @@ export default [
|
|
|
190
190
|
"group": "agency-hosting"
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
|
-
"name": "agency-
|
|
193
|
+
"name": "agency-hosting_unlinkDomainFromWebsiteV1",
|
|
194
194
|
"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.",
|
|
195
195
|
"method": "DELETE",
|
|
196
196
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/domains/{domain}",
|
|
@@ -219,7 +219,7 @@ export default [
|
|
|
219
219
|
"group": "agency-hosting"
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
|
-
"name": "agency-
|
|
222
|
+
"name": "agency-hosting_importWebsiteFromArchiveV1",
|
|
223
223
|
"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.",
|
|
224
224
|
"method": "POST",
|
|
225
225
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/files/import-archive",
|
|
@@ -248,7 +248,7 @@ export default [
|
|
|
248
248
|
"group": "agency-hosting"
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
|
-
"name": "agency-
|
|
251
|
+
"name": "agency-hosting_listOrdersV1",
|
|
252
252
|
"description": "Returns a paginated list of Agency Plan orders accessible to the authenticated client.",
|
|
253
253
|
"method": "GET",
|
|
254
254
|
"path": "/api/agency-hosting/v1/orders",
|
|
@@ -274,7 +274,7 @@ export default [
|
|
|
274
274
|
"group": "agency-hosting"
|
|
275
275
|
},
|
|
276
276
|
{
|
|
277
|
-
"name": "agency-
|
|
277
|
+
"name": "agency-hosting_createANewWebsiteV1",
|
|
278
278
|
"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.",
|
|
279
279
|
"method": "POST",
|
|
280
280
|
"path": "/api/agency-hosting/v1/orders/{order_id}/websites/setups",
|
|
@@ -425,7 +425,7 @@ export default [
|
|
|
425
425
|
"group": "agency-hosting"
|
|
426
426
|
},
|
|
427
427
|
{
|
|
428
|
-
"name": "agency-
|
|
428
|
+
"name": "agency-hosting_getWebsiteSetupStatusV1",
|
|
429
429
|
"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.",
|
|
430
430
|
"method": "GET",
|
|
431
431
|
"path": "/api/agency-hosting/v1/orders/{order_id}/websites/setups/{setup_uuid}",
|
|
@@ -454,7 +454,7 @@ export default [
|
|
|
454
454
|
"group": "agency-hosting"
|
|
455
455
|
},
|
|
456
456
|
{
|
|
457
|
-
"name": "agency-
|
|
457
|
+
"name": "agency-hosting_buildWebsiteNodeJSAssetsV1",
|
|
458
458
|
"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.",
|
|
459
459
|
"method": "POST",
|
|
460
460
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/build-assets",
|
|
@@ -483,7 +483,7 @@ export default [
|
|
|
483
483
|
"group": "agency-hosting"
|
|
484
484
|
},
|
|
485
485
|
{
|
|
486
|
-
"name": "agency-
|
|
486
|
+
"name": "agency-hosting_clearWebsiteCacheV1",
|
|
487
487
|
"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.",
|
|
488
488
|
"method": "DELETE",
|
|
489
489
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/cache",
|
|
@@ -507,7 +507,7 @@ export default [
|
|
|
507
507
|
"group": "agency-hosting"
|
|
508
508
|
},
|
|
509
509
|
{
|
|
510
|
-
"name": "agency-
|
|
510
|
+
"name": "agency-hosting_listWebsiteCronJobsV1",
|
|
511
511
|
"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.",
|
|
512
512
|
"method": "GET",
|
|
513
513
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
@@ -539,7 +539,7 @@ export default [
|
|
|
539
539
|
"group": "agency-hosting"
|
|
540
540
|
},
|
|
541
541
|
{
|
|
542
|
-
"name": "agency-
|
|
542
|
+
"name": "agency-hosting_createWebsiteCronJobV1",
|
|
543
543
|
"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.",
|
|
544
544
|
"method": "POST",
|
|
545
545
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
@@ -573,7 +573,7 @@ export default [
|
|
|
573
573
|
"group": "agency-hosting"
|
|
574
574
|
},
|
|
575
575
|
{
|
|
576
|
-
"name": "agency-
|
|
576
|
+
"name": "agency-hosting_deleteWebsiteCronJobV1",
|
|
577
577
|
"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.",
|
|
578
578
|
"method": "DELETE",
|
|
579
579
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}",
|
|
@@ -602,7 +602,7 @@ export default [
|
|
|
602
602
|
"group": "agency-hosting"
|
|
603
603
|
},
|
|
604
604
|
{
|
|
605
|
-
"name": "agency-
|
|
605
|
+
"name": "agency-hosting_listWebsiteDatabasesV1",
|
|
606
606
|
"description": "Returns a paginated list of MySQL databases created for an Agency Plan website.\n\nEach entry includes the database's non-system users.",
|
|
607
607
|
"method": "GET",
|
|
608
608
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
@@ -634,7 +634,7 @@ export default [
|
|
|
634
634
|
"group": "agency-hosting"
|
|
635
635
|
},
|
|
636
636
|
{
|
|
637
|
-
"name": "agency-
|
|
637
|
+
"name": "agency-hosting_createWebsiteDatabaseV1",
|
|
638
638
|
"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.",
|
|
639
639
|
"method": "POST",
|
|
640
640
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
@@ -673,7 +673,7 @@ export default [
|
|
|
673
673
|
"group": "agency-hosting"
|
|
674
674
|
},
|
|
675
675
|
{
|
|
676
|
-
"name": "agency-
|
|
676
|
+
"name": "agency-hosting_deleteWebsiteDatabaseV1",
|
|
677
677
|
"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.",
|
|
678
678
|
"method": "DELETE",
|
|
679
679
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}",
|
|
@@ -702,7 +702,7 @@ export default [
|
|
|
702
702
|
"group": "agency-hosting"
|
|
703
703
|
},
|
|
704
704
|
{
|
|
705
|
-
"name": "agency-
|
|
705
|
+
"name": "agency-hosting_createWebsiteDatabaseUserV1",
|
|
706
706
|
"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.",
|
|
707
707
|
"method": "POST",
|
|
708
708
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users",
|
|
@@ -745,7 +745,7 @@ export default [
|
|
|
745
745
|
"group": "agency-hosting"
|
|
746
746
|
},
|
|
747
747
|
{
|
|
748
|
-
"name": "agency-
|
|
748
|
+
"name": "agency-hosting_deleteWebsiteDatabaseUserV1",
|
|
749
749
|
"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.",
|
|
750
750
|
"method": "DELETE",
|
|
751
751
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}",
|
|
@@ -779,7 +779,7 @@ export default [
|
|
|
779
779
|
"group": "agency-hosting"
|
|
780
780
|
},
|
|
781
781
|
{
|
|
782
|
-
"name": "agency-
|
|
782
|
+
"name": "agency-hosting_getWebsiteDetailsV1",
|
|
783
783
|
"description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",
|
|
784
784
|
"method": "GET",
|
|
785
785
|
"path": "/api/agency-hosting/v1/websites/{website_uid}",
|
|
@@ -803,7 +803,7 @@ export default [
|
|
|
803
803
|
"group": "agency-hosting"
|
|
804
804
|
},
|
|
805
805
|
{
|
|
806
|
-
"name": "agency-
|
|
806
|
+
"name": "agency-hosting_deleteWebsiteV1",
|
|
807
807
|
"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.",
|
|
808
808
|
"method": "DELETE",
|
|
809
809
|
"path": "/api/agency-hosting/v1/websites/{website_uid}",
|
|
@@ -827,7 +827,7 @@ export default [
|
|
|
827
827
|
"group": "agency-hosting"
|
|
828
828
|
},
|
|
829
829
|
{
|
|
830
|
-
"name": "agency-
|
|
830
|
+
"name": "agency-hosting_listWebsiteProcessesV1",
|
|
831
831
|
"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.",
|
|
832
832
|
"method": "GET",
|
|
833
833
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/processes",
|
|
@@ -851,7 +851,7 @@ export default [
|
|
|
851
851
|
"group": "agency-hosting"
|
|
852
852
|
},
|
|
853
853
|
{
|
|
854
|
-
"name": "agency-
|
|
854
|
+
"name": "agency-hosting_changeWordPressVersionV1",
|
|
855
855
|
"description": "Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.",
|
|
856
856
|
"method": "PATCH",
|
|
857
857
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/version",
|
|
@@ -880,7 +880,7 @@ export default [
|
|
|
880
880
|
"group": "agency-hosting"
|
|
881
881
|
},
|
|
882
882
|
{
|
|
883
|
-
"name": "agency-
|
|
883
|
+
"name": "agency-hosting_getWordPressSettingsV1",
|
|
884
884
|
"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.",
|
|
885
885
|
"method": "GET",
|
|
886
886
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings",
|
|
@@ -904,7 +904,7 @@ export default [
|
|
|
904
904
|
"group": "agency-hosting"
|
|
905
905
|
},
|
|
906
906
|
{
|
|
907
|
-
"name": "agency-
|
|
907
|
+
"name": "agency-hosting_listAvailableWordPressVersionsV1",
|
|
908
908
|
"description": "Lists the WordPress core versions available for installation on an Agency Plan website.",
|
|
909
909
|
"method": "GET",
|
|
910
910
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/versions",
|