hostinger-api-mcp 1.0.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +204 -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 +565 -0
- package/src/core/tools/all.ts +565 -0
- package/src/core/tools/ecommerce.js +82 -0
- package/src/core/tools/ecommerce.ts +82 -0
- package/src/core/tools/wordpress.js +483 -0
- package/src/core/tools/wordpress.ts +483 -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 +402 -0
package/src/core/tools/all.ts
CHANGED
|
@@ -1297,6 +1297,23 @@ const tools: OpenApiTool[] = [
|
|
|
1297
1297
|
],
|
|
1298
1298
|
"group": "domains"
|
|
1299
1299
|
},
|
|
1300
|
+
{
|
|
1301
|
+
"name": "ecommerce_getCustomStorefrontSetupInstructionsV1",
|
|
1302
|
+
"description": "Retrieve step-by-step setup instructions, formatted as Markdown, for connecting a custom sales\nchannel to your store and keeping your catalog, orders, shipping and payments in sync through\nthe Ecommerce API.",
|
|
1303
|
+
"method": "GET",
|
|
1304
|
+
"path": "/api/ecommerce/v1/miscellaneous/custom-storefront-instructions",
|
|
1305
|
+
"inputSchema": {
|
|
1306
|
+
"type": "object",
|
|
1307
|
+
"properties": {},
|
|
1308
|
+
"required": []
|
|
1309
|
+
},
|
|
1310
|
+
"security": [
|
|
1311
|
+
{
|
|
1312
|
+
"apiToken": []
|
|
1313
|
+
}
|
|
1314
|
+
],
|
|
1315
|
+
"group": "ecommerce"
|
|
1316
|
+
},
|
|
1300
1317
|
{
|
|
1301
1318
|
"name": "ecommerce_enableManualPaymentMethodV1",
|
|
1302
1319
|
"description": "Enable a manual payment method so the store can accept orders without an online payment provider.",
|
|
@@ -1413,6 +1430,71 @@ const tools: OpenApiTool[] = [
|
|
|
1413
1430
|
],
|
|
1414
1431
|
"group": "ecommerce"
|
|
1415
1432
|
},
|
|
1433
|
+
{
|
|
1434
|
+
"name": "ecommerce_listSalesChannelsV1",
|
|
1435
|
+
"description": "List a store's active sales channels with their full metadata.",
|
|
1436
|
+
"method": "GET",
|
|
1437
|
+
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels",
|
|
1438
|
+
"inputSchema": {
|
|
1439
|
+
"type": "object",
|
|
1440
|
+
"properties": {
|
|
1441
|
+
"store_id": {
|
|
1442
|
+
"type": "string",
|
|
1443
|
+
"description": "The ID of the store to list sales channels for."
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
"required": [
|
|
1447
|
+
"store_id"
|
|
1448
|
+
]
|
|
1449
|
+
},
|
|
1450
|
+
"security": [
|
|
1451
|
+
{
|
|
1452
|
+
"apiToken": []
|
|
1453
|
+
}
|
|
1454
|
+
],
|
|
1455
|
+
"group": "ecommerce"
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
"name": "ecommerce_createACustomSalesChannelV1",
|
|
1459
|
+
"description": "Create a custom sales channel for a store. Build your own frontend and keep your catalog,\norders, shipping and payments in sync through the Ecommerce API.",
|
|
1460
|
+
"method": "POST",
|
|
1461
|
+
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels",
|
|
1462
|
+
"inputSchema": {
|
|
1463
|
+
"type": "object",
|
|
1464
|
+
"properties": {
|
|
1465
|
+
"store_id": {
|
|
1466
|
+
"type": "string",
|
|
1467
|
+
"description": "The ID of the store to create the sales channel for."
|
|
1468
|
+
},
|
|
1469
|
+
"type": {
|
|
1470
|
+
"type": "string",
|
|
1471
|
+
"description": "Sales channel type. Only \"custom\" channels can be created via the API.",
|
|
1472
|
+
"enum": [
|
|
1473
|
+
"custom"
|
|
1474
|
+
]
|
|
1475
|
+
},
|
|
1476
|
+
"name": {
|
|
1477
|
+
"type": "string",
|
|
1478
|
+
"description": "Merchant-facing custom name shown in the sales channels list."
|
|
1479
|
+
},
|
|
1480
|
+
"url": {
|
|
1481
|
+
"type": "string",
|
|
1482
|
+
"description": "Optional public address where the custom sales channel lives."
|
|
1483
|
+
}
|
|
1484
|
+
},
|
|
1485
|
+
"required": [
|
|
1486
|
+
"store_id",
|
|
1487
|
+
"type",
|
|
1488
|
+
"name"
|
|
1489
|
+
]
|
|
1490
|
+
},
|
|
1491
|
+
"security": [
|
|
1492
|
+
{
|
|
1493
|
+
"apiToken": []
|
|
1494
|
+
}
|
|
1495
|
+
],
|
|
1496
|
+
"group": "ecommerce"
|
|
1497
|
+
},
|
|
1416
1498
|
{
|
|
1417
1499
|
"name": "ecommerce_setStoreShippingV1",
|
|
1418
1500
|
"description": "Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.",
|
|
@@ -4956,6 +5038,74 @@ const tools: OpenApiTool[] = [
|
|
|
4956
5038
|
],
|
|
4957
5039
|
"group": "wordpress"
|
|
4958
5040
|
},
|
|
5041
|
+
{
|
|
5042
|
+
"name": "hosting_activateWordPressPluginV1",
|
|
5043
|
+
"description": "Activate an installed plugin on a 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).\n\nThis operation is asynchronous: a successful response only means the activation\njob has been queued.",
|
|
5044
|
+
"method": "POST",
|
|
5045
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/activate",
|
|
5046
|
+
"inputSchema": {
|
|
5047
|
+
"type": "object",
|
|
5048
|
+
"properties": {
|
|
5049
|
+
"username": {
|
|
5050
|
+
"type": "string",
|
|
5051
|
+
"description": "username parameter"
|
|
5052
|
+
},
|
|
5053
|
+
"software": {
|
|
5054
|
+
"type": "string",
|
|
5055
|
+
"description": "WordPress installation (software) identifier"
|
|
5056
|
+
},
|
|
5057
|
+
"plugin": {
|
|
5058
|
+
"type": "string",
|
|
5059
|
+
"description": "Slug of the installed plugin to activate."
|
|
5060
|
+
}
|
|
5061
|
+
},
|
|
5062
|
+
"required": [
|
|
5063
|
+
"username",
|
|
5064
|
+
"software",
|
|
5065
|
+
"plugin"
|
|
5066
|
+
]
|
|
5067
|
+
},
|
|
5068
|
+
"security": [
|
|
5069
|
+
{
|
|
5070
|
+
"apiToken": []
|
|
5071
|
+
}
|
|
5072
|
+
],
|
|
5073
|
+
"group": "wordpress"
|
|
5074
|
+
},
|
|
5075
|
+
{
|
|
5076
|
+
"name": "hosting_deactivateWordPressPluginV1",
|
|
5077
|
+
"description": "Deactivate an installed plugin on a 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).\n\nThis operation is asynchronous: a successful response only means the\ndeactivation job has been queued.",
|
|
5078
|
+
"method": "POST",
|
|
5079
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/deactivate",
|
|
5080
|
+
"inputSchema": {
|
|
5081
|
+
"type": "object",
|
|
5082
|
+
"properties": {
|
|
5083
|
+
"username": {
|
|
5084
|
+
"type": "string",
|
|
5085
|
+
"description": "username parameter"
|
|
5086
|
+
},
|
|
5087
|
+
"software": {
|
|
5088
|
+
"type": "string",
|
|
5089
|
+
"description": "WordPress installation (software) identifier"
|
|
5090
|
+
},
|
|
5091
|
+
"plugin": {
|
|
5092
|
+
"type": "string",
|
|
5093
|
+
"description": "Slug of the installed plugin to deactivate."
|
|
5094
|
+
}
|
|
5095
|
+
},
|
|
5096
|
+
"required": [
|
|
5097
|
+
"username",
|
|
5098
|
+
"software",
|
|
5099
|
+
"plugin"
|
|
5100
|
+
]
|
|
5101
|
+
},
|
|
5102
|
+
"security": [
|
|
5103
|
+
{
|
|
5104
|
+
"apiToken": []
|
|
5105
|
+
}
|
|
5106
|
+
],
|
|
5107
|
+
"group": "wordpress"
|
|
5108
|
+
},
|
|
4959
5109
|
{
|
|
4960
5110
|
"name": "hosting_installWordPressPluginsV1",
|
|
4961
5111
|
"description": "Install one or more plugins on an existing 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`\nfield). Use GET /api/hosting/v1/wordpress/plugins to discover the plugin\nslugs available for installation.\n\nThis operation is asynchronous: a successful response only means the install\njob has been queued, not that the plugins are ready.",
|
|
@@ -4994,6 +5144,290 @@ const tools: OpenApiTool[] = [
|
|
|
4994
5144
|
],
|
|
4995
5145
|
"group": "wordpress"
|
|
4996
5146
|
},
|
|
5147
|
+
{
|
|
5148
|
+
"name": "hosting_listAvailableWordPressPluginsV1",
|
|
5149
|
+
"description": "List plugins recommended for installation on a WordPress installation that are\nnot yet installed.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
5150
|
+
"method": "GET",
|
|
5151
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/available",
|
|
5152
|
+
"inputSchema": {
|
|
5153
|
+
"type": "object",
|
|
5154
|
+
"properties": {
|
|
5155
|
+
"username": {
|
|
5156
|
+
"type": "string",
|
|
5157
|
+
"description": "username parameter"
|
|
5158
|
+
},
|
|
5159
|
+
"software": {
|
|
5160
|
+
"type": "string",
|
|
5161
|
+
"description": "WordPress installation (software) identifier"
|
|
5162
|
+
}
|
|
5163
|
+
},
|
|
5164
|
+
"required": [
|
|
5165
|
+
"username",
|
|
5166
|
+
"software"
|
|
5167
|
+
]
|
|
5168
|
+
},
|
|
5169
|
+
"security": [
|
|
5170
|
+
{
|
|
5171
|
+
"apiToken": []
|
|
5172
|
+
}
|
|
5173
|
+
],
|
|
5174
|
+
"group": "wordpress"
|
|
5175
|
+
},
|
|
5176
|
+
{
|
|
5177
|
+
"name": "hosting_listInstalledWordPressPluginsV1",
|
|
5178
|
+
"description": "List plugins installed on a WordPress installation, including their status,\navailable updates and known vulnerabilities.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
5179
|
+
"method": "GET",
|
|
5180
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins",
|
|
5181
|
+
"inputSchema": {
|
|
5182
|
+
"type": "object",
|
|
5183
|
+
"properties": {
|
|
5184
|
+
"username": {
|
|
5185
|
+
"type": "string",
|
|
5186
|
+
"description": "username parameter"
|
|
5187
|
+
},
|
|
5188
|
+
"software": {
|
|
5189
|
+
"type": "string",
|
|
5190
|
+
"description": "WordPress installation (software) identifier"
|
|
5191
|
+
},
|
|
5192
|
+
"category": {
|
|
5193
|
+
"type": "string",
|
|
5194
|
+
"description": "Filter installed plugins by category.",
|
|
5195
|
+
"enum": [
|
|
5196
|
+
"cache"
|
|
5197
|
+
]
|
|
5198
|
+
}
|
|
5199
|
+
},
|
|
5200
|
+
"required": [
|
|
5201
|
+
"username",
|
|
5202
|
+
"software"
|
|
5203
|
+
]
|
|
5204
|
+
},
|
|
5205
|
+
"security": [
|
|
5206
|
+
{
|
|
5207
|
+
"apiToken": []
|
|
5208
|
+
}
|
|
5209
|
+
],
|
|
5210
|
+
"group": "wordpress"
|
|
5211
|
+
},
|
|
5212
|
+
{
|
|
5213
|
+
"name": "hosting_searchWordPressPluginsV1",
|
|
5214
|
+
"description": "Search the WordPress.org plugin directory for plugins available to install.\n\nUse the returned `slug` values with\nPOST /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/install.",
|
|
5215
|
+
"method": "GET",
|
|
5216
|
+
"path": "/api/hosting/v1/wordpress/plugins",
|
|
5217
|
+
"inputSchema": {
|
|
5218
|
+
"type": "object",
|
|
5219
|
+
"properties": {
|
|
5220
|
+
"search": {
|
|
5221
|
+
"type": "string",
|
|
5222
|
+
"description": "Search term to match against plugin names. Minimum 3 characters."
|
|
5223
|
+
}
|
|
5224
|
+
},
|
|
5225
|
+
"required": [
|
|
5226
|
+
"search"
|
|
5227
|
+
]
|
|
5228
|
+
},
|
|
5229
|
+
"security": [
|
|
5230
|
+
{
|
|
5231
|
+
"apiToken": []
|
|
5232
|
+
}
|
|
5233
|
+
],
|
|
5234
|
+
"group": "wordpress"
|
|
5235
|
+
},
|
|
5236
|
+
{
|
|
5237
|
+
"name": "hosting_listSuggestedWordPressPluginsV1",
|
|
5238
|
+
"description": "List curated plugin suggestions grouped by website type.\n\nUse the returned `slug` values with\nPOST /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/install.",
|
|
5239
|
+
"method": "GET",
|
|
5240
|
+
"path": "/api/hosting/v1/wordpress/plugins/suggested",
|
|
5241
|
+
"inputSchema": {
|
|
5242
|
+
"type": "object",
|
|
5243
|
+
"properties": {
|
|
5244
|
+
"order_id": {
|
|
5245
|
+
"type": "integer",
|
|
5246
|
+
"description": "Optionally scope suggestions to a specific order."
|
|
5247
|
+
}
|
|
5248
|
+
},
|
|
5249
|
+
"required": []
|
|
5250
|
+
},
|
|
5251
|
+
"security": [
|
|
5252
|
+
{
|
|
5253
|
+
"apiToken": []
|
|
5254
|
+
}
|
|
5255
|
+
],
|
|
5256
|
+
"group": "wordpress"
|
|
5257
|
+
},
|
|
5258
|
+
{
|
|
5259
|
+
"name": "hosting_checkIfWooCommerceIsInstalledV1",
|
|
5260
|
+
"description": "Check whether WooCommerce is installed on any WordPress installation of a\ndomain. Optionally filter by domain to scope the check.",
|
|
5261
|
+
"method": "GET",
|
|
5262
|
+
"path": "/api/hosting/v1/wordpress/plugins/is-woocommerce-installed",
|
|
5263
|
+
"inputSchema": {
|
|
5264
|
+
"type": "object",
|
|
5265
|
+
"properties": {
|
|
5266
|
+
"domain": {
|
|
5267
|
+
"type": "string",
|
|
5268
|
+
"description": "Filter by domain name (exact match)"
|
|
5269
|
+
}
|
|
5270
|
+
},
|
|
5271
|
+
"required": []
|
|
5272
|
+
},
|
|
5273
|
+
"security": [
|
|
5274
|
+
{
|
|
5275
|
+
"apiToken": []
|
|
5276
|
+
}
|
|
5277
|
+
],
|
|
5278
|
+
"group": "wordpress"
|
|
5279
|
+
},
|
|
5280
|
+
{
|
|
5281
|
+
"name": "hosting_uninstallWordPressPluginsV1",
|
|
5282
|
+
"description": "Uninstall one or more plugins from a 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).\n\nThis operation is asynchronous: a successful response only means the uninstall\njob has been queued.",
|
|
5283
|
+
"method": "POST",
|
|
5284
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/uninstall",
|
|
5285
|
+
"inputSchema": {
|
|
5286
|
+
"type": "object",
|
|
5287
|
+
"properties": {
|
|
5288
|
+
"username": {
|
|
5289
|
+
"type": "string",
|
|
5290
|
+
"description": "username parameter"
|
|
5291
|
+
},
|
|
5292
|
+
"software": {
|
|
5293
|
+
"type": "string",
|
|
5294
|
+
"description": "WordPress installation (software) identifier"
|
|
5295
|
+
},
|
|
5296
|
+
"plugins": {
|
|
5297
|
+
"type": "array",
|
|
5298
|
+
"description": "Slugs of the installed plugins to uninstall.",
|
|
5299
|
+
"items": {
|
|
5300
|
+
"type": "string",
|
|
5301
|
+
"description": "Plugin slug"
|
|
5302
|
+
}
|
|
5303
|
+
}
|
|
5304
|
+
},
|
|
5305
|
+
"required": [
|
|
5306
|
+
"username",
|
|
5307
|
+
"software",
|
|
5308
|
+
"plugins"
|
|
5309
|
+
]
|
|
5310
|
+
},
|
|
5311
|
+
"security": [
|
|
5312
|
+
{
|
|
5313
|
+
"apiToken": []
|
|
5314
|
+
}
|
|
5315
|
+
],
|
|
5316
|
+
"group": "wordpress"
|
|
5317
|
+
},
|
|
5318
|
+
{
|
|
5319
|
+
"name": "hosting_updateHostingerWordPressPluginV1",
|
|
5320
|
+
"description": "Update a Hostinger plugin to its latest version on a 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).\n\nThis operation is asynchronous: a successful response only means the update job\nhas been queued.",
|
|
5321
|
+
"method": "POST",
|
|
5322
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/hostinger/update",
|
|
5323
|
+
"inputSchema": {
|
|
5324
|
+
"type": "object",
|
|
5325
|
+
"properties": {
|
|
5326
|
+
"username": {
|
|
5327
|
+
"type": "string",
|
|
5328
|
+
"description": "username parameter"
|
|
5329
|
+
},
|
|
5330
|
+
"software": {
|
|
5331
|
+
"type": "string",
|
|
5332
|
+
"description": "WordPress installation (software) identifier"
|
|
5333
|
+
},
|
|
5334
|
+
"slug": {
|
|
5335
|
+
"type": "string",
|
|
5336
|
+
"description": "Slug of the Hostinger plugin to update to its latest version.",
|
|
5337
|
+
"enum": [
|
|
5338
|
+
"hostinger",
|
|
5339
|
+
"hostinger-ai-assistant",
|
|
5340
|
+
"hostinger-affiliate-plugin",
|
|
5341
|
+
"hostinger-easy-onboarding",
|
|
5342
|
+
"hostinger-reach"
|
|
5343
|
+
]
|
|
5344
|
+
}
|
|
5345
|
+
},
|
|
5346
|
+
"required": [
|
|
5347
|
+
"username",
|
|
5348
|
+
"software",
|
|
5349
|
+
"slug"
|
|
5350
|
+
]
|
|
5351
|
+
},
|
|
5352
|
+
"security": [
|
|
5353
|
+
{
|
|
5354
|
+
"apiToken": []
|
|
5355
|
+
}
|
|
5356
|
+
],
|
|
5357
|
+
"group": "wordpress"
|
|
5358
|
+
},
|
|
5359
|
+
{
|
|
5360
|
+
"name": "hosting_updateWordPressPluginsV1",
|
|
5361
|
+
"description": "Update one or more installed plugins to their latest version on a 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).\n\nThis operation is asynchronous: a successful response only means the update job\nhas been queued.",
|
|
5362
|
+
"method": "POST",
|
|
5363
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/update",
|
|
5364
|
+
"inputSchema": {
|
|
5365
|
+
"type": "object",
|
|
5366
|
+
"properties": {
|
|
5367
|
+
"username": {
|
|
5368
|
+
"type": "string",
|
|
5369
|
+
"description": "username parameter"
|
|
5370
|
+
},
|
|
5371
|
+
"software": {
|
|
5372
|
+
"type": "string",
|
|
5373
|
+
"description": "WordPress installation (software) identifier"
|
|
5374
|
+
},
|
|
5375
|
+
"plugins": {
|
|
5376
|
+
"type": "array",
|
|
5377
|
+
"description": "Slugs of the installed plugins to update to their latest version.",
|
|
5378
|
+
"items": {
|
|
5379
|
+
"type": "string",
|
|
5380
|
+
"description": "Plugin slug"
|
|
5381
|
+
}
|
|
5382
|
+
}
|
|
5383
|
+
},
|
|
5384
|
+
"required": [
|
|
5385
|
+
"username",
|
|
5386
|
+
"software",
|
|
5387
|
+
"plugins"
|
|
5388
|
+
]
|
|
5389
|
+
},
|
|
5390
|
+
"security": [
|
|
5391
|
+
{
|
|
5392
|
+
"apiToken": []
|
|
5393
|
+
}
|
|
5394
|
+
],
|
|
5395
|
+
"group": "wordpress"
|
|
5396
|
+
},
|
|
5397
|
+
{
|
|
5398
|
+
"name": "hosting_activateWordPressThemeV1",
|
|
5399
|
+
"description": "Activate an installed theme on a 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).\n\nThis operation is asynchronous: a successful response only means the activation\njob has been queued.",
|
|
5400
|
+
"method": "POST",
|
|
5401
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/themes/activate",
|
|
5402
|
+
"inputSchema": {
|
|
5403
|
+
"type": "object",
|
|
5404
|
+
"properties": {
|
|
5405
|
+
"username": {
|
|
5406
|
+
"type": "string",
|
|
5407
|
+
"description": "username parameter"
|
|
5408
|
+
},
|
|
5409
|
+
"software": {
|
|
5410
|
+
"type": "string",
|
|
5411
|
+
"description": "WordPress installation (software) identifier"
|
|
5412
|
+
},
|
|
5413
|
+
"theme": {
|
|
5414
|
+
"type": "string",
|
|
5415
|
+
"description": "Slug of the installed theme to activate."
|
|
5416
|
+
}
|
|
5417
|
+
},
|
|
5418
|
+
"required": [
|
|
5419
|
+
"username",
|
|
5420
|
+
"software",
|
|
5421
|
+
"theme"
|
|
5422
|
+
]
|
|
5423
|
+
},
|
|
5424
|
+
"security": [
|
|
5425
|
+
{
|
|
5426
|
+
"apiToken": []
|
|
5427
|
+
}
|
|
5428
|
+
],
|
|
5429
|
+
"group": "wordpress"
|
|
5430
|
+
},
|
|
4997
5431
|
{
|
|
4998
5432
|
"name": "hosting_installWordPressThemeV1",
|
|
4999
5433
|
"description": "Install a theme on an existing 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`\nfield).\n\nWhen the theme is one of the Hostinger themes (hostinger-blog,\nhostinger-affiliate-theme, hostinger-ai-theme), the optional `palette`,\n`layout`, and `font` fields are forwarded to the custom installer (defaults:\npalette1, layout1, default). For any other theme they are ignored.\n\nThis operation is asynchronous: a successful response only means the install\njob has been queued, not that the theme is ready.",
|
|
@@ -5047,6 +5481,137 @@ const tools: OpenApiTool[] = [
|
|
|
5047
5481
|
}
|
|
5048
5482
|
],
|
|
5049
5483
|
"group": "wordpress"
|
|
5484
|
+
},
|
|
5485
|
+
{
|
|
5486
|
+
"name": "hosting_listInstalledWordPressThemesV1",
|
|
5487
|
+
"description": "List themes installed on a WordPress installation, including their status,\navailable updates and known vulnerabilities.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
5488
|
+
"method": "GET",
|
|
5489
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/themes",
|
|
5490
|
+
"inputSchema": {
|
|
5491
|
+
"type": "object",
|
|
5492
|
+
"properties": {
|
|
5493
|
+
"username": {
|
|
5494
|
+
"type": "string",
|
|
5495
|
+
"description": "username parameter"
|
|
5496
|
+
},
|
|
5497
|
+
"software": {
|
|
5498
|
+
"type": "string",
|
|
5499
|
+
"description": "WordPress installation (software) identifier"
|
|
5500
|
+
}
|
|
5501
|
+
},
|
|
5502
|
+
"required": [
|
|
5503
|
+
"username",
|
|
5504
|
+
"software"
|
|
5505
|
+
]
|
|
5506
|
+
},
|
|
5507
|
+
"security": [
|
|
5508
|
+
{
|
|
5509
|
+
"apiToken": []
|
|
5510
|
+
}
|
|
5511
|
+
],
|
|
5512
|
+
"group": "wordpress"
|
|
5513
|
+
},
|
|
5514
|
+
{
|
|
5515
|
+
"name": "hosting_listWordPressThemesV1",
|
|
5516
|
+
"description": "List WordPress themes available to install.\n\nUse the returned `slug` values with\nPOST /api/hosting/v1/accounts/{username}/wordpress/{software}/themes/install.",
|
|
5517
|
+
"method": "GET",
|
|
5518
|
+
"path": "/api/hosting/v1/wordpress/themes",
|
|
5519
|
+
"inputSchema": {
|
|
5520
|
+
"type": "object",
|
|
5521
|
+
"properties": {
|
|
5522
|
+
"order_id": {
|
|
5523
|
+
"type": "integer",
|
|
5524
|
+
"description": "Optionally scope themes to a specific order."
|
|
5525
|
+
},
|
|
5526
|
+
"search": {
|
|
5527
|
+
"type": "string",
|
|
5528
|
+
"description": "Search term to match against theme names."
|
|
5529
|
+
}
|
|
5530
|
+
},
|
|
5531
|
+
"required": []
|
|
5532
|
+
},
|
|
5533
|
+
"security": [
|
|
5534
|
+
{
|
|
5535
|
+
"apiToken": []
|
|
5536
|
+
}
|
|
5537
|
+
],
|
|
5538
|
+
"group": "wordpress"
|
|
5539
|
+
},
|
|
5540
|
+
{
|
|
5541
|
+
"name": "hosting_uninstallWordPressThemesV1",
|
|
5542
|
+
"description": "Uninstall one or more themes from a 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).\n\nThis operation is asynchronous: a successful response only means the uninstall\njob has been queued.",
|
|
5543
|
+
"method": "POST",
|
|
5544
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/themes/uninstall",
|
|
5545
|
+
"inputSchema": {
|
|
5546
|
+
"type": "object",
|
|
5547
|
+
"properties": {
|
|
5548
|
+
"username": {
|
|
5549
|
+
"type": "string",
|
|
5550
|
+
"description": "username parameter"
|
|
5551
|
+
},
|
|
5552
|
+
"software": {
|
|
5553
|
+
"type": "string",
|
|
5554
|
+
"description": "WordPress installation (software) identifier"
|
|
5555
|
+
},
|
|
5556
|
+
"themes": {
|
|
5557
|
+
"type": "array",
|
|
5558
|
+
"description": "Slugs of the installed themes to uninstall.",
|
|
5559
|
+
"items": {
|
|
5560
|
+
"type": "string",
|
|
5561
|
+
"description": "Theme slug"
|
|
5562
|
+
}
|
|
5563
|
+
}
|
|
5564
|
+
},
|
|
5565
|
+
"required": [
|
|
5566
|
+
"username",
|
|
5567
|
+
"software",
|
|
5568
|
+
"themes"
|
|
5569
|
+
]
|
|
5570
|
+
},
|
|
5571
|
+
"security": [
|
|
5572
|
+
{
|
|
5573
|
+
"apiToken": []
|
|
5574
|
+
}
|
|
5575
|
+
],
|
|
5576
|
+
"group": "wordpress"
|
|
5577
|
+
},
|
|
5578
|
+
{
|
|
5579
|
+
"name": "hosting_updateWordPressThemesV1",
|
|
5580
|
+
"description": "Update one or more installed themes to their latest version on a 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).\n\nThis operation is asynchronous: a successful response only means the update job\nhas been queued.",
|
|
5581
|
+
"method": "POST",
|
|
5582
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/themes/update",
|
|
5583
|
+
"inputSchema": {
|
|
5584
|
+
"type": "object",
|
|
5585
|
+
"properties": {
|
|
5586
|
+
"username": {
|
|
5587
|
+
"type": "string",
|
|
5588
|
+
"description": "username parameter"
|
|
5589
|
+
},
|
|
5590
|
+
"software": {
|
|
5591
|
+
"type": "string",
|
|
5592
|
+
"description": "WordPress installation (software) identifier"
|
|
5593
|
+
},
|
|
5594
|
+
"themes": {
|
|
5595
|
+
"type": "array",
|
|
5596
|
+
"description": "Slugs of the installed themes to update to their latest version.",
|
|
5597
|
+
"items": {
|
|
5598
|
+
"type": "string",
|
|
5599
|
+
"description": "Theme slug"
|
|
5600
|
+
}
|
|
5601
|
+
}
|
|
5602
|
+
},
|
|
5603
|
+
"required": [
|
|
5604
|
+
"username",
|
|
5605
|
+
"software",
|
|
5606
|
+
"themes"
|
|
5607
|
+
]
|
|
5608
|
+
},
|
|
5609
|
+
"security": [
|
|
5610
|
+
{
|
|
5611
|
+
"apiToken": []
|
|
5612
|
+
}
|
|
5613
|
+
],
|
|
5614
|
+
"group": "wordpress"
|
|
5050
5615
|
}
|
|
5051
5616
|
];
|
|
5052
5617
|
export default tools;
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
// Auto-generated tool list for group: ecommerce
|
|
2
2
|
export default [
|
|
3
|
+
{
|
|
4
|
+
"name": "ecommerce_getCustomStorefrontSetupInstructionsV1",
|
|
5
|
+
"description": "Retrieve step-by-step setup instructions, formatted as Markdown, for connecting a custom sales\nchannel to your store and keeping your catalog, orders, shipping and payments in sync through\nthe Ecommerce API.",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"path": "/api/ecommerce/v1/miscellaneous/custom-storefront-instructions",
|
|
8
|
+
"inputSchema": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {},
|
|
11
|
+
"required": []
|
|
12
|
+
},
|
|
13
|
+
"security": [
|
|
14
|
+
{
|
|
15
|
+
"apiToken": []
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"group": "ecommerce"
|
|
19
|
+
},
|
|
3
20
|
{
|
|
4
21
|
"name": "ecommerce_enableManualPaymentMethodV1",
|
|
5
22
|
"description": "Enable a manual payment method so the store can accept orders without an online payment provider.",
|
|
@@ -116,6 +133,71 @@ export default [
|
|
|
116
133
|
],
|
|
117
134
|
"group": "ecommerce"
|
|
118
135
|
},
|
|
136
|
+
{
|
|
137
|
+
"name": "ecommerce_listSalesChannelsV1",
|
|
138
|
+
"description": "List a store's active sales channels with their full metadata.",
|
|
139
|
+
"method": "GET",
|
|
140
|
+
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels",
|
|
141
|
+
"inputSchema": {
|
|
142
|
+
"type": "object",
|
|
143
|
+
"properties": {
|
|
144
|
+
"store_id": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"description": "The ID of the store to list sales channels for."
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"required": [
|
|
150
|
+
"store_id"
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
"security": [
|
|
154
|
+
{
|
|
155
|
+
"apiToken": []
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"group": "ecommerce"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "ecommerce_createACustomSalesChannelV1",
|
|
162
|
+
"description": "Create a custom sales channel for a store. Build your own frontend and keep your catalog,\norders, shipping and payments in sync through the Ecommerce API.",
|
|
163
|
+
"method": "POST",
|
|
164
|
+
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels",
|
|
165
|
+
"inputSchema": {
|
|
166
|
+
"type": "object",
|
|
167
|
+
"properties": {
|
|
168
|
+
"store_id": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"description": "The ID of the store to create the sales channel for."
|
|
171
|
+
},
|
|
172
|
+
"type": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"description": "Sales channel type. Only \"custom\" channels can be created via the API.",
|
|
175
|
+
"enum": [
|
|
176
|
+
"custom"
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
"name": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"description": "Merchant-facing custom name shown in the sales channels list."
|
|
182
|
+
},
|
|
183
|
+
"url": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"description": "Optional public address where the custom sales channel lives."
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"required": [
|
|
189
|
+
"store_id",
|
|
190
|
+
"type",
|
|
191
|
+
"name"
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
"security": [
|
|
195
|
+
{
|
|
196
|
+
"apiToken": []
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"group": "ecommerce"
|
|
200
|
+
},
|
|
119
201
|
{
|
|
120
202
|
"name": "ecommerce_setStoreShippingV1",
|
|
121
203
|
"description": "Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.",
|