hostinger-api-mcp 1.2.1 → 1.4.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 +231 -3
- 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/all.js +738 -82
- package/src/core/tools/all.ts +738 -82
- package/src/core/tools/hosting.js +149 -0
- package/src/core/tools/hosting.ts +149 -0
- package/src/core/tools/wordpress.js +507 -0
- package/src/core/tools/wordpress.ts +507 -0
- 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/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 +471 -0
package/src/core/tools/all.ts
CHANGED
|
@@ -1755,6 +1755,155 @@ const tools: OpenApiTool[] = [
|
|
|
1755
1755
|
],
|
|
1756
1756
|
"group": "horizons"
|
|
1757
1757
|
},
|
|
1758
|
+
{
|
|
1759
|
+
"name": "hosting_clearWebsiteCacheV1",
|
|
1760
|
+
"description": "Permanently clears all server-side cache for the website at once. Use it when content was\nupdated and needs to be visible immediately, or after making major changes.\n\nAlso purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress\ninstallation living in a subdirectory, pass the directory query parameter to clear its cache.",
|
|
1761
|
+
"method": "DELETE",
|
|
1762
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/clear",
|
|
1763
|
+
"inputSchema": {
|
|
1764
|
+
"type": "object",
|
|
1765
|
+
"properties": {
|
|
1766
|
+
"username": {
|
|
1767
|
+
"type": "string",
|
|
1768
|
+
"description": "username parameter"
|
|
1769
|
+
},
|
|
1770
|
+
"domain": {
|
|
1771
|
+
"type": "string",
|
|
1772
|
+
"description": "Domain name"
|
|
1773
|
+
},
|
|
1774
|
+
"directory": {
|
|
1775
|
+
"type": "string",
|
|
1776
|
+
"description": "Directory of the website installation to clear, relative to the website root.\nDefaults to the website root."
|
|
1777
|
+
}
|
|
1778
|
+
},
|
|
1779
|
+
"required": [
|
|
1780
|
+
"username",
|
|
1781
|
+
"domain"
|
|
1782
|
+
]
|
|
1783
|
+
},
|
|
1784
|
+
"security": [
|
|
1785
|
+
{
|
|
1786
|
+
"apiToken": []
|
|
1787
|
+
}
|
|
1788
|
+
],
|
|
1789
|
+
"group": "hosting"
|
|
1790
|
+
},
|
|
1791
|
+
{
|
|
1792
|
+
"name": "hosting_disableCachelessModeV1",
|
|
1793
|
+
"description": "Turns off development (cacheless) mode and returns the website to normal caching. Use it after\nfinishing development work to restore the performance benefits of caching.",
|
|
1794
|
+
"method": "PATCH",
|
|
1795
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/disable",
|
|
1796
|
+
"inputSchema": {
|
|
1797
|
+
"type": "object",
|
|
1798
|
+
"properties": {
|
|
1799
|
+
"username": {
|
|
1800
|
+
"type": "string",
|
|
1801
|
+
"description": "username parameter"
|
|
1802
|
+
},
|
|
1803
|
+
"domain": {
|
|
1804
|
+
"type": "string",
|
|
1805
|
+
"description": "Domain name"
|
|
1806
|
+
}
|
|
1807
|
+
},
|
|
1808
|
+
"required": [
|
|
1809
|
+
"username",
|
|
1810
|
+
"domain"
|
|
1811
|
+
]
|
|
1812
|
+
},
|
|
1813
|
+
"security": [
|
|
1814
|
+
{
|
|
1815
|
+
"apiToken": []
|
|
1816
|
+
}
|
|
1817
|
+
],
|
|
1818
|
+
"group": "hosting"
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
"name": "hosting_disableWebsiteCacheV1",
|
|
1822
|
+
"description": "Turns off server-side caching for the website until it is enabled again. May impact performance.\nUse it when experiencing cache-related issues; to temporarily bypass caching while developing\nor debugging, prefer enabling cacheless mode instead.\n\nDoes nothing if caching is already disabled.",
|
|
1823
|
+
"method": "PATCH",
|
|
1824
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/disable",
|
|
1825
|
+
"inputSchema": {
|
|
1826
|
+
"type": "object",
|
|
1827
|
+
"properties": {
|
|
1828
|
+
"username": {
|
|
1829
|
+
"type": "string",
|
|
1830
|
+
"description": "username parameter"
|
|
1831
|
+
},
|
|
1832
|
+
"domain": {
|
|
1833
|
+
"type": "string",
|
|
1834
|
+
"description": "Domain name"
|
|
1835
|
+
}
|
|
1836
|
+
},
|
|
1837
|
+
"required": [
|
|
1838
|
+
"username",
|
|
1839
|
+
"domain"
|
|
1840
|
+
]
|
|
1841
|
+
},
|
|
1842
|
+
"security": [
|
|
1843
|
+
{
|
|
1844
|
+
"apiToken": []
|
|
1845
|
+
}
|
|
1846
|
+
],
|
|
1847
|
+
"group": "hosting"
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
"name": "hosting_enableCachelessModeV1",
|
|
1851
|
+
"description": "Enables development (cacheless) mode where nothing is cached, effectively turning off all\ncaching for the website. Use it while actively developing, testing changes, debugging issues,\nor when real-time updates must be visible. Disable cacheless mode afterwards to restore\nnormal caching.",
|
|
1852
|
+
"method": "PATCH",
|
|
1853
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/enable",
|
|
1854
|
+
"inputSchema": {
|
|
1855
|
+
"type": "object",
|
|
1856
|
+
"properties": {
|
|
1857
|
+
"username": {
|
|
1858
|
+
"type": "string",
|
|
1859
|
+
"description": "username parameter"
|
|
1860
|
+
},
|
|
1861
|
+
"domain": {
|
|
1862
|
+
"type": "string",
|
|
1863
|
+
"description": "Domain name"
|
|
1864
|
+
}
|
|
1865
|
+
},
|
|
1866
|
+
"required": [
|
|
1867
|
+
"username",
|
|
1868
|
+
"domain"
|
|
1869
|
+
]
|
|
1870
|
+
},
|
|
1871
|
+
"security": [
|
|
1872
|
+
{
|
|
1873
|
+
"apiToken": []
|
|
1874
|
+
}
|
|
1875
|
+
],
|
|
1876
|
+
"group": "hosting"
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"name": "hosting_enableWebsiteCacheV1",
|
|
1880
|
+
"description": "Turns on server-side caching for the website for better performance. Use it for faster page\nloads, reduced server load, or improved user experience. Recommended for production websites.\n\nDoes nothing if caching is already enabled.",
|
|
1881
|
+
"method": "PATCH",
|
|
1882
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/enable",
|
|
1883
|
+
"inputSchema": {
|
|
1884
|
+
"type": "object",
|
|
1885
|
+
"properties": {
|
|
1886
|
+
"username": {
|
|
1887
|
+
"type": "string",
|
|
1888
|
+
"description": "username parameter"
|
|
1889
|
+
},
|
|
1890
|
+
"domain": {
|
|
1891
|
+
"type": "string",
|
|
1892
|
+
"description": "Domain name"
|
|
1893
|
+
}
|
|
1894
|
+
},
|
|
1895
|
+
"required": [
|
|
1896
|
+
"username",
|
|
1897
|
+
"domain"
|
|
1898
|
+
]
|
|
1899
|
+
},
|
|
1900
|
+
"security": [
|
|
1901
|
+
{
|
|
1902
|
+
"apiToken": []
|
|
1903
|
+
}
|
|
1904
|
+
],
|
|
1905
|
+
"group": "hosting"
|
|
1906
|
+
},
|
|
1758
1907
|
{
|
|
1759
1908
|
"name": "hosting_listAccountCronJobsV1",
|
|
1760
1909
|
"description": "Returns the list of cron jobs configured for the specified account, including their schedule and command.",
|
|
@@ -5169,10 +5318,10 @@ const tools: OpenApiTool[] = [
|
|
|
5169
5318
|
"group": "vps"
|
|
5170
5319
|
},
|
|
5171
5320
|
{
|
|
5172
|
-
"name": "
|
|
5173
|
-
"description": "
|
|
5174
|
-
"method": "
|
|
5175
|
-
"path": "/api/hosting/v1/accounts/{username}/wordpress/
|
|
5321
|
+
"name": "hosting_showAIOptionStatusV1",
|
|
5322
|
+
"description": "Show the current AI option status for the Hostinger Tools plugin on the\nspecified WordPress installation. Filter by `option` to return a single\noption, or omit it to return all options.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
5323
|
+
"method": "GET",
|
|
5324
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/hostinger-plugins/ai-option/status",
|
|
5176
5325
|
"inputSchema": {
|
|
5177
5326
|
"type": "object",
|
|
5178
5327
|
"properties": {
|
|
@@ -5180,82 +5329,65 @@ const tools: OpenApiTool[] = [
|
|
|
5180
5329
|
"type": "string",
|
|
5181
5330
|
"description": "username parameter"
|
|
5182
5331
|
},
|
|
5183
|
-
"
|
|
5332
|
+
"software": {
|
|
5184
5333
|
"type": "string",
|
|
5185
|
-
"description": "
|
|
5334
|
+
"description": "WordPress installation (software) identifier"
|
|
5186
5335
|
},
|
|
5187
|
-
"
|
|
5336
|
+
"option": {
|
|
5188
5337
|
"type": "string",
|
|
5189
|
-
"description": "
|
|
5190
|
-
|
|
5191
|
-
|
|
5338
|
+
"description": "Filter the status by a single AI option.",
|
|
5339
|
+
"enum": [
|
|
5340
|
+
"llmstxt",
|
|
5341
|
+
"web2agent"
|
|
5342
|
+
]
|
|
5343
|
+
}
|
|
5344
|
+
},
|
|
5345
|
+
"required": [
|
|
5346
|
+
"username",
|
|
5347
|
+
"software"
|
|
5348
|
+
]
|
|
5349
|
+
},
|
|
5350
|
+
"security": [
|
|
5351
|
+
{
|
|
5352
|
+
"apiToken": []
|
|
5353
|
+
}
|
|
5354
|
+
],
|
|
5355
|
+
"group": "wordpress"
|
|
5356
|
+
},
|
|
5357
|
+
{
|
|
5358
|
+
"name": "hosting_setAIOptionStatusV1",
|
|
5359
|
+
"description": "Enable or disable an AI option for the Hostinger Tools plugin on the specified\nWordPress installation.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
5360
|
+
"method": "PATCH",
|
|
5361
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/hostinger-plugins/ai-option/status",
|
|
5362
|
+
"inputSchema": {
|
|
5363
|
+
"type": "object",
|
|
5364
|
+
"properties": {
|
|
5365
|
+
"username": {
|
|
5192
5366
|
"type": "string",
|
|
5193
|
-
"description": "
|
|
5367
|
+
"description": "username parameter"
|
|
5194
5368
|
},
|
|
5195
|
-
"
|
|
5369
|
+
"software": {
|
|
5196
5370
|
"type": "string",
|
|
5197
|
-
"description": "
|
|
5198
|
-
},
|
|
5199
|
-
"overwrite": {
|
|
5200
|
-
"type": "boolean",
|
|
5201
|
-
"description": "When false (default), does not replace an existing installation. If WordPress is already installed on the domain/path, the async install job fails unless true."
|
|
5371
|
+
"description": "WordPress installation (software) identifier"
|
|
5202
5372
|
},
|
|
5203
|
-
"
|
|
5373
|
+
"option": {
|
|
5204
5374
|
"type": "string",
|
|
5205
|
-
"description": "
|
|
5375
|
+
"description": "AI option name",
|
|
5206
5376
|
"enum": [
|
|
5207
|
-
"
|
|
5208
|
-
"
|
|
5209
|
-
"minor"
|
|
5210
|
-
]
|
|
5211
|
-
},
|
|
5212
|
-
"version": {
|
|
5213
|
-
"type": "string",
|
|
5214
|
-
"description": "WordPress core version to install. If omitted, the latest core version compatible with the account vhost PHP version is selected."
|
|
5215
|
-
},
|
|
5216
|
-
"credentials": {
|
|
5217
|
-
"type": "object",
|
|
5218
|
-
"description": "WordPress admin credentials",
|
|
5219
|
-
"properties": {
|
|
5220
|
-
"email": {
|
|
5221
|
-
"type": "string",
|
|
5222
|
-
"description": "email parameter"
|
|
5223
|
-
},
|
|
5224
|
-
"login": {
|
|
5225
|
-
"type": "string",
|
|
5226
|
-
"description": "WordPress admin username"
|
|
5227
|
-
},
|
|
5228
|
-
"password": {
|
|
5229
|
-
"type": "string",
|
|
5230
|
-
"description": "password parameter"
|
|
5231
|
-
}
|
|
5232
|
-
},
|
|
5233
|
-
"required": [
|
|
5234
|
-
"email",
|
|
5235
|
-
"login",
|
|
5236
|
-
"password"
|
|
5377
|
+
"llmstxt",
|
|
5378
|
+
"web2agent"
|
|
5237
5379
|
]
|
|
5238
5380
|
},
|
|
5239
|
-
"
|
|
5240
|
-
"type": "
|
|
5241
|
-
"description": "
|
|
5242
|
-
"properties": {
|
|
5243
|
-
"name": {
|
|
5244
|
-
"type": "string",
|
|
5245
|
-
"description": "Database name (username prefix added if missing)"
|
|
5246
|
-
},
|
|
5247
|
-
"password": {
|
|
5248
|
-
"type": "string",
|
|
5249
|
-
"description": "password parameter"
|
|
5250
|
-
}
|
|
5251
|
-
}
|
|
5381
|
+
"enable": {
|
|
5382
|
+
"type": "boolean",
|
|
5383
|
+
"description": "Enable (true) or disable (false) the AI option."
|
|
5252
5384
|
}
|
|
5253
5385
|
},
|
|
5254
5386
|
"required": [
|
|
5255
5387
|
"username",
|
|
5256
|
-
"
|
|
5257
|
-
"
|
|
5258
|
-
"
|
|
5388
|
+
"software",
|
|
5389
|
+
"option",
|
|
5390
|
+
"enable"
|
|
5259
5391
|
]
|
|
5260
5392
|
},
|
|
5261
5393
|
"security": [
|
|
@@ -5266,32 +5398,556 @@ const tools: OpenApiTool[] = [
|
|
|
5266
5398
|
"group": "wordpress"
|
|
5267
5399
|
},
|
|
5268
5400
|
{
|
|
5269
|
-
"name": "
|
|
5270
|
-
"description": "
|
|
5271
|
-
"method": "
|
|
5272
|
-
"path": "/api/hosting/v1/wordpress/installations",
|
|
5401
|
+
"name": "hosting_checkIfWordPressInstallationsAreValidV1",
|
|
5402
|
+
"description": "Check whether one or more WordPress installations are valid and working\ncorrectly. Detects broken installations caused by missing files, broken\nplugins, themes and similar issues.\n\nProvide the WordPress installation (software) identifiers in the body. They\ncan be obtained from GET /api/hosting/v1/wordpress/installations (the `id`\nfield).",
|
|
5403
|
+
"method": "POST",
|
|
5404
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/installations/check-is-valid",
|
|
5273
5405
|
"inputSchema": {
|
|
5274
5406
|
"type": "object",
|
|
5275
5407
|
"properties": {
|
|
5276
5408
|
"username": {
|
|
5277
5409
|
"type": "string",
|
|
5278
|
-
"description": "
|
|
5410
|
+
"description": "username parameter"
|
|
5279
5411
|
},
|
|
5280
|
-
"
|
|
5281
|
-
"type": "
|
|
5282
|
-
"description": "
|
|
5412
|
+
"software_ids": {
|
|
5413
|
+
"type": "array",
|
|
5414
|
+
"description": "WordPress installation (software) identifiers to validate.",
|
|
5415
|
+
"items": {
|
|
5416
|
+
"type": "string",
|
|
5417
|
+
"description": "Software identifier"
|
|
5418
|
+
}
|
|
5283
5419
|
},
|
|
5284
|
-
"
|
|
5285
|
-
"type": "
|
|
5286
|
-
"description": "
|
|
5287
|
-
"enum": [
|
|
5288
|
-
"owned",
|
|
5289
|
-
"managed",
|
|
5290
|
-
"all"
|
|
5291
|
-
]
|
|
5420
|
+
"force": {
|
|
5421
|
+
"type": "boolean",
|
|
5422
|
+
"description": "Force fresh validation without cache. Preferable for troubleshooting purposes."
|
|
5292
5423
|
}
|
|
5293
5424
|
},
|
|
5294
|
-
"required": [
|
|
5425
|
+
"required": [
|
|
5426
|
+
"username",
|
|
5427
|
+
"software_ids"
|
|
5428
|
+
]
|
|
5429
|
+
},
|
|
5430
|
+
"security": [
|
|
5431
|
+
{
|
|
5432
|
+
"apiToken": []
|
|
5433
|
+
}
|
|
5434
|
+
],
|
|
5435
|
+
"group": "wordpress"
|
|
5436
|
+
},
|
|
5437
|
+
{
|
|
5438
|
+
"name": "hosting_deleteWordPressInstallationV1",
|
|
5439
|
+
"description": "Delete the specified WordPress installation, with optional file and database\nremoval. This removes all associated components including plugins, themes,\nstaging websites and any other related data.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
5440
|
+
"method": "DELETE",
|
|
5441
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}",
|
|
5442
|
+
"inputSchema": {
|
|
5443
|
+
"type": "object",
|
|
5444
|
+
"properties": {
|
|
5445
|
+
"username": {
|
|
5446
|
+
"type": "string",
|
|
5447
|
+
"description": "username parameter"
|
|
5448
|
+
},
|
|
5449
|
+
"software": {
|
|
5450
|
+
"type": "string",
|
|
5451
|
+
"description": "WordPress installation (software) identifier"
|
|
5452
|
+
}
|
|
5453
|
+
},
|
|
5454
|
+
"required": [
|
|
5455
|
+
"username",
|
|
5456
|
+
"software"
|
|
5457
|
+
]
|
|
5458
|
+
},
|
|
5459
|
+
"security": [
|
|
5460
|
+
{
|
|
5461
|
+
"apiToken": []
|
|
5462
|
+
}
|
|
5463
|
+
],
|
|
5464
|
+
"group": "wordpress"
|
|
5465
|
+
},
|
|
5466
|
+
{
|
|
5467
|
+
"name": "hosting_detectWordPressInstallationsV1",
|
|
5468
|
+
"description": "Trigger a background scan to detect WordPress installations for the account.\n\nThis operation is asynchronous: a successful response only means the scan has\nbeen queued. Poll GET /api/hosting/v1/wordpress/installations to fetch the\ndetected installations once the scan completes.",
|
|
5469
|
+
"method": "POST",
|
|
5470
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/installations/detect",
|
|
5471
|
+
"inputSchema": {
|
|
5472
|
+
"type": "object",
|
|
5473
|
+
"properties": {
|
|
5474
|
+
"username": {
|
|
5475
|
+
"type": "string",
|
|
5476
|
+
"description": "username parameter"
|
|
5477
|
+
}
|
|
5478
|
+
},
|
|
5479
|
+
"required": [
|
|
5480
|
+
"username"
|
|
5481
|
+
]
|
|
5482
|
+
},
|
|
5483
|
+
"security": [
|
|
5484
|
+
{
|
|
5485
|
+
"apiToken": []
|
|
5486
|
+
}
|
|
5487
|
+
],
|
|
5488
|
+
"group": "wordpress"
|
|
5489
|
+
},
|
|
5490
|
+
{
|
|
5491
|
+
"name": "hosting_installWordPressV1",
|
|
5492
|
+
"description": "Install WordPress on an existing website.\n\nThe website must already exist before calling this endpoint. To create a new\nwebsite first, use POST /api/hosting/v1/websites and poll\nGET /api/hosting/v1/websites until it appears.\n\nCall GET /api/hosting/v1/wordpress/installations filtered by username and\ndomain before proceeding to check whether WordPress is already installed on\nthe target domain/path. If WordPress already exists and `overwrite` is false\n(the default), the async job will fail.\n\nThis operation is asynchronous: a successful response only means the install\njob has been queued, not that WordPress is ready. Installation typically\ntakes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations filtered\nby username and domain to track progress. When the installation appears in\nthat list, WordPress is ready.",
|
|
5493
|
+
"method": "POST",
|
|
5494
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/installations",
|
|
5495
|
+
"inputSchema": {
|
|
5496
|
+
"type": "object",
|
|
5497
|
+
"properties": {
|
|
5498
|
+
"username": {
|
|
5499
|
+
"type": "string",
|
|
5500
|
+
"description": "username parameter"
|
|
5501
|
+
},
|
|
5502
|
+
"domain": {
|
|
5503
|
+
"type": "string",
|
|
5504
|
+
"description": "Domain of the existing website where WordPress will be installed"
|
|
5505
|
+
},
|
|
5506
|
+
"site_title": {
|
|
5507
|
+
"type": "string",
|
|
5508
|
+
"description": "Title of the WordPress site"
|
|
5509
|
+
},
|
|
5510
|
+
"language": {
|
|
5511
|
+
"type": "string",
|
|
5512
|
+
"description": "WordPress locale. Defaults to en_US when omitted."
|
|
5513
|
+
},
|
|
5514
|
+
"directory": {
|
|
5515
|
+
"type": "string",
|
|
5516
|
+
"description": "Relative directory to install WordPress into. Defaults to the website root when omitted."
|
|
5517
|
+
},
|
|
5518
|
+
"overwrite": {
|
|
5519
|
+
"type": "boolean",
|
|
5520
|
+
"description": "When false (default), does not replace an existing installation. If WordPress is already installed on the domain/path, the async install job fails unless true."
|
|
5521
|
+
},
|
|
5522
|
+
"auto_updates": {
|
|
5523
|
+
"type": "string",
|
|
5524
|
+
"description": "WordPress core auto-update policy",
|
|
5525
|
+
"enum": [
|
|
5526
|
+
"all",
|
|
5527
|
+
"none",
|
|
5528
|
+
"minor"
|
|
5529
|
+
]
|
|
5530
|
+
},
|
|
5531
|
+
"version": {
|
|
5532
|
+
"type": "string",
|
|
5533
|
+
"description": "WordPress core version to install. If omitted, the latest core version compatible with the account vhost PHP version is selected."
|
|
5534
|
+
},
|
|
5535
|
+
"credentials": {
|
|
5536
|
+
"type": "object",
|
|
5537
|
+
"description": "WordPress admin credentials",
|
|
5538
|
+
"properties": {
|
|
5539
|
+
"email": {
|
|
5540
|
+
"type": "string",
|
|
5541
|
+
"description": "email parameter"
|
|
5542
|
+
},
|
|
5543
|
+
"login": {
|
|
5544
|
+
"type": "string",
|
|
5545
|
+
"description": "WordPress admin username"
|
|
5546
|
+
},
|
|
5547
|
+
"password": {
|
|
5548
|
+
"type": "string",
|
|
5549
|
+
"description": "password parameter"
|
|
5550
|
+
}
|
|
5551
|
+
},
|
|
5552
|
+
"required": [
|
|
5553
|
+
"email",
|
|
5554
|
+
"login",
|
|
5555
|
+
"password"
|
|
5556
|
+
]
|
|
5557
|
+
},
|
|
5558
|
+
"database": {
|
|
5559
|
+
"type": "object",
|
|
5560
|
+
"description": "Optional. If the named database already exists, it will be used for this WordPress install. Otherwise a new database is created with a generated name and random credentials.",
|
|
5561
|
+
"properties": {
|
|
5562
|
+
"name": {
|
|
5563
|
+
"type": "string",
|
|
5564
|
+
"description": "Database name (username prefix added if missing)"
|
|
5565
|
+
},
|
|
5566
|
+
"password": {
|
|
5567
|
+
"type": "string",
|
|
5568
|
+
"description": "password parameter"
|
|
5569
|
+
}
|
|
5570
|
+
}
|
|
5571
|
+
}
|
|
5572
|
+
},
|
|
5573
|
+
"required": [
|
|
5574
|
+
"username",
|
|
5575
|
+
"domain",
|
|
5576
|
+
"site_title",
|
|
5577
|
+
"credentials"
|
|
5578
|
+
]
|
|
5579
|
+
},
|
|
5580
|
+
"security": [
|
|
5581
|
+
{
|
|
5582
|
+
"apiToken": []
|
|
5583
|
+
}
|
|
5584
|
+
],
|
|
5585
|
+
"group": "wordpress"
|
|
5586
|
+
},
|
|
5587
|
+
{
|
|
5588
|
+
"name": "hosting_listWordPressInstallationsV1",
|
|
5589
|
+
"description": "List WordPress installations accessible to the authenticated client.\n\nUse this endpoint to discover existing WordPress installations and to poll\nfor installation status after calling the install endpoint. When a newly\nrequested installation appears in this list, WordPress is ready. Filter by\nusername and domain to narrow results to a specific website.\n\nEach installation includes a `valid` flag and, when invalid, a\n`validationError` describing why.",
|
|
5590
|
+
"method": "GET",
|
|
5591
|
+
"path": "/api/hosting/v1/wordpress/installations",
|
|
5592
|
+
"inputSchema": {
|
|
5593
|
+
"type": "object",
|
|
5594
|
+
"properties": {
|
|
5595
|
+
"username": {
|
|
5596
|
+
"type": "string",
|
|
5597
|
+
"description": "Filter by specific username"
|
|
5598
|
+
},
|
|
5599
|
+
"domain": {
|
|
5600
|
+
"type": "string",
|
|
5601
|
+
"description": "Filter by domain name (exact match)"
|
|
5602
|
+
},
|
|
5603
|
+
"ownership": {
|
|
5604
|
+
"type": "string",
|
|
5605
|
+
"description": "Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.",
|
|
5606
|
+
"enum": [
|
|
5607
|
+
"owned",
|
|
5608
|
+
"managed",
|
|
5609
|
+
"all"
|
|
5610
|
+
]
|
|
5611
|
+
}
|
|
5612
|
+
},
|
|
5613
|
+
"required": []
|
|
5614
|
+
},
|
|
5615
|
+
"security": [
|
|
5616
|
+
{
|
|
5617
|
+
"apiToken": []
|
|
5618
|
+
}
|
|
5619
|
+
],
|
|
5620
|
+
"group": "wordpress"
|
|
5621
|
+
},
|
|
5622
|
+
{
|
|
5623
|
+
"name": "hosting_listAvailableWordPressCoreUpdatesV1",
|
|
5624
|
+
"description": "List available WordPress core updates for the specified installation.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
5625
|
+
"method": "GET",
|
|
5626
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/updates",
|
|
5627
|
+
"inputSchema": {
|
|
5628
|
+
"type": "object",
|
|
5629
|
+
"properties": {
|
|
5630
|
+
"username": {
|
|
5631
|
+
"type": "string",
|
|
5632
|
+
"description": "username parameter"
|
|
5633
|
+
},
|
|
5634
|
+
"software": {
|
|
5635
|
+
"type": "string",
|
|
5636
|
+
"description": "WordPress installation (software) identifier"
|
|
5637
|
+
}
|
|
5638
|
+
},
|
|
5639
|
+
"required": [
|
|
5640
|
+
"username",
|
|
5641
|
+
"software"
|
|
5642
|
+
]
|
|
5643
|
+
},
|
|
5644
|
+
"security": [
|
|
5645
|
+
{
|
|
5646
|
+
"apiToken": []
|
|
5647
|
+
}
|
|
5648
|
+
],
|
|
5649
|
+
"group": "wordpress"
|
|
5650
|
+
},
|
|
5651
|
+
{
|
|
5652
|
+
"name": "hosting_getInstallationJWTTokenV1",
|
|
5653
|
+
"description": "Return a JWT token used to authenticate requests against the specified\nWordPress installation, including its MCP (Model Context Protocol) endpoint.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
5654
|
+
"method": "GET",
|
|
5655
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/jwt-token",
|
|
5656
|
+
"inputSchema": {
|
|
5657
|
+
"type": "object",
|
|
5658
|
+
"properties": {
|
|
5659
|
+
"username": {
|
|
5660
|
+
"type": "string",
|
|
5661
|
+
"description": "username parameter"
|
|
5662
|
+
},
|
|
5663
|
+
"software": {
|
|
5664
|
+
"type": "string",
|
|
5665
|
+
"description": "WordPress installation (software) identifier"
|
|
5666
|
+
}
|
|
5667
|
+
},
|
|
5668
|
+
"required": [
|
|
5669
|
+
"username",
|
|
5670
|
+
"software"
|
|
5671
|
+
]
|
|
5672
|
+
},
|
|
5673
|
+
"security": [
|
|
5674
|
+
{
|
|
5675
|
+
"apiToken": []
|
|
5676
|
+
}
|
|
5677
|
+
],
|
|
5678
|
+
"group": "wordpress"
|
|
5679
|
+
},
|
|
5680
|
+
{
|
|
5681
|
+
"name": "hosting_showWordPressCoreVersionV1",
|
|
5682
|
+
"description": "Show the WordPress core version for the specified installation, along with\nknown vulnerabilities affecting it.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
5683
|
+
"method": "GET",
|
|
5684
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/version",
|
|
5685
|
+
"inputSchema": {
|
|
5686
|
+
"type": "object",
|
|
5687
|
+
"properties": {
|
|
5688
|
+
"username": {
|
|
5689
|
+
"type": "string",
|
|
5690
|
+
"description": "username parameter"
|
|
5691
|
+
},
|
|
5692
|
+
"software": {
|
|
5693
|
+
"type": "string",
|
|
5694
|
+
"description": "WordPress installation (software) identifier"
|
|
5695
|
+
}
|
|
5696
|
+
},
|
|
5697
|
+
"required": [
|
|
5698
|
+
"username",
|
|
5699
|
+
"software"
|
|
5700
|
+
]
|
|
5701
|
+
},
|
|
5702
|
+
"security": [
|
|
5703
|
+
{
|
|
5704
|
+
"apiToken": []
|
|
5705
|
+
}
|
|
5706
|
+
],
|
|
5707
|
+
"group": "wordpress"
|
|
5708
|
+
},
|
|
5709
|
+
{
|
|
5710
|
+
"name": "hosting_updateWordPressCoreV1",
|
|
5711
|
+
"description": "Update the WordPress core for the specified installation (minor update or a\nspecific version).\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).\n\nThis operation is asynchronous: a successful response only means the update\njob has been queued.",
|
|
5712
|
+
"method": "POST",
|
|
5713
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/update",
|
|
5714
|
+
"inputSchema": {
|
|
5715
|
+
"type": "object",
|
|
5716
|
+
"properties": {
|
|
5717
|
+
"username": {
|
|
5718
|
+
"type": "string",
|
|
5719
|
+
"description": "username parameter"
|
|
5720
|
+
},
|
|
5721
|
+
"software": {
|
|
5722
|
+
"type": "string",
|
|
5723
|
+
"description": "WordPress installation (software) identifier"
|
|
5724
|
+
},
|
|
5725
|
+
"minor": {
|
|
5726
|
+
"type": "boolean",
|
|
5727
|
+
"description": "Update the minor version only."
|
|
5728
|
+
},
|
|
5729
|
+
"version": {
|
|
5730
|
+
"type": "string",
|
|
5731
|
+
"description": "Update to a specific WordPress core version."
|
|
5732
|
+
}
|
|
5733
|
+
},
|
|
5734
|
+
"required": [
|
|
5735
|
+
"username",
|
|
5736
|
+
"software"
|
|
5737
|
+
]
|
|
5738
|
+
},
|
|
5739
|
+
"security": [
|
|
5740
|
+
{
|
|
5741
|
+
"apiToken": []
|
|
5742
|
+
}
|
|
5743
|
+
],
|
|
5744
|
+
"group": "wordpress"
|
|
5745
|
+
},
|
|
5746
|
+
{
|
|
5747
|
+
"name": "hosting_purgeLiteSpeedCacheV1",
|
|
5748
|
+
"description": "Purge the LiteSpeed Cache for the specified WordPress installation.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
5749
|
+
"method": "POST",
|
|
5750
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/litespeed-cache/purge",
|
|
5751
|
+
"inputSchema": {
|
|
5752
|
+
"type": "object",
|
|
5753
|
+
"properties": {
|
|
5754
|
+
"username": {
|
|
5755
|
+
"type": "string",
|
|
5756
|
+
"description": "username parameter"
|
|
5757
|
+
},
|
|
5758
|
+
"software": {
|
|
5759
|
+
"type": "string",
|
|
5760
|
+
"description": "WordPress installation (software) identifier"
|
|
5761
|
+
}
|
|
5762
|
+
},
|
|
5763
|
+
"required": [
|
|
5764
|
+
"username",
|
|
5765
|
+
"software"
|
|
5766
|
+
]
|
|
5767
|
+
},
|
|
5768
|
+
"security": [
|
|
5769
|
+
{
|
|
5770
|
+
"apiToken": []
|
|
5771
|
+
}
|
|
5772
|
+
],
|
|
5773
|
+
"group": "wordpress"
|
|
5774
|
+
},
|
|
5775
|
+
{
|
|
5776
|
+
"name": "hosting_showLiteSpeedCacheStatusV1",
|
|
5777
|
+
"description": "Show the LiteSpeed Cache status for the specified WordPress installation.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
5778
|
+
"method": "GET",
|
|
5779
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/litespeed-cache/status",
|
|
5780
|
+
"inputSchema": {
|
|
5781
|
+
"type": "object",
|
|
5782
|
+
"properties": {
|
|
5783
|
+
"username": {
|
|
5784
|
+
"type": "string",
|
|
5785
|
+
"description": "username parameter"
|
|
5786
|
+
},
|
|
5787
|
+
"software": {
|
|
5788
|
+
"type": "string",
|
|
5789
|
+
"description": "WordPress installation (software) identifier"
|
|
5790
|
+
}
|
|
5791
|
+
},
|
|
5792
|
+
"required": [
|
|
5793
|
+
"username",
|
|
5794
|
+
"software"
|
|
5795
|
+
]
|
|
5796
|
+
},
|
|
5797
|
+
"security": [
|
|
5798
|
+
{
|
|
5799
|
+
"apiToken": []
|
|
5800
|
+
}
|
|
5801
|
+
],
|
|
5802
|
+
"group": "wordpress"
|
|
5803
|
+
},
|
|
5804
|
+
{
|
|
5805
|
+
"name": "hosting_createLoginLinksV1",
|
|
5806
|
+
"description": "Create temporary auto-login links for the specified WordPress installation.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
5807
|
+
"method": "POST",
|
|
5808
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/login/links",
|
|
5809
|
+
"inputSchema": {
|
|
5810
|
+
"type": "object",
|
|
5811
|
+
"properties": {
|
|
5812
|
+
"username": {
|
|
5813
|
+
"type": "string",
|
|
5814
|
+
"description": "username parameter"
|
|
5815
|
+
},
|
|
5816
|
+
"software": {
|
|
5817
|
+
"type": "string",
|
|
5818
|
+
"description": "WordPress installation (software) identifier"
|
|
5819
|
+
}
|
|
5820
|
+
},
|
|
5821
|
+
"required": [
|
|
5822
|
+
"username",
|
|
5823
|
+
"software"
|
|
5824
|
+
]
|
|
5825
|
+
},
|
|
5826
|
+
"security": [
|
|
5827
|
+
{
|
|
5828
|
+
"apiToken": []
|
|
5829
|
+
}
|
|
5830
|
+
],
|
|
5831
|
+
"group": "wordpress"
|
|
5832
|
+
},
|
|
5833
|
+
{
|
|
5834
|
+
"name": "hosting_showMaintenanceStatusV1",
|
|
5835
|
+
"description": "Show the maintenance mode status for the specified WordPress installation.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
5836
|
+
"method": "GET",
|
|
5837
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/maintenance/status",
|
|
5838
|
+
"inputSchema": {
|
|
5839
|
+
"type": "object",
|
|
5840
|
+
"properties": {
|
|
5841
|
+
"username": {
|
|
5842
|
+
"type": "string",
|
|
5843
|
+
"description": "username parameter"
|
|
5844
|
+
},
|
|
5845
|
+
"software": {
|
|
5846
|
+
"type": "string",
|
|
5847
|
+
"description": "WordPress installation (software) identifier"
|
|
5848
|
+
}
|
|
5849
|
+
},
|
|
5850
|
+
"required": [
|
|
5851
|
+
"username",
|
|
5852
|
+
"software"
|
|
5853
|
+
]
|
|
5854
|
+
},
|
|
5855
|
+
"security": [
|
|
5856
|
+
{
|
|
5857
|
+
"apiToken": []
|
|
5858
|
+
}
|
|
5859
|
+
],
|
|
5860
|
+
"group": "wordpress"
|
|
5861
|
+
},
|
|
5862
|
+
{
|
|
5863
|
+
"name": "hosting_toggleMaintenanceModeV1",
|
|
5864
|
+
"description": "Enable or disable maintenance mode for the specified WordPress installation,\nbased on the `enabled` flag.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
5865
|
+
"method": "PATCH",
|
|
5866
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/maintenance/toggle",
|
|
5867
|
+
"inputSchema": {
|
|
5868
|
+
"type": "object",
|
|
5869
|
+
"properties": {
|
|
5870
|
+
"username": {
|
|
5871
|
+
"type": "string",
|
|
5872
|
+
"description": "username parameter"
|
|
5873
|
+
},
|
|
5874
|
+
"software": {
|
|
5875
|
+
"type": "string",
|
|
5876
|
+
"description": "WordPress installation (software) identifier"
|
|
5877
|
+
},
|
|
5878
|
+
"enabled": {
|
|
5879
|
+
"type": "boolean",
|
|
5880
|
+
"description": "Enable (true) or disable (false) maintenance mode for the WordPress installation."
|
|
5881
|
+
}
|
|
5882
|
+
},
|
|
5883
|
+
"required": [
|
|
5884
|
+
"username",
|
|
5885
|
+
"software",
|
|
5886
|
+
"enabled"
|
|
5887
|
+
]
|
|
5888
|
+
},
|
|
5889
|
+
"security": [
|
|
5890
|
+
{
|
|
5891
|
+
"apiToken": []
|
|
5892
|
+
}
|
|
5893
|
+
],
|
|
5894
|
+
"group": "wordpress"
|
|
5895
|
+
},
|
|
5896
|
+
{
|
|
5897
|
+
"name": "hosting_showMemcachedObjectCacheStatusV1",
|
|
5898
|
+
"description": "Show the Memcached object cache status for the specified WordPress\ninstallation.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
5899
|
+
"method": "GET",
|
|
5900
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/memcached/status",
|
|
5901
|
+
"inputSchema": {
|
|
5902
|
+
"type": "object",
|
|
5903
|
+
"properties": {
|
|
5904
|
+
"username": {
|
|
5905
|
+
"type": "string",
|
|
5906
|
+
"description": "username parameter"
|
|
5907
|
+
},
|
|
5908
|
+
"software": {
|
|
5909
|
+
"type": "string",
|
|
5910
|
+
"description": "WordPress installation (software) identifier"
|
|
5911
|
+
}
|
|
5912
|
+
},
|
|
5913
|
+
"required": [
|
|
5914
|
+
"username",
|
|
5915
|
+
"software"
|
|
5916
|
+
]
|
|
5917
|
+
},
|
|
5918
|
+
"security": [
|
|
5919
|
+
{
|
|
5920
|
+
"apiToken": []
|
|
5921
|
+
}
|
|
5922
|
+
],
|
|
5923
|
+
"group": "wordpress"
|
|
5924
|
+
},
|
|
5925
|
+
{
|
|
5926
|
+
"name": "hosting_toggleMemcachedObjectCacheV1",
|
|
5927
|
+
"description": "Activate or deactivate the Memcached object cache for the specified WordPress\ninstallation, based on the `enabled` flag.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
5928
|
+
"method": "PATCH",
|
|
5929
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/memcached/toggle",
|
|
5930
|
+
"inputSchema": {
|
|
5931
|
+
"type": "object",
|
|
5932
|
+
"properties": {
|
|
5933
|
+
"username": {
|
|
5934
|
+
"type": "string",
|
|
5935
|
+
"description": "username parameter"
|
|
5936
|
+
},
|
|
5937
|
+
"software": {
|
|
5938
|
+
"type": "string",
|
|
5939
|
+
"description": "WordPress installation (software) identifier"
|
|
5940
|
+
},
|
|
5941
|
+
"enabled": {
|
|
5942
|
+
"type": "boolean",
|
|
5943
|
+
"description": "Activate (true) or deactivate (false) the Memcached object cache for the WordPress installation."
|
|
5944
|
+
}
|
|
5945
|
+
},
|
|
5946
|
+
"required": [
|
|
5947
|
+
"username",
|
|
5948
|
+
"software",
|
|
5949
|
+
"enabled"
|
|
5950
|
+
]
|
|
5295
5951
|
},
|
|
5296
5952
|
"security": [
|
|
5297
5953
|
{
|