@hostinger/mcp 1.52.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/.env.example +14 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +36 -0
- package/.github/workflows/build-release.yaml +163 -0
- package/CODEOWNERS +1 -0
- package/Dockerfile +15 -0
- package/LICENSE +21 -0
- package/README.md +4343 -0
- package/build.js +60 -0
- package/gemini-extension.json +25 -0
- package/glama.json +7 -0
- package/package.json +59 -0
- package/server.json +29 -0
- package/skills/headless/SKILL.md +55 -0
- package/skills/headless/entry/bootstrap.mjs +109 -0
- package/skills/headless/entry/skill.md +79 -0
- package/skills/headless/references/DEPLOYMENT.md +34 -0
- package/skills/headless/references/SETUP.md +34 -0
- package/skills/headless/references/STORE.md +52 -0
- package/skills/headless/references/WORDPRESS.md +51 -0
- package/src/core/oauth-error.html +90 -0
- package/src/core/oauth-success.html +77 -0
- package/src/core/oauth.js +406 -0
- package/src/core/oauth.ts +374 -0
- package/src/core/runtime.js +2673 -0
- package/src/core/runtime.ts +2724 -0
- package/src/core/tools/agency-hosting.js +1535 -0
- package/src/core/tools/agency-hosting.ts +1550 -0
- package/src/core/tools/all.js +15361 -0
- package/src/core/tools/all.ts +15376 -0
- package/src/core/tools/billing.js +310 -0
- package/src/core/tools/billing.ts +325 -0
- package/src/core/tools/dns.js +393 -0
- package/src/core/tools/dns.ts +408 -0
- package/src/core/tools/domains.js +1435 -0
- package/src/core/tools/domains.ts +1450 -0
- package/src/core/tools/ecommerce.js +1426 -0
- package/src/core/tools/ecommerce.ts +1441 -0
- package/src/core/tools/horizons.js +84 -0
- package/src/core/tools/horizons.ts +99 -0
- package/src/core/tools/hosting.js +2479 -0
- package/src/core/tools/hosting.ts +2494 -0
- package/src/core/tools/mail.js +1641 -0
- package/src/core/tools/mail.ts +1656 -0
- package/src/core/tools/reach.js +2270 -0
- package/src/core/tools/reach.ts +2285 -0
- package/src/core/tools/vps.js +2248 -0
- package/src/core/tools/vps.ts +2263 -0
- package/src/core/tools/wordpress.js +1570 -0
- package/src/core/tools/wordpress.ts +1585 -0
- package/src/servers/agency-hosting.js +6 -0
- package/src/servers/agency-hosting.ts +6 -0
- package/src/servers/all.js +6 -0
- package/src/servers/all.ts +6 -0
- package/src/servers/billing.js +6 -0
- package/src/servers/billing.ts +6 -0
- package/src/servers/dns.js +6 -0
- package/src/servers/dns.ts +6 -0
- package/src/servers/domains.js +6 -0
- package/src/servers/domains.ts +6 -0
- package/src/servers/ecommerce.js +6 -0
- package/src/servers/ecommerce.ts +6 -0
- package/src/servers/horizons.js +6 -0
- package/src/servers/horizons.ts +6 -0
- package/src/servers/hosting.js +6 -0
- package/src/servers/hosting.ts +6 -0
- package/src/servers/mail.js +6 -0
- package/src/servers/mail.ts +6 -0
- package/src/servers/reach.js +6 -0
- package/src/servers/reach.ts +6 -0
- package/src/servers/vps.js +6 -0
- package/src/servers/vps.ts +6 -0
- package/src/servers/wordpress.js +6 -0
- package/src/servers/wordpress.ts +6 -0
- package/tsconfig.json +15 -0
- package/types.d.ts +8836 -0
|
@@ -0,0 +1,1585 @@
|
|
|
1
|
+
// Auto-generated tool list for group: wordpress
|
|
2
|
+
import type { Tool } from "@modelcontextprotocol/sdk/types.js";
|
|
3
|
+
|
|
4
|
+
export interface OpenApiTool extends Tool {
|
|
5
|
+
method: string;
|
|
6
|
+
path: string;
|
|
7
|
+
security: unknown[];
|
|
8
|
+
custom?: boolean;
|
|
9
|
+
group?: string;
|
|
10
|
+
topic?: string;
|
|
11
|
+
handlerMethod?: string;
|
|
12
|
+
templateFile?: string;
|
|
13
|
+
templateFileTS?: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const tools: OpenApiTool[] = [
|
|
17
|
+
{
|
|
18
|
+
"name": "hosting_showAIOptionStatusV1",
|
|
19
|
+
"title": "Show AI option status",
|
|
20
|
+
"annotations": {
|
|
21
|
+
"title": "Show AI option status",
|
|
22
|
+
"readOnlyHint": true,
|
|
23
|
+
"destructiveHint": false
|
|
24
|
+
},
|
|
25
|
+
"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).",
|
|
26
|
+
"method": "GET",
|
|
27
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/hostinger-plugins/ai-option/status",
|
|
28
|
+
"inputSchema": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"properties": {
|
|
31
|
+
"username": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "username parameter"
|
|
34
|
+
},
|
|
35
|
+
"software": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "WordPress installation (software) identifier"
|
|
38
|
+
},
|
|
39
|
+
"option": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "Filter the status by a single AI option.",
|
|
42
|
+
"enum": [
|
|
43
|
+
"llmstxt",
|
|
44
|
+
"web2agent"
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required": [
|
|
49
|
+
"username",
|
|
50
|
+
"software"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"security": [
|
|
54
|
+
{
|
|
55
|
+
"apiToken": []
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"group": "wordpress"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "hosting_setAIOptionStatusV1",
|
|
62
|
+
"title": "Set AI option status",
|
|
63
|
+
"annotations": {
|
|
64
|
+
"title": "Set AI option status",
|
|
65
|
+
"readOnlyHint": false,
|
|
66
|
+
"destructiveHint": true,
|
|
67
|
+
"idempotentHint": true
|
|
68
|
+
},
|
|
69
|
+
"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).",
|
|
70
|
+
"method": "PATCH",
|
|
71
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/hostinger-plugins/ai-option/status",
|
|
72
|
+
"inputSchema": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"properties": {
|
|
75
|
+
"username": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"description": "username parameter"
|
|
78
|
+
},
|
|
79
|
+
"software": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"description": "WordPress installation (software) identifier"
|
|
82
|
+
},
|
|
83
|
+
"option": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"description": "AI option name",
|
|
86
|
+
"enum": [
|
|
87
|
+
"llmstxt",
|
|
88
|
+
"web2agent"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
"enable": {
|
|
92
|
+
"type": "boolean",
|
|
93
|
+
"description": "Enable (true) or disable (false) the AI option."
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"required": [
|
|
97
|
+
"username",
|
|
98
|
+
"software",
|
|
99
|
+
"option",
|
|
100
|
+
"enable"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
"security": [
|
|
104
|
+
{
|
|
105
|
+
"apiToken": []
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"group": "wordpress"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "hosting_checkIfWordPressInstallationsAreValidV1",
|
|
112
|
+
"title": "Check if WordPress installations are valid",
|
|
113
|
+
"annotations": {
|
|
114
|
+
"title": "Check if WordPress installations are valid",
|
|
115
|
+
"readOnlyHint": true,
|
|
116
|
+
"destructiveHint": false
|
|
117
|
+
},
|
|
118
|
+
"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).",
|
|
119
|
+
"method": "POST",
|
|
120
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/installations/check-is-valid",
|
|
121
|
+
"inputSchema": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"properties": {
|
|
124
|
+
"username": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"description": "username parameter"
|
|
127
|
+
},
|
|
128
|
+
"software_ids": {
|
|
129
|
+
"type": "array",
|
|
130
|
+
"description": "WordPress installation (software) identifiers to validate.",
|
|
131
|
+
"items": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"description": "Software identifier"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"force": {
|
|
137
|
+
"type": "boolean",
|
|
138
|
+
"description": "Force fresh validation without cache. Preferable for troubleshooting purposes."
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"required": [
|
|
142
|
+
"username",
|
|
143
|
+
"software_ids"
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
"security": [
|
|
147
|
+
{
|
|
148
|
+
"apiToken": []
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
"group": "wordpress"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "hosting_deleteWordPressInstallationV1",
|
|
155
|
+
"title": "Delete WordPress installation",
|
|
156
|
+
"annotations": {
|
|
157
|
+
"title": "Delete WordPress installation",
|
|
158
|
+
"readOnlyHint": false,
|
|
159
|
+
"destructiveHint": true,
|
|
160
|
+
"idempotentHint": true
|
|
161
|
+
},
|
|
162
|
+
"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).",
|
|
163
|
+
"method": "DELETE",
|
|
164
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}",
|
|
165
|
+
"inputSchema": {
|
|
166
|
+
"type": "object",
|
|
167
|
+
"properties": {
|
|
168
|
+
"username": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"description": "username parameter"
|
|
171
|
+
},
|
|
172
|
+
"software": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"description": "WordPress installation (software) identifier"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"required": [
|
|
178
|
+
"username",
|
|
179
|
+
"software"
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
"security": [
|
|
183
|
+
{
|
|
184
|
+
"apiToken": []
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"group": "wordpress"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "hosting_detectWordPressInstallationsV1",
|
|
191
|
+
"title": "Detect WordPress installations",
|
|
192
|
+
"annotations": {
|
|
193
|
+
"title": "Detect WordPress installations",
|
|
194
|
+
"readOnlyHint": false,
|
|
195
|
+
"destructiveHint": false
|
|
196
|
+
},
|
|
197
|
+
"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.",
|
|
198
|
+
"method": "POST",
|
|
199
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/installations/detect",
|
|
200
|
+
"inputSchema": {
|
|
201
|
+
"type": "object",
|
|
202
|
+
"properties": {
|
|
203
|
+
"username": {
|
|
204
|
+
"type": "string",
|
|
205
|
+
"description": "username parameter"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"required": [
|
|
209
|
+
"username"
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
"security": [
|
|
213
|
+
{
|
|
214
|
+
"apiToken": []
|
|
215
|
+
}
|
|
216
|
+
],
|
|
217
|
+
"group": "wordpress"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "hosting_importWordPressWebsiteV1",
|
|
221
|
+
"title": "Import WordPress website",
|
|
222
|
+
"annotations": {
|
|
223
|
+
"title": "Import WordPress website",
|
|
224
|
+
"readOnlyHint": false,
|
|
225
|
+
"destructiveHint": true
|
|
226
|
+
},
|
|
227
|
+
"description": "Import WordPress website to the specified domain.\n\nWARNING: this overwrites the website's existing contents and cannot be undone —\nverify this is intended before calling this endpoint.\n\nThis endpoint allows you to import a WordPress website from archive and\ndatabase files that have been uploaded to the website's directory.",
|
|
228
|
+
"method": "POST",
|
|
229
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/wordpress/import",
|
|
230
|
+
"inputSchema": {
|
|
231
|
+
"type": "object",
|
|
232
|
+
"properties": {
|
|
233
|
+
"username": {
|
|
234
|
+
"type": "string",
|
|
235
|
+
"description": "username parameter"
|
|
236
|
+
},
|
|
237
|
+
"domain": {
|
|
238
|
+
"type": "string",
|
|
239
|
+
"description": "Domain name"
|
|
240
|
+
},
|
|
241
|
+
"archive_path": {
|
|
242
|
+
"type": "string",
|
|
243
|
+
"description": "Path to the WordPress archive file (relative to website root)"
|
|
244
|
+
},
|
|
245
|
+
"sql_path": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"description": "Path to the database SQL file (relative to website root)"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"required": [
|
|
251
|
+
"username",
|
|
252
|
+
"domain",
|
|
253
|
+
"archive_path",
|
|
254
|
+
"sql_path"
|
|
255
|
+
]
|
|
256
|
+
},
|
|
257
|
+
"security": [
|
|
258
|
+
{
|
|
259
|
+
"apiToken": []
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"group": "wordpress"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "hosting_installWordPressV1",
|
|
266
|
+
"title": "Install WordPress",
|
|
267
|
+
"annotations": {
|
|
268
|
+
"title": "Install WordPress",
|
|
269
|
+
"readOnlyHint": false,
|
|
270
|
+
"destructiveHint": false
|
|
271
|
+
},
|
|
272
|
+
"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.",
|
|
273
|
+
"method": "POST",
|
|
274
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/installations",
|
|
275
|
+
"inputSchema": {
|
|
276
|
+
"type": "object",
|
|
277
|
+
"properties": {
|
|
278
|
+
"username": {
|
|
279
|
+
"type": "string",
|
|
280
|
+
"description": "username parameter"
|
|
281
|
+
},
|
|
282
|
+
"domain": {
|
|
283
|
+
"type": "string",
|
|
284
|
+
"description": "Domain of the existing website where WordPress will be installed"
|
|
285
|
+
},
|
|
286
|
+
"site_title": {
|
|
287
|
+
"type": "string",
|
|
288
|
+
"description": "Title of the WordPress site"
|
|
289
|
+
},
|
|
290
|
+
"language": {
|
|
291
|
+
"type": "string",
|
|
292
|
+
"description": "WordPress locale. Defaults to en_US when omitted."
|
|
293
|
+
},
|
|
294
|
+
"directory": {
|
|
295
|
+
"type": "string",
|
|
296
|
+
"description": "Relative directory to install WordPress into. Defaults to the website root when omitted."
|
|
297
|
+
},
|
|
298
|
+
"overwrite": {
|
|
299
|
+
"type": "boolean",
|
|
300
|
+
"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."
|
|
301
|
+
},
|
|
302
|
+
"auto_updates": {
|
|
303
|
+
"type": "string",
|
|
304
|
+
"description": "WordPress core auto-update policy",
|
|
305
|
+
"enum": [
|
|
306
|
+
"all",
|
|
307
|
+
"none",
|
|
308
|
+
"minor"
|
|
309
|
+
]
|
|
310
|
+
},
|
|
311
|
+
"version": {
|
|
312
|
+
"type": "string",
|
|
313
|
+
"description": "WordPress core version to install. If omitted, the latest core version compatible with the account vhost PHP version is selected."
|
|
314
|
+
},
|
|
315
|
+
"credentials": {
|
|
316
|
+
"type": "object",
|
|
317
|
+
"description": "WordPress admin credentials",
|
|
318
|
+
"properties": {
|
|
319
|
+
"email": {
|
|
320
|
+
"type": "string",
|
|
321
|
+
"description": "email parameter"
|
|
322
|
+
},
|
|
323
|
+
"login": {
|
|
324
|
+
"type": "string",
|
|
325
|
+
"description": "WordPress admin username"
|
|
326
|
+
},
|
|
327
|
+
"password": {
|
|
328
|
+
"type": "string",
|
|
329
|
+
"description": "password parameter"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"required": [
|
|
333
|
+
"email",
|
|
334
|
+
"login",
|
|
335
|
+
"password"
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
"database": {
|
|
339
|
+
"type": "object",
|
|
340
|
+
"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.",
|
|
341
|
+
"properties": {
|
|
342
|
+
"name": {
|
|
343
|
+
"type": "string",
|
|
344
|
+
"description": "Database name (username prefix added if missing)"
|
|
345
|
+
},
|
|
346
|
+
"password": {
|
|
347
|
+
"type": "string",
|
|
348
|
+
"description": "password parameter"
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"required": [
|
|
354
|
+
"username",
|
|
355
|
+
"domain",
|
|
356
|
+
"site_title",
|
|
357
|
+
"credentials"
|
|
358
|
+
]
|
|
359
|
+
},
|
|
360
|
+
"security": [
|
|
361
|
+
{
|
|
362
|
+
"apiToken": []
|
|
363
|
+
}
|
|
364
|
+
],
|
|
365
|
+
"group": "wordpress"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"name": "hosting_listWordPressInstallationsV1",
|
|
369
|
+
"title": "List WordPress installations",
|
|
370
|
+
"annotations": {
|
|
371
|
+
"title": "List WordPress installations",
|
|
372
|
+
"readOnlyHint": true,
|
|
373
|
+
"destructiveHint": false
|
|
374
|
+
},
|
|
375
|
+
"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.",
|
|
376
|
+
"method": "GET",
|
|
377
|
+
"path": "/api/hosting/v1/wordpress/installations",
|
|
378
|
+
"inputSchema": {
|
|
379
|
+
"type": "object",
|
|
380
|
+
"properties": {
|
|
381
|
+
"username": {
|
|
382
|
+
"type": "string",
|
|
383
|
+
"description": "Filter by specific username"
|
|
384
|
+
},
|
|
385
|
+
"domain": {
|
|
386
|
+
"type": "string",
|
|
387
|
+
"description": "Filter by domain name (case-insensitive substring match)"
|
|
388
|
+
},
|
|
389
|
+
"ownership": {
|
|
390
|
+
"type": "string",
|
|
391
|
+
"description": "Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.",
|
|
392
|
+
"enum": [
|
|
393
|
+
"owned",
|
|
394
|
+
"managed",
|
|
395
|
+
"all"
|
|
396
|
+
]
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"required": []
|
|
400
|
+
},
|
|
401
|
+
"security": [
|
|
402
|
+
{
|
|
403
|
+
"apiToken": []
|
|
404
|
+
}
|
|
405
|
+
],
|
|
406
|
+
"group": "wordpress"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"name": "hosting_listAvailableWordPressCoreUpdatesV1",
|
|
410
|
+
"title": "List available WordPress core updates",
|
|
411
|
+
"annotations": {
|
|
412
|
+
"title": "List available WordPress core updates",
|
|
413
|
+
"readOnlyHint": true,
|
|
414
|
+
"destructiveHint": false
|
|
415
|
+
},
|
|
416
|
+
"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).",
|
|
417
|
+
"method": "GET",
|
|
418
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/updates",
|
|
419
|
+
"inputSchema": {
|
|
420
|
+
"type": "object",
|
|
421
|
+
"properties": {
|
|
422
|
+
"username": {
|
|
423
|
+
"type": "string",
|
|
424
|
+
"description": "username parameter"
|
|
425
|
+
},
|
|
426
|
+
"software": {
|
|
427
|
+
"type": "string",
|
|
428
|
+
"description": "WordPress installation (software) identifier"
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"required": [
|
|
432
|
+
"username",
|
|
433
|
+
"software"
|
|
434
|
+
]
|
|
435
|
+
},
|
|
436
|
+
"security": [
|
|
437
|
+
{
|
|
438
|
+
"apiToken": []
|
|
439
|
+
}
|
|
440
|
+
],
|
|
441
|
+
"group": "wordpress"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "hosting_getInstallationJWTTokenV1",
|
|
445
|
+
"title": "Get installation JWT token",
|
|
446
|
+
"annotations": {
|
|
447
|
+
"title": "Get installation JWT token",
|
|
448
|
+
"readOnlyHint": true,
|
|
449
|
+
"destructiveHint": false
|
|
450
|
+
},
|
|
451
|
+
"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).",
|
|
452
|
+
"method": "GET",
|
|
453
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/jwt-token",
|
|
454
|
+
"inputSchema": {
|
|
455
|
+
"type": "object",
|
|
456
|
+
"properties": {
|
|
457
|
+
"username": {
|
|
458
|
+
"type": "string",
|
|
459
|
+
"description": "username parameter"
|
|
460
|
+
},
|
|
461
|
+
"software": {
|
|
462
|
+
"type": "string",
|
|
463
|
+
"description": "WordPress installation (software) identifier"
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"required": [
|
|
467
|
+
"username",
|
|
468
|
+
"software"
|
|
469
|
+
]
|
|
470
|
+
},
|
|
471
|
+
"security": [
|
|
472
|
+
{
|
|
473
|
+
"apiToken": []
|
|
474
|
+
}
|
|
475
|
+
],
|
|
476
|
+
"group": "wordpress"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"name": "hosting_showWordPressCoreVersionV1",
|
|
480
|
+
"title": "Show WordPress core version",
|
|
481
|
+
"annotations": {
|
|
482
|
+
"title": "Show WordPress core version",
|
|
483
|
+
"readOnlyHint": true,
|
|
484
|
+
"destructiveHint": false
|
|
485
|
+
},
|
|
486
|
+
"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).",
|
|
487
|
+
"method": "GET",
|
|
488
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/version",
|
|
489
|
+
"inputSchema": {
|
|
490
|
+
"type": "object",
|
|
491
|
+
"properties": {
|
|
492
|
+
"username": {
|
|
493
|
+
"type": "string",
|
|
494
|
+
"description": "username parameter"
|
|
495
|
+
},
|
|
496
|
+
"software": {
|
|
497
|
+
"type": "string",
|
|
498
|
+
"description": "WordPress installation (software) identifier"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"required": [
|
|
502
|
+
"username",
|
|
503
|
+
"software"
|
|
504
|
+
]
|
|
505
|
+
},
|
|
506
|
+
"security": [
|
|
507
|
+
{
|
|
508
|
+
"apiToken": []
|
|
509
|
+
}
|
|
510
|
+
],
|
|
511
|
+
"group": "wordpress"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"name": "hosting_updateWordPressCoreV1",
|
|
515
|
+
"title": "Update WordPress core",
|
|
516
|
+
"annotations": {
|
|
517
|
+
"title": "Update WordPress core",
|
|
518
|
+
"readOnlyHint": false,
|
|
519
|
+
"destructiveHint": false
|
|
520
|
+
},
|
|
521
|
+
"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.",
|
|
522
|
+
"method": "POST",
|
|
523
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/update",
|
|
524
|
+
"inputSchema": {
|
|
525
|
+
"type": "object",
|
|
526
|
+
"properties": {
|
|
527
|
+
"username": {
|
|
528
|
+
"type": "string",
|
|
529
|
+
"description": "username parameter"
|
|
530
|
+
},
|
|
531
|
+
"software": {
|
|
532
|
+
"type": "string",
|
|
533
|
+
"description": "WordPress installation (software) identifier"
|
|
534
|
+
},
|
|
535
|
+
"minor": {
|
|
536
|
+
"type": "boolean",
|
|
537
|
+
"description": "Update the minor version only."
|
|
538
|
+
},
|
|
539
|
+
"version": {
|
|
540
|
+
"type": "string",
|
|
541
|
+
"description": "Update to a specific WordPress core version."
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
"required": [
|
|
545
|
+
"username",
|
|
546
|
+
"software"
|
|
547
|
+
]
|
|
548
|
+
},
|
|
549
|
+
"security": [
|
|
550
|
+
{
|
|
551
|
+
"apiToken": []
|
|
552
|
+
}
|
|
553
|
+
],
|
|
554
|
+
"group": "wordpress"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"name": "hosting_purgeLiteSpeedCacheV1",
|
|
558
|
+
"title": "Purge LiteSpeed Cache",
|
|
559
|
+
"annotations": {
|
|
560
|
+
"title": "Purge LiteSpeed Cache",
|
|
561
|
+
"readOnlyHint": false,
|
|
562
|
+
"destructiveHint": true
|
|
563
|
+
},
|
|
564
|
+
"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).",
|
|
565
|
+
"method": "POST",
|
|
566
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/litespeed-cache/purge",
|
|
567
|
+
"inputSchema": {
|
|
568
|
+
"type": "object",
|
|
569
|
+
"properties": {
|
|
570
|
+
"username": {
|
|
571
|
+
"type": "string",
|
|
572
|
+
"description": "username parameter"
|
|
573
|
+
},
|
|
574
|
+
"software": {
|
|
575
|
+
"type": "string",
|
|
576
|
+
"description": "WordPress installation (software) identifier"
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
"required": [
|
|
580
|
+
"username",
|
|
581
|
+
"software"
|
|
582
|
+
]
|
|
583
|
+
},
|
|
584
|
+
"security": [
|
|
585
|
+
{
|
|
586
|
+
"apiToken": []
|
|
587
|
+
}
|
|
588
|
+
],
|
|
589
|
+
"group": "wordpress"
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"name": "hosting_showLiteSpeedCacheStatusV1",
|
|
593
|
+
"title": "Show LiteSpeed Cache status",
|
|
594
|
+
"annotations": {
|
|
595
|
+
"title": "Show LiteSpeed Cache status",
|
|
596
|
+
"readOnlyHint": true,
|
|
597
|
+
"destructiveHint": false
|
|
598
|
+
},
|
|
599
|
+
"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).",
|
|
600
|
+
"method": "GET",
|
|
601
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/litespeed-cache/status",
|
|
602
|
+
"inputSchema": {
|
|
603
|
+
"type": "object",
|
|
604
|
+
"properties": {
|
|
605
|
+
"username": {
|
|
606
|
+
"type": "string",
|
|
607
|
+
"description": "username parameter"
|
|
608
|
+
},
|
|
609
|
+
"software": {
|
|
610
|
+
"type": "string",
|
|
611
|
+
"description": "WordPress installation (software) identifier"
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
"required": [
|
|
615
|
+
"username",
|
|
616
|
+
"software"
|
|
617
|
+
]
|
|
618
|
+
},
|
|
619
|
+
"security": [
|
|
620
|
+
{
|
|
621
|
+
"apiToken": []
|
|
622
|
+
}
|
|
623
|
+
],
|
|
624
|
+
"group": "wordpress"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"name": "hosting_createLoginLinksV1",
|
|
628
|
+
"title": "Create login links",
|
|
629
|
+
"annotations": {
|
|
630
|
+
"title": "Create login links",
|
|
631
|
+
"readOnlyHint": false,
|
|
632
|
+
"destructiveHint": false
|
|
633
|
+
},
|
|
634
|
+
"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).",
|
|
635
|
+
"method": "POST",
|
|
636
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/login/links",
|
|
637
|
+
"inputSchema": {
|
|
638
|
+
"type": "object",
|
|
639
|
+
"properties": {
|
|
640
|
+
"username": {
|
|
641
|
+
"type": "string",
|
|
642
|
+
"description": "username parameter"
|
|
643
|
+
},
|
|
644
|
+
"software": {
|
|
645
|
+
"type": "string",
|
|
646
|
+
"description": "WordPress installation (software) identifier"
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
"required": [
|
|
650
|
+
"username",
|
|
651
|
+
"software"
|
|
652
|
+
]
|
|
653
|
+
},
|
|
654
|
+
"security": [
|
|
655
|
+
{
|
|
656
|
+
"apiToken": []
|
|
657
|
+
}
|
|
658
|
+
],
|
|
659
|
+
"group": "wordpress"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"name": "hosting_showMaintenanceStatusV1",
|
|
663
|
+
"title": "Show maintenance status",
|
|
664
|
+
"annotations": {
|
|
665
|
+
"title": "Show maintenance status",
|
|
666
|
+
"readOnlyHint": true,
|
|
667
|
+
"destructiveHint": false
|
|
668
|
+
},
|
|
669
|
+
"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).",
|
|
670
|
+
"method": "GET",
|
|
671
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/maintenance/status",
|
|
672
|
+
"inputSchema": {
|
|
673
|
+
"type": "object",
|
|
674
|
+
"properties": {
|
|
675
|
+
"username": {
|
|
676
|
+
"type": "string",
|
|
677
|
+
"description": "username parameter"
|
|
678
|
+
},
|
|
679
|
+
"software": {
|
|
680
|
+
"type": "string",
|
|
681
|
+
"description": "WordPress installation (software) identifier"
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
"required": [
|
|
685
|
+
"username",
|
|
686
|
+
"software"
|
|
687
|
+
]
|
|
688
|
+
},
|
|
689
|
+
"security": [
|
|
690
|
+
{
|
|
691
|
+
"apiToken": []
|
|
692
|
+
}
|
|
693
|
+
],
|
|
694
|
+
"group": "wordpress"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"name": "hosting_toggleMaintenanceModeV1",
|
|
698
|
+
"title": "Toggle maintenance mode",
|
|
699
|
+
"annotations": {
|
|
700
|
+
"title": "Toggle maintenance mode",
|
|
701
|
+
"readOnlyHint": false,
|
|
702
|
+
"destructiveHint": true,
|
|
703
|
+
"idempotentHint": true
|
|
704
|
+
},
|
|
705
|
+
"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).",
|
|
706
|
+
"method": "PATCH",
|
|
707
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/maintenance/toggle",
|
|
708
|
+
"inputSchema": {
|
|
709
|
+
"type": "object",
|
|
710
|
+
"properties": {
|
|
711
|
+
"username": {
|
|
712
|
+
"type": "string",
|
|
713
|
+
"description": "username parameter"
|
|
714
|
+
},
|
|
715
|
+
"software": {
|
|
716
|
+
"type": "string",
|
|
717
|
+
"description": "WordPress installation (software) identifier"
|
|
718
|
+
},
|
|
719
|
+
"enabled": {
|
|
720
|
+
"type": "boolean",
|
|
721
|
+
"description": "Enable (true) or disable (false) maintenance mode for the WordPress installation."
|
|
722
|
+
}
|
|
723
|
+
},
|
|
724
|
+
"required": [
|
|
725
|
+
"username",
|
|
726
|
+
"software",
|
|
727
|
+
"enabled"
|
|
728
|
+
]
|
|
729
|
+
},
|
|
730
|
+
"security": [
|
|
731
|
+
{
|
|
732
|
+
"apiToken": []
|
|
733
|
+
}
|
|
734
|
+
],
|
|
735
|
+
"group": "wordpress"
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"name": "hosting_showMemcachedObjectCacheStatusV1",
|
|
739
|
+
"title": "Show Memcached object cache status",
|
|
740
|
+
"annotations": {
|
|
741
|
+
"title": "Show Memcached object cache status",
|
|
742
|
+
"readOnlyHint": true,
|
|
743
|
+
"destructiveHint": false
|
|
744
|
+
},
|
|
745
|
+
"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).",
|
|
746
|
+
"method": "GET",
|
|
747
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/memcached/status",
|
|
748
|
+
"inputSchema": {
|
|
749
|
+
"type": "object",
|
|
750
|
+
"properties": {
|
|
751
|
+
"username": {
|
|
752
|
+
"type": "string",
|
|
753
|
+
"description": "username parameter"
|
|
754
|
+
},
|
|
755
|
+
"software": {
|
|
756
|
+
"type": "string",
|
|
757
|
+
"description": "WordPress installation (software) identifier"
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
"required": [
|
|
761
|
+
"username",
|
|
762
|
+
"software"
|
|
763
|
+
]
|
|
764
|
+
},
|
|
765
|
+
"security": [
|
|
766
|
+
{
|
|
767
|
+
"apiToken": []
|
|
768
|
+
}
|
|
769
|
+
],
|
|
770
|
+
"group": "wordpress"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"name": "hosting_toggleMemcachedObjectCacheV1",
|
|
774
|
+
"title": "Toggle Memcached object cache",
|
|
775
|
+
"annotations": {
|
|
776
|
+
"title": "Toggle Memcached object cache",
|
|
777
|
+
"readOnlyHint": false,
|
|
778
|
+
"destructiveHint": true,
|
|
779
|
+
"idempotentHint": true
|
|
780
|
+
},
|
|
781
|
+
"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).",
|
|
782
|
+
"method": "PATCH",
|
|
783
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/memcached/toggle",
|
|
784
|
+
"inputSchema": {
|
|
785
|
+
"type": "object",
|
|
786
|
+
"properties": {
|
|
787
|
+
"username": {
|
|
788
|
+
"type": "string",
|
|
789
|
+
"description": "username parameter"
|
|
790
|
+
},
|
|
791
|
+
"software": {
|
|
792
|
+
"type": "string",
|
|
793
|
+
"description": "WordPress installation (software) identifier"
|
|
794
|
+
},
|
|
795
|
+
"enabled": {
|
|
796
|
+
"type": "boolean",
|
|
797
|
+
"description": "Activate (true) or deactivate (false) the Memcached object cache for the WordPress installation."
|
|
798
|
+
}
|
|
799
|
+
},
|
|
800
|
+
"required": [
|
|
801
|
+
"username",
|
|
802
|
+
"software",
|
|
803
|
+
"enabled"
|
|
804
|
+
]
|
|
805
|
+
},
|
|
806
|
+
"security": [
|
|
807
|
+
{
|
|
808
|
+
"apiToken": []
|
|
809
|
+
}
|
|
810
|
+
],
|
|
811
|
+
"group": "wordpress"
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"name": "hosting_activateWordPressPluginV1",
|
|
815
|
+
"title": "Activate WordPress plugin",
|
|
816
|
+
"annotations": {
|
|
817
|
+
"title": "Activate WordPress plugin",
|
|
818
|
+
"readOnlyHint": false,
|
|
819
|
+
"destructiveHint": false
|
|
820
|
+
},
|
|
821
|
+
"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.",
|
|
822
|
+
"method": "POST",
|
|
823
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/activate",
|
|
824
|
+
"inputSchema": {
|
|
825
|
+
"type": "object",
|
|
826
|
+
"properties": {
|
|
827
|
+
"username": {
|
|
828
|
+
"type": "string",
|
|
829
|
+
"description": "username parameter"
|
|
830
|
+
},
|
|
831
|
+
"software": {
|
|
832
|
+
"type": "string",
|
|
833
|
+
"description": "WordPress installation (software) identifier"
|
|
834
|
+
},
|
|
835
|
+
"plugin": {
|
|
836
|
+
"type": "string",
|
|
837
|
+
"description": "Slug of the installed plugin to activate."
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
"required": [
|
|
841
|
+
"username",
|
|
842
|
+
"software",
|
|
843
|
+
"plugin"
|
|
844
|
+
]
|
|
845
|
+
},
|
|
846
|
+
"security": [
|
|
847
|
+
{
|
|
848
|
+
"apiToken": []
|
|
849
|
+
}
|
|
850
|
+
],
|
|
851
|
+
"group": "wordpress"
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"name": "hosting_deactivateWordPressPluginV1",
|
|
855
|
+
"title": "Deactivate WordPress plugin",
|
|
856
|
+
"annotations": {
|
|
857
|
+
"title": "Deactivate WordPress plugin",
|
|
858
|
+
"readOnlyHint": false,
|
|
859
|
+
"destructiveHint": false
|
|
860
|
+
},
|
|
861
|
+
"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.",
|
|
862
|
+
"method": "POST",
|
|
863
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/deactivate",
|
|
864
|
+
"inputSchema": {
|
|
865
|
+
"type": "object",
|
|
866
|
+
"properties": {
|
|
867
|
+
"username": {
|
|
868
|
+
"type": "string",
|
|
869
|
+
"description": "username parameter"
|
|
870
|
+
},
|
|
871
|
+
"software": {
|
|
872
|
+
"type": "string",
|
|
873
|
+
"description": "WordPress installation (software) identifier"
|
|
874
|
+
},
|
|
875
|
+
"plugin": {
|
|
876
|
+
"type": "string",
|
|
877
|
+
"description": "Slug of the installed plugin to deactivate."
|
|
878
|
+
}
|
|
879
|
+
},
|
|
880
|
+
"required": [
|
|
881
|
+
"username",
|
|
882
|
+
"software",
|
|
883
|
+
"plugin"
|
|
884
|
+
]
|
|
885
|
+
},
|
|
886
|
+
"security": [
|
|
887
|
+
{
|
|
888
|
+
"apiToken": []
|
|
889
|
+
}
|
|
890
|
+
],
|
|
891
|
+
"group": "wordpress"
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"name": "hosting_deployWordPressPluginV1",
|
|
895
|
+
"title": "Deploy WordPress plugin",
|
|
896
|
+
"annotations": {
|
|
897
|
+
"title": "Deploy WordPress plugin",
|
|
898
|
+
"readOnlyHint": false,
|
|
899
|
+
"destructiveHint": true
|
|
900
|
+
},
|
|
901
|
+
"description": "Deploy a WordPress plugin from an already uploaded directory.\n\nThis endpoint allows you to deploy a WordPress plugin that has been uploaded to the website's directory.\nThe plugin will be activated and made available in the WordPress admin panel.",
|
|
902
|
+
"method": "POST",
|
|
903
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/wordpress/plugins/deploy",
|
|
904
|
+
"inputSchema": {
|
|
905
|
+
"type": "object",
|
|
906
|
+
"properties": {
|
|
907
|
+
"username": {
|
|
908
|
+
"type": "string",
|
|
909
|
+
"description": "username parameter"
|
|
910
|
+
},
|
|
911
|
+
"domain": {
|
|
912
|
+
"type": "string",
|
|
913
|
+
"description": "Domain name"
|
|
914
|
+
},
|
|
915
|
+
"slug": {
|
|
916
|
+
"type": "string",
|
|
917
|
+
"description": "Slug of the plugin"
|
|
918
|
+
},
|
|
919
|
+
"plugin_path": {
|
|
920
|
+
"type": "string",
|
|
921
|
+
"description": "Relative path to the plugin directory from wp-content/plugins"
|
|
922
|
+
}
|
|
923
|
+
},
|
|
924
|
+
"required": [
|
|
925
|
+
"username",
|
|
926
|
+
"domain",
|
|
927
|
+
"slug",
|
|
928
|
+
"plugin_path"
|
|
929
|
+
]
|
|
930
|
+
},
|
|
931
|
+
"security": [
|
|
932
|
+
{
|
|
933
|
+
"apiToken": []
|
|
934
|
+
}
|
|
935
|
+
],
|
|
936
|
+
"group": "wordpress"
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"name": "hosting_installWordPressPluginsV1",
|
|
940
|
+
"title": "Install WordPress plugins",
|
|
941
|
+
"annotations": {
|
|
942
|
+
"title": "Install WordPress plugins",
|
|
943
|
+
"readOnlyHint": false,
|
|
944
|
+
"destructiveHint": false
|
|
945
|
+
},
|
|
946
|
+
"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.",
|
|
947
|
+
"method": "POST",
|
|
948
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/install",
|
|
949
|
+
"inputSchema": {
|
|
950
|
+
"type": "object",
|
|
951
|
+
"properties": {
|
|
952
|
+
"username": {
|
|
953
|
+
"type": "string",
|
|
954
|
+
"description": "username parameter"
|
|
955
|
+
},
|
|
956
|
+
"software": {
|
|
957
|
+
"type": "string",
|
|
958
|
+
"description": "WordPress installation (software) identifier"
|
|
959
|
+
},
|
|
960
|
+
"plugins": {
|
|
961
|
+
"type": "array",
|
|
962
|
+
"description": "Plugin slugs to install. Use GET /api/hosting/v1/wordpress/plugins to discover available slugs.",
|
|
963
|
+
"items": {
|
|
964
|
+
"type": "string",
|
|
965
|
+
"description": "Plugin slug"
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
},
|
|
969
|
+
"required": [
|
|
970
|
+
"username",
|
|
971
|
+
"software",
|
|
972
|
+
"plugins"
|
|
973
|
+
]
|
|
974
|
+
},
|
|
975
|
+
"security": [
|
|
976
|
+
{
|
|
977
|
+
"apiToken": []
|
|
978
|
+
}
|
|
979
|
+
],
|
|
980
|
+
"group": "wordpress"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"name": "hosting_listAvailableWordPressPluginsV1",
|
|
984
|
+
"title": "List available WordPress plugins",
|
|
985
|
+
"annotations": {
|
|
986
|
+
"title": "List available WordPress plugins",
|
|
987
|
+
"readOnlyHint": true,
|
|
988
|
+
"destructiveHint": false
|
|
989
|
+
},
|
|
990
|
+
"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).",
|
|
991
|
+
"method": "GET",
|
|
992
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/available",
|
|
993
|
+
"inputSchema": {
|
|
994
|
+
"type": "object",
|
|
995
|
+
"properties": {
|
|
996
|
+
"username": {
|
|
997
|
+
"type": "string",
|
|
998
|
+
"description": "username parameter"
|
|
999
|
+
},
|
|
1000
|
+
"software": {
|
|
1001
|
+
"type": "string",
|
|
1002
|
+
"description": "WordPress installation (software) identifier"
|
|
1003
|
+
}
|
|
1004
|
+
},
|
|
1005
|
+
"required": [
|
|
1006
|
+
"username",
|
|
1007
|
+
"software"
|
|
1008
|
+
]
|
|
1009
|
+
},
|
|
1010
|
+
"security": [
|
|
1011
|
+
{
|
|
1012
|
+
"apiToken": []
|
|
1013
|
+
}
|
|
1014
|
+
],
|
|
1015
|
+
"group": "wordpress"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "hosting_listInstalledWordPressPluginsV1",
|
|
1019
|
+
"title": "List installed WordPress plugins",
|
|
1020
|
+
"annotations": {
|
|
1021
|
+
"title": "List installed WordPress plugins",
|
|
1022
|
+
"readOnlyHint": true,
|
|
1023
|
+
"destructiveHint": false
|
|
1024
|
+
},
|
|
1025
|
+
"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).",
|
|
1026
|
+
"method": "GET",
|
|
1027
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins",
|
|
1028
|
+
"inputSchema": {
|
|
1029
|
+
"type": "object",
|
|
1030
|
+
"properties": {
|
|
1031
|
+
"username": {
|
|
1032
|
+
"type": "string",
|
|
1033
|
+
"description": "username parameter"
|
|
1034
|
+
},
|
|
1035
|
+
"software": {
|
|
1036
|
+
"type": "string",
|
|
1037
|
+
"description": "WordPress installation (software) identifier"
|
|
1038
|
+
},
|
|
1039
|
+
"category": {
|
|
1040
|
+
"type": "string",
|
|
1041
|
+
"description": "Filter installed plugins by category.",
|
|
1042
|
+
"enum": [
|
|
1043
|
+
"cache"
|
|
1044
|
+
]
|
|
1045
|
+
}
|
|
1046
|
+
},
|
|
1047
|
+
"required": [
|
|
1048
|
+
"username",
|
|
1049
|
+
"software"
|
|
1050
|
+
]
|
|
1051
|
+
},
|
|
1052
|
+
"security": [
|
|
1053
|
+
{
|
|
1054
|
+
"apiToken": []
|
|
1055
|
+
}
|
|
1056
|
+
],
|
|
1057
|
+
"group": "wordpress"
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"name": "hosting_searchWordPressPluginsV1",
|
|
1061
|
+
"title": "Search WordPress plugins",
|
|
1062
|
+
"annotations": {
|
|
1063
|
+
"title": "Search WordPress plugins",
|
|
1064
|
+
"readOnlyHint": true,
|
|
1065
|
+
"destructiveHint": false
|
|
1066
|
+
},
|
|
1067
|
+
"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.",
|
|
1068
|
+
"method": "GET",
|
|
1069
|
+
"path": "/api/hosting/v1/wordpress/plugins",
|
|
1070
|
+
"inputSchema": {
|
|
1071
|
+
"type": "object",
|
|
1072
|
+
"properties": {
|
|
1073
|
+
"search": {
|
|
1074
|
+
"type": "string",
|
|
1075
|
+
"description": "Search term to match against plugin names. Minimum 3 characters."
|
|
1076
|
+
}
|
|
1077
|
+
},
|
|
1078
|
+
"required": [
|
|
1079
|
+
"search"
|
|
1080
|
+
]
|
|
1081
|
+
},
|
|
1082
|
+
"security": [
|
|
1083
|
+
{
|
|
1084
|
+
"apiToken": []
|
|
1085
|
+
}
|
|
1086
|
+
],
|
|
1087
|
+
"group": "wordpress"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"name": "hosting_listSuggestedWordPressPluginsV1",
|
|
1091
|
+
"title": "List suggested WordPress plugins",
|
|
1092
|
+
"annotations": {
|
|
1093
|
+
"title": "List suggested WordPress plugins",
|
|
1094
|
+
"readOnlyHint": true,
|
|
1095
|
+
"destructiveHint": false
|
|
1096
|
+
},
|
|
1097
|
+
"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.",
|
|
1098
|
+
"method": "GET",
|
|
1099
|
+
"path": "/api/hosting/v1/wordpress/plugins/suggested",
|
|
1100
|
+
"inputSchema": {
|
|
1101
|
+
"type": "object",
|
|
1102
|
+
"properties": {
|
|
1103
|
+
"order_id": {
|
|
1104
|
+
"type": "integer",
|
|
1105
|
+
"description": "Optionally scope suggestions to a specific order."
|
|
1106
|
+
}
|
|
1107
|
+
},
|
|
1108
|
+
"required": []
|
|
1109
|
+
},
|
|
1110
|
+
"security": [
|
|
1111
|
+
{
|
|
1112
|
+
"apiToken": []
|
|
1113
|
+
}
|
|
1114
|
+
],
|
|
1115
|
+
"group": "wordpress"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"name": "hosting_checkIfWooCommerceIsInstalledV1",
|
|
1119
|
+
"title": "Check if WooCommerce is installed",
|
|
1120
|
+
"annotations": {
|
|
1121
|
+
"title": "Check if WooCommerce is installed",
|
|
1122
|
+
"readOnlyHint": true,
|
|
1123
|
+
"destructiveHint": false
|
|
1124
|
+
},
|
|
1125
|
+
"description": "Check whether WooCommerce is installed on any WordPress installation of a\ndomain. Optionally filter by domain to scope the check.",
|
|
1126
|
+
"method": "GET",
|
|
1127
|
+
"path": "/api/hosting/v1/wordpress/plugins/is-woocommerce-installed",
|
|
1128
|
+
"inputSchema": {
|
|
1129
|
+
"type": "object",
|
|
1130
|
+
"properties": {
|
|
1131
|
+
"domain": {
|
|
1132
|
+
"type": "string",
|
|
1133
|
+
"description": "Filter by domain name (case-insensitive substring match)"
|
|
1134
|
+
}
|
|
1135
|
+
},
|
|
1136
|
+
"required": []
|
|
1137
|
+
},
|
|
1138
|
+
"security": [
|
|
1139
|
+
{
|
|
1140
|
+
"apiToken": []
|
|
1141
|
+
}
|
|
1142
|
+
],
|
|
1143
|
+
"group": "wordpress"
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"name": "hosting_uninstallWordPressPluginsV1",
|
|
1147
|
+
"title": "Uninstall WordPress plugins",
|
|
1148
|
+
"annotations": {
|
|
1149
|
+
"title": "Uninstall WordPress plugins",
|
|
1150
|
+
"readOnlyHint": false,
|
|
1151
|
+
"destructiveHint": true
|
|
1152
|
+
},
|
|
1153
|
+
"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.",
|
|
1154
|
+
"method": "POST",
|
|
1155
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/uninstall",
|
|
1156
|
+
"inputSchema": {
|
|
1157
|
+
"type": "object",
|
|
1158
|
+
"properties": {
|
|
1159
|
+
"username": {
|
|
1160
|
+
"type": "string",
|
|
1161
|
+
"description": "username parameter"
|
|
1162
|
+
},
|
|
1163
|
+
"software": {
|
|
1164
|
+
"type": "string",
|
|
1165
|
+
"description": "WordPress installation (software) identifier"
|
|
1166
|
+
},
|
|
1167
|
+
"plugins": {
|
|
1168
|
+
"type": "array",
|
|
1169
|
+
"description": "Slugs of the installed plugins to uninstall.",
|
|
1170
|
+
"items": {
|
|
1171
|
+
"type": "string",
|
|
1172
|
+
"description": "Plugin slug"
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
},
|
|
1176
|
+
"required": [
|
|
1177
|
+
"username",
|
|
1178
|
+
"software",
|
|
1179
|
+
"plugins"
|
|
1180
|
+
]
|
|
1181
|
+
},
|
|
1182
|
+
"security": [
|
|
1183
|
+
{
|
|
1184
|
+
"apiToken": []
|
|
1185
|
+
}
|
|
1186
|
+
],
|
|
1187
|
+
"group": "wordpress"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"name": "hosting_updateHostingerWordPressPluginV1",
|
|
1191
|
+
"title": "Update Hostinger WordPress plugin",
|
|
1192
|
+
"annotations": {
|
|
1193
|
+
"title": "Update Hostinger WordPress plugin",
|
|
1194
|
+
"readOnlyHint": false,
|
|
1195
|
+
"destructiveHint": false
|
|
1196
|
+
},
|
|
1197
|
+
"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.",
|
|
1198
|
+
"method": "POST",
|
|
1199
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/hostinger/update",
|
|
1200
|
+
"inputSchema": {
|
|
1201
|
+
"type": "object",
|
|
1202
|
+
"properties": {
|
|
1203
|
+
"username": {
|
|
1204
|
+
"type": "string",
|
|
1205
|
+
"description": "username parameter"
|
|
1206
|
+
},
|
|
1207
|
+
"software": {
|
|
1208
|
+
"type": "string",
|
|
1209
|
+
"description": "WordPress installation (software) identifier"
|
|
1210
|
+
},
|
|
1211
|
+
"slug": {
|
|
1212
|
+
"type": "string",
|
|
1213
|
+
"description": "Slug of the Hostinger plugin to update to its latest version.",
|
|
1214
|
+
"enum": [
|
|
1215
|
+
"hostinger",
|
|
1216
|
+
"hostinger-ai-assistant",
|
|
1217
|
+
"hostinger-affiliate-plugin",
|
|
1218
|
+
"hostinger-easy-onboarding",
|
|
1219
|
+
"hostinger-reach"
|
|
1220
|
+
]
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
"required": [
|
|
1224
|
+
"username",
|
|
1225
|
+
"software",
|
|
1226
|
+
"slug"
|
|
1227
|
+
]
|
|
1228
|
+
},
|
|
1229
|
+
"security": [
|
|
1230
|
+
{
|
|
1231
|
+
"apiToken": []
|
|
1232
|
+
}
|
|
1233
|
+
],
|
|
1234
|
+
"group": "wordpress"
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
"name": "hosting_updateWordPressPluginsV1",
|
|
1238
|
+
"title": "Update WordPress plugins",
|
|
1239
|
+
"annotations": {
|
|
1240
|
+
"title": "Update WordPress plugins",
|
|
1241
|
+
"readOnlyHint": false,
|
|
1242
|
+
"destructiveHint": false
|
|
1243
|
+
},
|
|
1244
|
+
"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.",
|
|
1245
|
+
"method": "POST",
|
|
1246
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/update",
|
|
1247
|
+
"inputSchema": {
|
|
1248
|
+
"type": "object",
|
|
1249
|
+
"properties": {
|
|
1250
|
+
"username": {
|
|
1251
|
+
"type": "string",
|
|
1252
|
+
"description": "username parameter"
|
|
1253
|
+
},
|
|
1254
|
+
"software": {
|
|
1255
|
+
"type": "string",
|
|
1256
|
+
"description": "WordPress installation (software) identifier"
|
|
1257
|
+
},
|
|
1258
|
+
"plugins": {
|
|
1259
|
+
"type": "array",
|
|
1260
|
+
"description": "Slugs of the installed plugins to update to their latest version.",
|
|
1261
|
+
"items": {
|
|
1262
|
+
"type": "string",
|
|
1263
|
+
"description": "Plugin slug"
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
},
|
|
1267
|
+
"required": [
|
|
1268
|
+
"username",
|
|
1269
|
+
"software",
|
|
1270
|
+
"plugins"
|
|
1271
|
+
]
|
|
1272
|
+
},
|
|
1273
|
+
"security": [
|
|
1274
|
+
{
|
|
1275
|
+
"apiToken": []
|
|
1276
|
+
}
|
|
1277
|
+
],
|
|
1278
|
+
"group": "wordpress"
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"name": "hosting_activateWordPressThemeV1",
|
|
1282
|
+
"title": "Activate WordPress theme",
|
|
1283
|
+
"annotations": {
|
|
1284
|
+
"title": "Activate WordPress theme",
|
|
1285
|
+
"readOnlyHint": false,
|
|
1286
|
+
"destructiveHint": false
|
|
1287
|
+
},
|
|
1288
|
+
"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.",
|
|
1289
|
+
"method": "POST",
|
|
1290
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/themes/activate",
|
|
1291
|
+
"inputSchema": {
|
|
1292
|
+
"type": "object",
|
|
1293
|
+
"properties": {
|
|
1294
|
+
"username": {
|
|
1295
|
+
"type": "string",
|
|
1296
|
+
"description": "username parameter"
|
|
1297
|
+
},
|
|
1298
|
+
"software": {
|
|
1299
|
+
"type": "string",
|
|
1300
|
+
"description": "WordPress installation (software) identifier"
|
|
1301
|
+
},
|
|
1302
|
+
"theme": {
|
|
1303
|
+
"type": "string",
|
|
1304
|
+
"description": "Slug of the installed theme to activate."
|
|
1305
|
+
}
|
|
1306
|
+
},
|
|
1307
|
+
"required": [
|
|
1308
|
+
"username",
|
|
1309
|
+
"software",
|
|
1310
|
+
"theme"
|
|
1311
|
+
]
|
|
1312
|
+
},
|
|
1313
|
+
"security": [
|
|
1314
|
+
{
|
|
1315
|
+
"apiToken": []
|
|
1316
|
+
}
|
|
1317
|
+
],
|
|
1318
|
+
"group": "wordpress"
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"name": "hosting_deployWordPressThemeV1",
|
|
1322
|
+
"title": "Deploy WordPress theme",
|
|
1323
|
+
"annotations": {
|
|
1324
|
+
"title": "Deploy WordPress theme",
|
|
1325
|
+
"readOnlyHint": false,
|
|
1326
|
+
"destructiveHint": true
|
|
1327
|
+
},
|
|
1328
|
+
"description": "Deploy a WordPress theme from an already uploaded directory.\n\nThis endpoint allows you to deploy a WordPress theme that has been uploaded to the website's directory.\nThe theme can be optionally activated after deployment.",
|
|
1329
|
+
"method": "POST",
|
|
1330
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/wordpress/themes/deploy",
|
|
1331
|
+
"inputSchema": {
|
|
1332
|
+
"type": "object",
|
|
1333
|
+
"properties": {
|
|
1334
|
+
"username": {
|
|
1335
|
+
"type": "string",
|
|
1336
|
+
"description": "username parameter"
|
|
1337
|
+
},
|
|
1338
|
+
"domain": {
|
|
1339
|
+
"type": "string",
|
|
1340
|
+
"description": "Domain name"
|
|
1341
|
+
},
|
|
1342
|
+
"slug": {
|
|
1343
|
+
"type": "string",
|
|
1344
|
+
"description": "Slug of the theme"
|
|
1345
|
+
},
|
|
1346
|
+
"theme_path": {
|
|
1347
|
+
"type": "string",
|
|
1348
|
+
"description": "Relative path to the theme directory from wp-content/themes"
|
|
1349
|
+
},
|
|
1350
|
+
"is_activated": {
|
|
1351
|
+
"type": "boolean",
|
|
1352
|
+
"description": "Whether to activate the theme after deployment"
|
|
1353
|
+
}
|
|
1354
|
+
},
|
|
1355
|
+
"required": [
|
|
1356
|
+
"username",
|
|
1357
|
+
"domain",
|
|
1358
|
+
"slug",
|
|
1359
|
+
"theme_path"
|
|
1360
|
+
]
|
|
1361
|
+
},
|
|
1362
|
+
"security": [
|
|
1363
|
+
{
|
|
1364
|
+
"apiToken": []
|
|
1365
|
+
}
|
|
1366
|
+
],
|
|
1367
|
+
"group": "wordpress"
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
"name": "hosting_installWordPressThemeV1",
|
|
1371
|
+
"title": "Install WordPress theme",
|
|
1372
|
+
"annotations": {
|
|
1373
|
+
"title": "Install WordPress theme",
|
|
1374
|
+
"readOnlyHint": false,
|
|
1375
|
+
"destructiveHint": false
|
|
1376
|
+
},
|
|
1377
|
+
"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.",
|
|
1378
|
+
"method": "POST",
|
|
1379
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/themes/install",
|
|
1380
|
+
"inputSchema": {
|
|
1381
|
+
"type": "object",
|
|
1382
|
+
"properties": {
|
|
1383
|
+
"username": {
|
|
1384
|
+
"type": "string",
|
|
1385
|
+
"description": "username parameter"
|
|
1386
|
+
},
|
|
1387
|
+
"software": {
|
|
1388
|
+
"type": "string",
|
|
1389
|
+
"description": "WordPress installation (software) identifier"
|
|
1390
|
+
},
|
|
1391
|
+
"theme": {
|
|
1392
|
+
"type": "string",
|
|
1393
|
+
"description": "Slug of the theme to install. Hostinger theme slugs (hostinger-blog, hostinger-affiliate-theme, hostinger-ai-theme) trigger the custom installer and forward the optional palette/layout/font fields; any other WordPress theme slug uses the standard installer and ignores those fields."
|
|
1394
|
+
},
|
|
1395
|
+
"palette": {
|
|
1396
|
+
"type": "string",
|
|
1397
|
+
"description": "Palette identifier. Only applied when the theme is a Hostinger theme; the default is used when omitted."
|
|
1398
|
+
},
|
|
1399
|
+
"layout": {
|
|
1400
|
+
"type": "string",
|
|
1401
|
+
"description": "Layout identifier. Only applied when the theme is a Hostinger theme; the default is used when omitted."
|
|
1402
|
+
},
|
|
1403
|
+
"font": {
|
|
1404
|
+
"type": "string",
|
|
1405
|
+
"description": "Font identifier. Only applied when the theme is a Hostinger theme; the default is used when omitted.",
|
|
1406
|
+
"enum": [
|
|
1407
|
+
"professional",
|
|
1408
|
+
"modern",
|
|
1409
|
+
"elegant",
|
|
1410
|
+
"creative",
|
|
1411
|
+
"dynamic",
|
|
1412
|
+
"default"
|
|
1413
|
+
]
|
|
1414
|
+
}
|
|
1415
|
+
},
|
|
1416
|
+
"required": [
|
|
1417
|
+
"username",
|
|
1418
|
+
"software",
|
|
1419
|
+
"theme"
|
|
1420
|
+
]
|
|
1421
|
+
},
|
|
1422
|
+
"security": [
|
|
1423
|
+
{
|
|
1424
|
+
"apiToken": []
|
|
1425
|
+
}
|
|
1426
|
+
],
|
|
1427
|
+
"group": "wordpress"
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
"name": "hosting_listInstalledWordPressThemesV1",
|
|
1431
|
+
"title": "List installed WordPress themes",
|
|
1432
|
+
"annotations": {
|
|
1433
|
+
"title": "List installed WordPress themes",
|
|
1434
|
+
"readOnlyHint": true,
|
|
1435
|
+
"destructiveHint": false
|
|
1436
|
+
},
|
|
1437
|
+
"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).",
|
|
1438
|
+
"method": "GET",
|
|
1439
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/themes",
|
|
1440
|
+
"inputSchema": {
|
|
1441
|
+
"type": "object",
|
|
1442
|
+
"properties": {
|
|
1443
|
+
"username": {
|
|
1444
|
+
"type": "string",
|
|
1445
|
+
"description": "username parameter"
|
|
1446
|
+
},
|
|
1447
|
+
"software": {
|
|
1448
|
+
"type": "string",
|
|
1449
|
+
"description": "WordPress installation (software) identifier"
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1452
|
+
"required": [
|
|
1453
|
+
"username",
|
|
1454
|
+
"software"
|
|
1455
|
+
]
|
|
1456
|
+
},
|
|
1457
|
+
"security": [
|
|
1458
|
+
{
|
|
1459
|
+
"apiToken": []
|
|
1460
|
+
}
|
|
1461
|
+
],
|
|
1462
|
+
"group": "wordpress"
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"name": "hosting_listWordPressThemesV1",
|
|
1466
|
+
"title": "List WordPress themes",
|
|
1467
|
+
"annotations": {
|
|
1468
|
+
"title": "List WordPress themes",
|
|
1469
|
+
"readOnlyHint": true,
|
|
1470
|
+
"destructiveHint": false
|
|
1471
|
+
},
|
|
1472
|
+
"description": "List WordPress themes available to install.\n\nUse the returned `slug` values with\nPOST /api/hosting/v1/accounts/{username}/wordpress/{software}/themes/install.",
|
|
1473
|
+
"method": "GET",
|
|
1474
|
+
"path": "/api/hosting/v1/wordpress/themes",
|
|
1475
|
+
"inputSchema": {
|
|
1476
|
+
"type": "object",
|
|
1477
|
+
"properties": {
|
|
1478
|
+
"order_id": {
|
|
1479
|
+
"type": "integer",
|
|
1480
|
+
"description": "Optionally scope themes to a specific order."
|
|
1481
|
+
},
|
|
1482
|
+
"search": {
|
|
1483
|
+
"type": "string",
|
|
1484
|
+
"description": "Search term to match against theme names."
|
|
1485
|
+
}
|
|
1486
|
+
},
|
|
1487
|
+
"required": []
|
|
1488
|
+
},
|
|
1489
|
+
"security": [
|
|
1490
|
+
{
|
|
1491
|
+
"apiToken": []
|
|
1492
|
+
}
|
|
1493
|
+
],
|
|
1494
|
+
"group": "wordpress"
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"name": "hosting_uninstallWordPressThemesV1",
|
|
1498
|
+
"title": "Uninstall WordPress themes",
|
|
1499
|
+
"annotations": {
|
|
1500
|
+
"title": "Uninstall WordPress themes",
|
|
1501
|
+
"readOnlyHint": false,
|
|
1502
|
+
"destructiveHint": true
|
|
1503
|
+
},
|
|
1504
|
+
"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.",
|
|
1505
|
+
"method": "POST",
|
|
1506
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/themes/uninstall",
|
|
1507
|
+
"inputSchema": {
|
|
1508
|
+
"type": "object",
|
|
1509
|
+
"properties": {
|
|
1510
|
+
"username": {
|
|
1511
|
+
"type": "string",
|
|
1512
|
+
"description": "username parameter"
|
|
1513
|
+
},
|
|
1514
|
+
"software": {
|
|
1515
|
+
"type": "string",
|
|
1516
|
+
"description": "WordPress installation (software) identifier"
|
|
1517
|
+
},
|
|
1518
|
+
"themes": {
|
|
1519
|
+
"type": "array",
|
|
1520
|
+
"description": "Slugs of the installed themes to uninstall.",
|
|
1521
|
+
"items": {
|
|
1522
|
+
"type": "string",
|
|
1523
|
+
"description": "Theme slug"
|
|
1524
|
+
}
|
|
1525
|
+
}
|
|
1526
|
+
},
|
|
1527
|
+
"required": [
|
|
1528
|
+
"username",
|
|
1529
|
+
"software",
|
|
1530
|
+
"themes"
|
|
1531
|
+
]
|
|
1532
|
+
},
|
|
1533
|
+
"security": [
|
|
1534
|
+
{
|
|
1535
|
+
"apiToken": []
|
|
1536
|
+
}
|
|
1537
|
+
],
|
|
1538
|
+
"group": "wordpress"
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"name": "hosting_updateWordPressThemesV1",
|
|
1542
|
+
"title": "Update WordPress themes",
|
|
1543
|
+
"annotations": {
|
|
1544
|
+
"title": "Update WordPress themes",
|
|
1545
|
+
"readOnlyHint": false,
|
|
1546
|
+
"destructiveHint": false
|
|
1547
|
+
},
|
|
1548
|
+
"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.",
|
|
1549
|
+
"method": "POST",
|
|
1550
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/themes/update",
|
|
1551
|
+
"inputSchema": {
|
|
1552
|
+
"type": "object",
|
|
1553
|
+
"properties": {
|
|
1554
|
+
"username": {
|
|
1555
|
+
"type": "string",
|
|
1556
|
+
"description": "username parameter"
|
|
1557
|
+
},
|
|
1558
|
+
"software": {
|
|
1559
|
+
"type": "string",
|
|
1560
|
+
"description": "WordPress installation (software) identifier"
|
|
1561
|
+
},
|
|
1562
|
+
"themes": {
|
|
1563
|
+
"type": "array",
|
|
1564
|
+
"description": "Slugs of the installed themes to update to their latest version.",
|
|
1565
|
+
"items": {
|
|
1566
|
+
"type": "string",
|
|
1567
|
+
"description": "Theme slug"
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
},
|
|
1571
|
+
"required": [
|
|
1572
|
+
"username",
|
|
1573
|
+
"software",
|
|
1574
|
+
"themes"
|
|
1575
|
+
]
|
|
1576
|
+
},
|
|
1577
|
+
"security": [
|
|
1578
|
+
{
|
|
1579
|
+
"apiToken": []
|
|
1580
|
+
}
|
|
1581
|
+
],
|
|
1582
|
+
"group": "wordpress"
|
|
1583
|
+
}
|
|
1584
|
+
];
|
|
1585
|
+
export default tools;
|