hostinger-api-mcp 1.2.0 → 1.3.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 +198 -4
- 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 +569 -1
- package/src/core/tools/all.ts +569 -1
- package/src/core/tools/ecommerce.js +62 -1
- package/src/core/tools/ecommerce.ts +62 -1
- 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 +407 -1
|
@@ -168,7 +168,7 @@ const tools: OpenApiTool[] = [
|
|
|
168
168
|
"group": "ecommerce"
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
|
-
"name": "
|
|
171
|
+
"name": "ecommerce_createCustomSalesChannelV1",
|
|
172
172
|
"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.",
|
|
173
173
|
"method": "POST",
|
|
174
174
|
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels",
|
|
@@ -208,6 +208,43 @@ const tools: OpenApiTool[] = [
|
|
|
208
208
|
],
|
|
209
209
|
"group": "ecommerce"
|
|
210
210
|
},
|
|
211
|
+
{
|
|
212
|
+
"name": "ecommerce_updateSalesChannelV1",
|
|
213
|
+
"description": "Update a custom sales channel. The merchant-facing `name` and the public `url`\n(returned as the channel `domain`) can be changed. Pass `null` to clear a value.",
|
|
214
|
+
"method": "PATCH",
|
|
215
|
+
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels/{sales_channel_id}",
|
|
216
|
+
"inputSchema": {
|
|
217
|
+
"type": "object",
|
|
218
|
+
"properties": {
|
|
219
|
+
"store_id": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"description": "The ID of the store that owns the sales channel."
|
|
222
|
+
},
|
|
223
|
+
"sales_channel_id": {
|
|
224
|
+
"type": "string",
|
|
225
|
+
"description": "The ID of the sales channel to update."
|
|
226
|
+
},
|
|
227
|
+
"name": {
|
|
228
|
+
"type": "string",
|
|
229
|
+
"description": "Merchant-facing custom name shown in the sales channels list. Pass null to clear it."
|
|
230
|
+
},
|
|
231
|
+
"url": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"description": "Public address where the custom sales channel lives. Pass null to clear it."
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"required": [
|
|
237
|
+
"store_id",
|
|
238
|
+
"sales_channel_id"
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
"security": [
|
|
242
|
+
{
|
|
243
|
+
"apiToken": []
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"group": "ecommerce"
|
|
247
|
+
},
|
|
211
248
|
{
|
|
212
249
|
"name": "ecommerce_setStoreShippingV1",
|
|
213
250
|
"description": "Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.",
|
|
@@ -337,6 +374,30 @@ const tools: OpenApiTool[] = [
|
|
|
337
374
|
}
|
|
338
375
|
],
|
|
339
376
|
"group": "ecommerce"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "ecommerce_getStoreMetadataV1",
|
|
380
|
+
"description": "Get a store's readiness metadata: whether payment methods and shipping are configured,\nplus its default currency. Useful to verify prerequisites before building a storefront.",
|
|
381
|
+
"method": "GET",
|
|
382
|
+
"path": "/api/ecommerce/v1/stores/{store_id}/metadata",
|
|
383
|
+
"inputSchema": {
|
|
384
|
+
"type": "object",
|
|
385
|
+
"properties": {
|
|
386
|
+
"store_id": {
|
|
387
|
+
"type": "string",
|
|
388
|
+
"description": "The ID of the store to read metadata for."
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
"required": [
|
|
392
|
+
"store_id"
|
|
393
|
+
]
|
|
394
|
+
},
|
|
395
|
+
"security": [
|
|
396
|
+
{
|
|
397
|
+
"apiToken": []
|
|
398
|
+
}
|
|
399
|
+
],
|
|
400
|
+
"group": "ecommerce"
|
|
340
401
|
}
|
|
341
402
|
];
|
|
342
403
|
export default tools;
|
|
@@ -1,5 +1,175 @@
|
|
|
1
1
|
// Auto-generated tool list for group: wordpress
|
|
2
2
|
export default [
|
|
3
|
+
{
|
|
4
|
+
"name": "hosting_showAIOptionStatusV1",
|
|
5
|
+
"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).",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/hostinger-plugins/ai-option/status",
|
|
8
|
+
"inputSchema": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"username": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "username parameter"
|
|
14
|
+
},
|
|
15
|
+
"software": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "WordPress installation (software) identifier"
|
|
18
|
+
},
|
|
19
|
+
"option": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "Filter the status by a single AI option.",
|
|
22
|
+
"enum": [
|
|
23
|
+
"llmstxt",
|
|
24
|
+
"web2agent"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required": [
|
|
29
|
+
"username",
|
|
30
|
+
"software"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"security": [
|
|
34
|
+
{
|
|
35
|
+
"apiToken": []
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"group": "wordpress"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "hosting_setAIOptionStatusV1",
|
|
42
|
+
"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).",
|
|
43
|
+
"method": "PATCH",
|
|
44
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/hostinger-plugins/ai-option/status",
|
|
45
|
+
"inputSchema": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"properties": {
|
|
48
|
+
"username": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"description": "username parameter"
|
|
51
|
+
},
|
|
52
|
+
"software": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "WordPress installation (software) identifier"
|
|
55
|
+
},
|
|
56
|
+
"option": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"description": "AI option name",
|
|
59
|
+
"enum": [
|
|
60
|
+
"llmstxt",
|
|
61
|
+
"web2agent"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"enable": {
|
|
65
|
+
"type": "boolean",
|
|
66
|
+
"description": "Enable (true) or disable (false) the AI option."
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"required": [
|
|
70
|
+
"username",
|
|
71
|
+
"software",
|
|
72
|
+
"option",
|
|
73
|
+
"enable"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"security": [
|
|
77
|
+
{
|
|
78
|
+
"apiToken": []
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"group": "wordpress"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "hosting_checkIfWordPressInstallationsAreValidV1",
|
|
85
|
+
"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).",
|
|
86
|
+
"method": "POST",
|
|
87
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/installations/check-is-valid",
|
|
88
|
+
"inputSchema": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"properties": {
|
|
91
|
+
"username": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"description": "username parameter"
|
|
94
|
+
},
|
|
95
|
+
"software_ids": {
|
|
96
|
+
"type": "array",
|
|
97
|
+
"description": "WordPress installation (software) identifiers to validate.",
|
|
98
|
+
"items": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "Software identifier"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"force": {
|
|
104
|
+
"type": "boolean",
|
|
105
|
+
"description": "Force fresh validation without cache. Preferable for troubleshooting purposes."
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"required": [
|
|
109
|
+
"username",
|
|
110
|
+
"software_ids"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
"security": [
|
|
114
|
+
{
|
|
115
|
+
"apiToken": []
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"group": "wordpress"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "hosting_deleteWordPressInstallationV1",
|
|
122
|
+
"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).",
|
|
123
|
+
"method": "DELETE",
|
|
124
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}",
|
|
125
|
+
"inputSchema": {
|
|
126
|
+
"type": "object",
|
|
127
|
+
"properties": {
|
|
128
|
+
"username": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"description": "username parameter"
|
|
131
|
+
},
|
|
132
|
+
"software": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "WordPress installation (software) identifier"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"required": [
|
|
138
|
+
"username",
|
|
139
|
+
"software"
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
"security": [
|
|
143
|
+
{
|
|
144
|
+
"apiToken": []
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"group": "wordpress"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "hosting_detectWordPressInstallationsV1",
|
|
151
|
+
"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.",
|
|
152
|
+
"method": "POST",
|
|
153
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/installations/detect",
|
|
154
|
+
"inputSchema": {
|
|
155
|
+
"type": "object",
|
|
156
|
+
"properties": {
|
|
157
|
+
"username": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"description": "username parameter"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"required": [
|
|
163
|
+
"username"
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
"security": [
|
|
167
|
+
{
|
|
168
|
+
"apiToken": []
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"group": "wordpress"
|
|
172
|
+
},
|
|
3
173
|
{
|
|
4
174
|
"name": "hosting_installWordPressV1",
|
|
5
175
|
"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.",
|
|
@@ -132,6 +302,343 @@ export default [
|
|
|
132
302
|
],
|
|
133
303
|
"group": "wordpress"
|
|
134
304
|
},
|
|
305
|
+
{
|
|
306
|
+
"name": "hosting_listAvailableWordPressCoreUpdatesV1",
|
|
307
|
+
"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).",
|
|
308
|
+
"method": "GET",
|
|
309
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/updates",
|
|
310
|
+
"inputSchema": {
|
|
311
|
+
"type": "object",
|
|
312
|
+
"properties": {
|
|
313
|
+
"username": {
|
|
314
|
+
"type": "string",
|
|
315
|
+
"description": "username parameter"
|
|
316
|
+
},
|
|
317
|
+
"software": {
|
|
318
|
+
"type": "string",
|
|
319
|
+
"description": "WordPress installation (software) identifier"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"required": [
|
|
323
|
+
"username",
|
|
324
|
+
"software"
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
"security": [
|
|
328
|
+
{
|
|
329
|
+
"apiToken": []
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"group": "wordpress"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"name": "hosting_getInstallationJWTTokenV1",
|
|
336
|
+
"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).",
|
|
337
|
+
"method": "GET",
|
|
338
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/jwt-token",
|
|
339
|
+
"inputSchema": {
|
|
340
|
+
"type": "object",
|
|
341
|
+
"properties": {
|
|
342
|
+
"username": {
|
|
343
|
+
"type": "string",
|
|
344
|
+
"description": "username parameter"
|
|
345
|
+
},
|
|
346
|
+
"software": {
|
|
347
|
+
"type": "string",
|
|
348
|
+
"description": "WordPress installation (software) identifier"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"required": [
|
|
352
|
+
"username",
|
|
353
|
+
"software"
|
|
354
|
+
]
|
|
355
|
+
},
|
|
356
|
+
"security": [
|
|
357
|
+
{
|
|
358
|
+
"apiToken": []
|
|
359
|
+
}
|
|
360
|
+
],
|
|
361
|
+
"group": "wordpress"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "hosting_showWordPressCoreVersionV1",
|
|
365
|
+
"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).",
|
|
366
|
+
"method": "GET",
|
|
367
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/version",
|
|
368
|
+
"inputSchema": {
|
|
369
|
+
"type": "object",
|
|
370
|
+
"properties": {
|
|
371
|
+
"username": {
|
|
372
|
+
"type": "string",
|
|
373
|
+
"description": "username parameter"
|
|
374
|
+
},
|
|
375
|
+
"software": {
|
|
376
|
+
"type": "string",
|
|
377
|
+
"description": "WordPress installation (software) identifier"
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
"required": [
|
|
381
|
+
"username",
|
|
382
|
+
"software"
|
|
383
|
+
]
|
|
384
|
+
},
|
|
385
|
+
"security": [
|
|
386
|
+
{
|
|
387
|
+
"apiToken": []
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
"group": "wordpress"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "hosting_updateWordPressCoreV1",
|
|
394
|
+
"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.",
|
|
395
|
+
"method": "POST",
|
|
396
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/update",
|
|
397
|
+
"inputSchema": {
|
|
398
|
+
"type": "object",
|
|
399
|
+
"properties": {
|
|
400
|
+
"username": {
|
|
401
|
+
"type": "string",
|
|
402
|
+
"description": "username parameter"
|
|
403
|
+
},
|
|
404
|
+
"software": {
|
|
405
|
+
"type": "string",
|
|
406
|
+
"description": "WordPress installation (software) identifier"
|
|
407
|
+
},
|
|
408
|
+
"minor": {
|
|
409
|
+
"type": "boolean",
|
|
410
|
+
"description": "Update the minor version only."
|
|
411
|
+
},
|
|
412
|
+
"version": {
|
|
413
|
+
"type": "string",
|
|
414
|
+
"description": "Update to a specific WordPress core version."
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"required": [
|
|
418
|
+
"username",
|
|
419
|
+
"software"
|
|
420
|
+
]
|
|
421
|
+
},
|
|
422
|
+
"security": [
|
|
423
|
+
{
|
|
424
|
+
"apiToken": []
|
|
425
|
+
}
|
|
426
|
+
],
|
|
427
|
+
"group": "wordpress"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"name": "hosting_purgeLiteSpeedCacheV1",
|
|
431
|
+
"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).",
|
|
432
|
+
"method": "POST",
|
|
433
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/litespeed-cache/purge",
|
|
434
|
+
"inputSchema": {
|
|
435
|
+
"type": "object",
|
|
436
|
+
"properties": {
|
|
437
|
+
"username": {
|
|
438
|
+
"type": "string",
|
|
439
|
+
"description": "username parameter"
|
|
440
|
+
},
|
|
441
|
+
"software": {
|
|
442
|
+
"type": "string",
|
|
443
|
+
"description": "WordPress installation (software) identifier"
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
"required": [
|
|
447
|
+
"username",
|
|
448
|
+
"software"
|
|
449
|
+
]
|
|
450
|
+
},
|
|
451
|
+
"security": [
|
|
452
|
+
{
|
|
453
|
+
"apiToken": []
|
|
454
|
+
}
|
|
455
|
+
],
|
|
456
|
+
"group": "wordpress"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "hosting_showLiteSpeedCacheStatusV1",
|
|
460
|
+
"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).",
|
|
461
|
+
"method": "GET",
|
|
462
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/litespeed-cache/status",
|
|
463
|
+
"inputSchema": {
|
|
464
|
+
"type": "object",
|
|
465
|
+
"properties": {
|
|
466
|
+
"username": {
|
|
467
|
+
"type": "string",
|
|
468
|
+
"description": "username parameter"
|
|
469
|
+
},
|
|
470
|
+
"software": {
|
|
471
|
+
"type": "string",
|
|
472
|
+
"description": "WordPress installation (software) identifier"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
"required": [
|
|
476
|
+
"username",
|
|
477
|
+
"software"
|
|
478
|
+
]
|
|
479
|
+
},
|
|
480
|
+
"security": [
|
|
481
|
+
{
|
|
482
|
+
"apiToken": []
|
|
483
|
+
}
|
|
484
|
+
],
|
|
485
|
+
"group": "wordpress"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"name": "hosting_createLoginLinksV1",
|
|
489
|
+
"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).",
|
|
490
|
+
"method": "POST",
|
|
491
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/login/links",
|
|
492
|
+
"inputSchema": {
|
|
493
|
+
"type": "object",
|
|
494
|
+
"properties": {
|
|
495
|
+
"username": {
|
|
496
|
+
"type": "string",
|
|
497
|
+
"description": "username parameter"
|
|
498
|
+
},
|
|
499
|
+
"software": {
|
|
500
|
+
"type": "string",
|
|
501
|
+
"description": "WordPress installation (software) identifier"
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
"required": [
|
|
505
|
+
"username",
|
|
506
|
+
"software"
|
|
507
|
+
]
|
|
508
|
+
},
|
|
509
|
+
"security": [
|
|
510
|
+
{
|
|
511
|
+
"apiToken": []
|
|
512
|
+
}
|
|
513
|
+
],
|
|
514
|
+
"group": "wordpress"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "hosting_showMaintenanceStatusV1",
|
|
518
|
+
"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).",
|
|
519
|
+
"method": "GET",
|
|
520
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/maintenance/status",
|
|
521
|
+
"inputSchema": {
|
|
522
|
+
"type": "object",
|
|
523
|
+
"properties": {
|
|
524
|
+
"username": {
|
|
525
|
+
"type": "string",
|
|
526
|
+
"description": "username parameter"
|
|
527
|
+
},
|
|
528
|
+
"software": {
|
|
529
|
+
"type": "string",
|
|
530
|
+
"description": "WordPress installation (software) identifier"
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
"required": [
|
|
534
|
+
"username",
|
|
535
|
+
"software"
|
|
536
|
+
]
|
|
537
|
+
},
|
|
538
|
+
"security": [
|
|
539
|
+
{
|
|
540
|
+
"apiToken": []
|
|
541
|
+
}
|
|
542
|
+
],
|
|
543
|
+
"group": "wordpress"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"name": "hosting_toggleMaintenanceModeV1",
|
|
547
|
+
"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).",
|
|
548
|
+
"method": "PATCH",
|
|
549
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/maintenance/toggle",
|
|
550
|
+
"inputSchema": {
|
|
551
|
+
"type": "object",
|
|
552
|
+
"properties": {
|
|
553
|
+
"username": {
|
|
554
|
+
"type": "string",
|
|
555
|
+
"description": "username parameter"
|
|
556
|
+
},
|
|
557
|
+
"software": {
|
|
558
|
+
"type": "string",
|
|
559
|
+
"description": "WordPress installation (software) identifier"
|
|
560
|
+
},
|
|
561
|
+
"enabled": {
|
|
562
|
+
"type": "boolean",
|
|
563
|
+
"description": "Enable (true) or disable (false) maintenance mode for the WordPress installation."
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
"required": [
|
|
567
|
+
"username",
|
|
568
|
+
"software",
|
|
569
|
+
"enabled"
|
|
570
|
+
]
|
|
571
|
+
},
|
|
572
|
+
"security": [
|
|
573
|
+
{
|
|
574
|
+
"apiToken": []
|
|
575
|
+
}
|
|
576
|
+
],
|
|
577
|
+
"group": "wordpress"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"name": "hosting_showMemcachedObjectCacheStatusV1",
|
|
581
|
+
"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).",
|
|
582
|
+
"method": "GET",
|
|
583
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/memcached/status",
|
|
584
|
+
"inputSchema": {
|
|
585
|
+
"type": "object",
|
|
586
|
+
"properties": {
|
|
587
|
+
"username": {
|
|
588
|
+
"type": "string",
|
|
589
|
+
"description": "username parameter"
|
|
590
|
+
},
|
|
591
|
+
"software": {
|
|
592
|
+
"type": "string",
|
|
593
|
+
"description": "WordPress installation (software) identifier"
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
"required": [
|
|
597
|
+
"username",
|
|
598
|
+
"software"
|
|
599
|
+
]
|
|
600
|
+
},
|
|
601
|
+
"security": [
|
|
602
|
+
{
|
|
603
|
+
"apiToken": []
|
|
604
|
+
}
|
|
605
|
+
],
|
|
606
|
+
"group": "wordpress"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"name": "hosting_toggleMemcachedObjectCacheV1",
|
|
610
|
+
"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).",
|
|
611
|
+
"method": "PATCH",
|
|
612
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/memcached/toggle",
|
|
613
|
+
"inputSchema": {
|
|
614
|
+
"type": "object",
|
|
615
|
+
"properties": {
|
|
616
|
+
"username": {
|
|
617
|
+
"type": "string",
|
|
618
|
+
"description": "username parameter"
|
|
619
|
+
},
|
|
620
|
+
"software": {
|
|
621
|
+
"type": "string",
|
|
622
|
+
"description": "WordPress installation (software) identifier"
|
|
623
|
+
},
|
|
624
|
+
"enabled": {
|
|
625
|
+
"type": "boolean",
|
|
626
|
+
"description": "Activate (true) or deactivate (false) the Memcached object cache for the WordPress installation."
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
"required": [
|
|
630
|
+
"username",
|
|
631
|
+
"software",
|
|
632
|
+
"enabled"
|
|
633
|
+
]
|
|
634
|
+
},
|
|
635
|
+
"security": [
|
|
636
|
+
{
|
|
637
|
+
"apiToken": []
|
|
638
|
+
}
|
|
639
|
+
],
|
|
640
|
+
"group": "wordpress"
|
|
641
|
+
},
|
|
135
642
|
{
|
|
136
643
|
"name": "hosting_activateWordPressPluginV1",
|
|
137
644
|
"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.",
|