hostinger-api-mcp 6.4.0 → 6.6.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/CHANGELOG.md +30 -0
- package/README.md +72 -3
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/skills/headless/VERSION +1 -1
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/all.js +222 -2
- package/src/core/tools/all.ts +222 -2
- package/src/core/tools/domains.js +221 -1
- package/src/core/tools/domains.ts +221 -1
- package/src/core/tools/hosting.js +1 -1
- package/src/core/tools/hosting.ts +1 -1
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- package/src/servers/agent-readiness.js +1 -1
- package/src/servers/agent-readiness.ts +1 -1
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/gpu.js +1 -1
- package/src/servers/gpu.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/mail.js +1 -1
- package/src/servers/mail.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +126 -1
|
@@ -220,6 +220,226 @@ const tools: OpenApiTool[] = [
|
|
|
220
220
|
"with_alternatives"
|
|
221
221
|
]
|
|
222
222
|
},
|
|
223
|
+
{
|
|
224
|
+
"name": "domains_folders_delete",
|
|
225
|
+
"title": "Delete domain folder",
|
|
226
|
+
"annotations": {
|
|
227
|
+
"title": "Delete domain folder",
|
|
228
|
+
"readOnlyHint": false,
|
|
229
|
+
"destructiveHint": true,
|
|
230
|
+
"idempotentHint": true
|
|
231
|
+
},
|
|
232
|
+
"description": "Delete a domain folder.\n\nThe domains in the folder are not deleted; they are only removed from the folder.\n\nUse this endpoint to remove folders that are no longer needed.",
|
|
233
|
+
"method": "DELETE",
|
|
234
|
+
"path": "/api/domains/v1/folders/{folderId}",
|
|
235
|
+
"inputSchema": {
|
|
236
|
+
"type": "object",
|
|
237
|
+
"properties": {
|
|
238
|
+
"folderId": {
|
|
239
|
+
"type": "integer",
|
|
240
|
+
"description": "Folder ID"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"required": [
|
|
244
|
+
"folderId"
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
"security": [
|
|
248
|
+
{
|
|
249
|
+
"apiToken": []
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
"group": "domains"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "domains_folders_update",
|
|
256
|
+
"title": "Update domain folder",
|
|
257
|
+
"annotations": {
|
|
258
|
+
"title": "Update domain folder",
|
|
259
|
+
"readOnlyHint": false,
|
|
260
|
+
"destructiveHint": true,
|
|
261
|
+
"idempotentHint": true
|
|
262
|
+
},
|
|
263
|
+
"description": "Rename a domain folder or change its position in the folder list.\n\nOnly the fields sent are changed.\n\nUse this endpoint to rename or reorder folders.",
|
|
264
|
+
"method": "PATCH",
|
|
265
|
+
"path": "/api/domains/v1/folders/{folderId}",
|
|
266
|
+
"inputSchema": {
|
|
267
|
+
"type": "object",
|
|
268
|
+
"properties": {
|
|
269
|
+
"folderId": {
|
|
270
|
+
"type": "integer",
|
|
271
|
+
"description": "Folder ID"
|
|
272
|
+
},
|
|
273
|
+
"name": {
|
|
274
|
+
"type": "string",
|
|
275
|
+
"description": "Folder name, unique within the account"
|
|
276
|
+
},
|
|
277
|
+
"sort_order": {
|
|
278
|
+
"type": "integer",
|
|
279
|
+
"description": "Zero-based position in the folder list. Other folders shift to make room; a value past the end\nplaces the folder last."
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"required": [
|
|
283
|
+
"folderId"
|
|
284
|
+
]
|
|
285
|
+
},
|
|
286
|
+
"security": [
|
|
287
|
+
{
|
|
288
|
+
"apiToken": []
|
|
289
|
+
}
|
|
290
|
+
],
|
|
291
|
+
"group": "domains",
|
|
292
|
+
"bodyParameters": [
|
|
293
|
+
"name",
|
|
294
|
+
"sort_order"
|
|
295
|
+
]
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "domains_folders_add-to",
|
|
299
|
+
"title": "Add domains to folder",
|
|
300
|
+
"annotations": {
|
|
301
|
+
"title": "Add domains to folder",
|
|
302
|
+
"readOnlyHint": false,
|
|
303
|
+
"destructiveHint": false
|
|
304
|
+
},
|
|
305
|
+
"description": "Add domains to a domain folder.\n\nA domain is in one of your folders at a time: adding it to this folder removes it from your other folders.\nDomains that are not in your portfolio are skipped.\n\nUse this endpoint to group domains of the portfolio in a folder.",
|
|
306
|
+
"method": "POST",
|
|
307
|
+
"path": "/api/domains/v1/folders/{folderId}/domains",
|
|
308
|
+
"inputSchema": {
|
|
309
|
+
"type": "object",
|
|
310
|
+
"properties": {
|
|
311
|
+
"folderId": {
|
|
312
|
+
"type": "integer",
|
|
313
|
+
"description": "Folder ID"
|
|
314
|
+
},
|
|
315
|
+
"domains": {
|
|
316
|
+
"type": "array",
|
|
317
|
+
"description": "Domain names",
|
|
318
|
+
"items": {
|
|
319
|
+
"type": "string",
|
|
320
|
+
"description": "domains parameter"
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"required": [
|
|
325
|
+
"folderId",
|
|
326
|
+
"domains"
|
|
327
|
+
]
|
|
328
|
+
},
|
|
329
|
+
"security": [
|
|
330
|
+
{
|
|
331
|
+
"apiToken": []
|
|
332
|
+
}
|
|
333
|
+
],
|
|
334
|
+
"group": "domains",
|
|
335
|
+
"bodyParameters": [
|
|
336
|
+
"domains"
|
|
337
|
+
]
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"name": "domains_folders_remove-from",
|
|
341
|
+
"title": "Remove domains from folder",
|
|
342
|
+
"annotations": {
|
|
343
|
+
"title": "Remove domains from folder",
|
|
344
|
+
"readOnlyHint": false,
|
|
345
|
+
"destructiveHint": true,
|
|
346
|
+
"idempotentHint": true
|
|
347
|
+
},
|
|
348
|
+
"description": "Remove domains from a domain folder.\n\nThe domains stay in your portfolio. Domains that are not in the folder are skipped.\n\nUse this endpoint to take domains out of a folder.",
|
|
349
|
+
"method": "DELETE",
|
|
350
|
+
"path": "/api/domains/v1/folders/{folderId}/domains",
|
|
351
|
+
"inputSchema": {
|
|
352
|
+
"type": "object",
|
|
353
|
+
"properties": {
|
|
354
|
+
"folderId": {
|
|
355
|
+
"type": "integer",
|
|
356
|
+
"description": "Folder ID"
|
|
357
|
+
},
|
|
358
|
+
"domains": {
|
|
359
|
+
"type": "array",
|
|
360
|
+
"description": "Domain names",
|
|
361
|
+
"items": {
|
|
362
|
+
"type": "string",
|
|
363
|
+
"description": "domains parameter"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"required": [
|
|
368
|
+
"folderId",
|
|
369
|
+
"domains"
|
|
370
|
+
]
|
|
371
|
+
},
|
|
372
|
+
"security": [
|
|
373
|
+
{
|
|
374
|
+
"apiToken": []
|
|
375
|
+
}
|
|
376
|
+
],
|
|
377
|
+
"group": "domains",
|
|
378
|
+
"bodyParameters": [
|
|
379
|
+
"domains"
|
|
380
|
+
]
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"name": "domains_folders_list",
|
|
384
|
+
"title": "Get domain folder list",
|
|
385
|
+
"annotations": {
|
|
386
|
+
"title": "Get domain folder list",
|
|
387
|
+
"readOnlyHint": true,
|
|
388
|
+
"destructiveHint": false
|
|
389
|
+
},
|
|
390
|
+
"description": "Retrieve the domain folders of your account.\n\nUse this endpoint to view how domains in the portfolio are organized.",
|
|
391
|
+
"method": "GET",
|
|
392
|
+
"path": "/api/domains/v1/folders",
|
|
393
|
+
"inputSchema": {
|
|
394
|
+
"type": "object",
|
|
395
|
+
"properties": {},
|
|
396
|
+
"required": []
|
|
397
|
+
},
|
|
398
|
+
"security": [
|
|
399
|
+
{
|
|
400
|
+
"apiToken": []
|
|
401
|
+
}
|
|
402
|
+
],
|
|
403
|
+
"group": "domains"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"name": "domains_folders_create",
|
|
407
|
+
"title": "Create domain folder",
|
|
408
|
+
"annotations": {
|
|
409
|
+
"title": "Create domain folder",
|
|
410
|
+
"readOnlyHint": false,
|
|
411
|
+
"destructiveHint": false
|
|
412
|
+
},
|
|
413
|
+
"description": "Create a domain folder.\n\nFolder names are unique within an account, and an account can have up to 50 folders.\n\nUse this endpoint to group domains in the portfolio.",
|
|
414
|
+
"method": "POST",
|
|
415
|
+
"path": "/api/domains/v1/folders",
|
|
416
|
+
"inputSchema": {
|
|
417
|
+
"type": "object",
|
|
418
|
+
"properties": {
|
|
419
|
+
"name": {
|
|
420
|
+
"type": "string",
|
|
421
|
+
"description": "Folder name, unique within the account"
|
|
422
|
+
},
|
|
423
|
+
"sort_order": {
|
|
424
|
+
"type": "integer",
|
|
425
|
+
"description": "Zero-based position in the folder list. Other folders shift to make room; a value past the end\nplaces the folder last.\nDefaults to the end of the list."
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
"required": [
|
|
429
|
+
"name"
|
|
430
|
+
]
|
|
431
|
+
},
|
|
432
|
+
"security": [
|
|
433
|
+
{
|
|
434
|
+
"apiToken": []
|
|
435
|
+
}
|
|
436
|
+
],
|
|
437
|
+
"group": "domains",
|
|
438
|
+
"bodyParameters": [
|
|
439
|
+
"name",
|
|
440
|
+
"sort_order"
|
|
441
|
+
]
|
|
442
|
+
},
|
|
223
443
|
{
|
|
224
444
|
"name": "domains_forwarding_get",
|
|
225
445
|
"title": "Get domain forwarding",
|
|
@@ -905,7 +1125,7 @@ const tools: OpenApiTool[] = [
|
|
|
905
1125
|
"readOnlyHint": true,
|
|
906
1126
|
"destructiveHint": false
|
|
907
1127
|
},
|
|
908
|
-
"description": "Retrieve all domains associated with your account.\n\nA plan can include both a free domain (`type: free_domain`) and a free domain\ntransfer (`type: free_domain_transfer`). They are alternatives: claiming one\nremoves the other, which may still be listed for a short time after the claim.\n\nA domain held for verification before it is registered has `status: pending_verification`,\nand its `verification` field says what registration waits for: a manual review, an SMS code,\nor owner contact verification.\n\nUse this endpoint to view user's domain portfolio.",
|
|
1128
|
+
"description": "Retrieve all domains associated with your account.\n\nA plan can include both a free domain (`type: free_domain`) and a free domain\ntransfer (`type: free_domain_transfer`). They are alternatives: claiming one\nremoves the other, which may still be listed for a short time after the claim.\n\nA domain held for verification before it is registered has `status: pending_verification`,\nand its `verification` field says what registration waits for: a manual review, an SMS code,\nor owner contact verification.\n\nEach domain's `folders` lists the [domain folders](#tag/domains-folders) it is in. It is empty for\nitems whose `type` is not `domain`.\n\nUse this endpoint to view user's domain portfolio.",
|
|
909
1129
|
"method": "GET",
|
|
910
1130
|
"path": "/api/domains/v1/portfolio",
|
|
911
1131
|
"inputSchema": {
|
|
@@ -3600,7 +3600,7 @@ export default [
|
|
|
3600
3600
|
"readOnlyHint": true,
|
|
3601
3601
|
"destructiveHint": false
|
|
3602
3602
|
},
|
|
3603
|
-
"description": "Returns the website setups started in the last 24 hours for the hosting accounts\naccessible to the authenticated client, newest first. Narrow the list with the\n`order_id`, `subscription_id` or `domain` filters.\n\nMeant for polling right after creating a website or starting a website setup: the\nwebsite shows up in the websites list before its server-side setup has finished, and\nwhile the setup is `running` endpoints that operate on that website may respond with\n`404` or `409`. Poll this endpoint with the `domain` filter every 10 to 15 seconds and\nwait for `status: completed` before uploading files, deploying or creating databases.\n`failed` means the setup stopped before finishing or has not reported progress for\nover an hour. Setups older than 24 hours are not listed.\n\n`type` is the website type the setup was started with (`wordpress`, `headless_empty`,\n`headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`), or `null` for an empty\nwebsite.",
|
|
3603
|
+
"description": "Returns the website setups started in the last 24 hours for the hosting accounts\naccessible to the authenticated client, newest first. Narrow the list with the\n`order_id`, `subscription_id` or `domain` filters.\n\nMeant for polling right after creating a website or starting a website setup: the\nwebsite shows up in the websites list before its server-side setup has finished, and\nwhile the setup is `running` endpoints that operate on that website may respond with\n`404` or `409`. Poll this endpoint with the `domain` filter every 10 to 15 seconds and\nwait for `status: completed` before uploading files, deploying or creating databases.\n`failed` means the setup stopped before finishing or has not reported progress for\nover an hour, and `error.message` then explains why when the reason is known (`null`\notherwise). Setups older than 24 hours are not listed.\n\n`type` is the website type the setup was started with (`wordpress`, `headless_empty`,\n`headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`), or `null` for an empty\nwebsite.",
|
|
3604
3604
|
"method": "GET",
|
|
3605
3605
|
"path": "/api/hosting/v1/onboardings",
|
|
3606
3606
|
"inputSchema": {
|
|
@@ -3620,7 +3620,7 @@ const tools: OpenApiTool[] = [
|
|
|
3620
3620
|
"readOnlyHint": true,
|
|
3621
3621
|
"destructiveHint": false
|
|
3622
3622
|
},
|
|
3623
|
-
"description": "Returns the website setups started in the last 24 hours for the hosting accounts\naccessible to the authenticated client, newest first. Narrow the list with the\n`order_id`, `subscription_id` or `domain` filters.\n\nMeant for polling right after creating a website or starting a website setup: the\nwebsite shows up in the websites list before its server-side setup has finished, and\nwhile the setup is `running` endpoints that operate on that website may respond with\n`404` or `409`. Poll this endpoint with the `domain` filter every 10 to 15 seconds and\nwait for `status: completed` before uploading files, deploying or creating databases.\n`failed` means the setup stopped before finishing or has not reported progress for\nover an hour. Setups older than 24 hours are not listed.\n\n`type` is the website type the setup was started with (`wordpress`, `headless_empty`,\n`headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`), or `null` for an empty\nwebsite.",
|
|
3623
|
+
"description": "Returns the website setups started in the last 24 hours for the hosting accounts\naccessible to the authenticated client, newest first. Narrow the list with the\n`order_id`, `subscription_id` or `domain` filters.\n\nMeant for polling right after creating a website or starting a website setup: the\nwebsite shows up in the websites list before its server-side setup has finished, and\nwhile the setup is `running` endpoints that operate on that website may respond with\n`404` or `409`. Poll this endpoint with the `domain` filter every 10 to 15 seconds and\nwait for `status: completed` before uploading files, deploying or creating databases.\n`failed` means the setup stopped before finishing or has not reported progress for\nover an hour, and `error.message` then explains why when the reason is known (`null`\notherwise). Setups older than 24 hours are not listed.\n\n`type` is the website type the setup was started with (`wordpress`, `headless_empty`,\n`headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`), or `null` for an empty\nwebsite.",
|
|
3624
3624
|
"method": "GET",
|
|
3625
3625
|
"path": "/api/hosting/v1/onboardings",
|
|
3626
3626
|
"inputSchema": {
|
|
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
|
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
import instructions from '../core/instructions.agency-hosting.js';
|
|
6
6
|
|
|
7
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '6.
|
|
7
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '6.6.0', tools, instructions });
|
|
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
|
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
import instructions from '../core/instructions.agency-hosting.js';
|
|
6
6
|
|
|
7
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '6.
|
|
7
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '6.6.0', tools, instructions });
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agent-readiness.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agent-readiness-mcp', version: '6.
|
|
6
|
+
startServer({ name: 'hostinger-agent-readiness-mcp', version: '6.6.0', tools });
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agent-readiness.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agent-readiness-mcp', version: '6.
|
|
6
|
+
startServer({ name: 'hostinger-agent-readiness-mcp', version: '6.6.0', tools });
|
package/src/servers/all.js
CHANGED
|
@@ -5,4 +5,4 @@ import tools from '../core/tools/all.js';
|
|
|
5
5
|
import instructions from '../core/instructions.js';
|
|
6
6
|
import skills from '../core/skills.js';
|
|
7
7
|
|
|
8
|
-
startServer({ name: 'hostinger-api-mcp', version: '6.
|
|
8
|
+
startServer({ name: 'hostinger-api-mcp', version: '6.6.0', tools, instructions, skills });
|
package/src/servers/all.ts
CHANGED
|
@@ -5,4 +5,4 @@ import tools from '../core/tools/all.js';
|
|
|
5
5
|
import instructions from '../core/instructions.js';
|
|
6
6
|
import skills from '../core/skills.js';
|
|
7
7
|
|
|
8
|
-
startServer({ name: 'hostinger-api-mcp', version: '6.
|
|
8
|
+
startServer({ name: 'hostinger-api-mcp', version: '6.6.0', tools, instructions, skills });
|
package/src/servers/billing.js
CHANGED
package/src/servers/billing.ts
CHANGED
package/src/servers/dns.js
CHANGED
package/src/servers/dns.ts
CHANGED
package/src/servers/domains.js
CHANGED
package/src/servers/domains.ts
CHANGED
package/src/servers/ecommerce.js
CHANGED
package/src/servers/ecommerce.ts
CHANGED
package/src/servers/gpu.js
CHANGED
package/src/servers/gpu.ts
CHANGED
package/src/servers/hosting.js
CHANGED
|
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
|
|
|
4
4
|
import tools from '../core/tools/hosting.js';
|
|
5
5
|
import instructions from '../core/instructions.js';
|
|
6
6
|
|
|
7
|
-
startServer({ name: 'hostinger-hosting-mcp', version: '6.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '6.6.0', tools, instructions });
|
package/src/servers/hosting.ts
CHANGED
|
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
|
|
|
4
4
|
import tools from '../core/tools/hosting.js';
|
|
5
5
|
import instructions from '../core/instructions.js';
|
|
6
6
|
|
|
7
|
-
startServer({ name: 'hostinger-hosting-mcp', version: '6.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '6.6.0', tools, instructions });
|
package/src/servers/mail.js
CHANGED
package/src/servers/mail.ts
CHANGED
package/src/servers/reach.js
CHANGED
package/src/servers/reach.ts
CHANGED
package/src/servers/vps.js
CHANGED
package/src/servers/vps.ts
CHANGED
package/src/servers/wordpress.js
CHANGED
package/src/servers/wordpress.ts
CHANGED
package/types.d.ts
CHANGED
|
@@ -1750,6 +1750,127 @@ Use this endpoint to verify domain availability before purchase.
|
|
|
1750
1750
|
response: any; // Response structure will depend on the API
|
|
1751
1751
|
};
|
|
1752
1752
|
|
|
1753
|
+
/**
|
|
1754
|
+
* Delete a domain folder.
|
|
1755
|
+
|
|
1756
|
+
The domains in the folder are not deleted; they are only removed from the folder.
|
|
1757
|
+
|
|
1758
|
+
Use this endpoint to remove folders that are no longer needed.
|
|
1759
|
+
*/
|
|
1760
|
+
"domains_folders_delete": {
|
|
1761
|
+
params: {
|
|
1762
|
+
/**
|
|
1763
|
+
* Folder ID
|
|
1764
|
+
*/
|
|
1765
|
+
folderId: number;
|
|
1766
|
+
};
|
|
1767
|
+
response: any; // Response structure will depend on the API
|
|
1768
|
+
};
|
|
1769
|
+
|
|
1770
|
+
/**
|
|
1771
|
+
* Rename a domain folder or change its position in the folder list.
|
|
1772
|
+
|
|
1773
|
+
Only the fields sent are changed.
|
|
1774
|
+
|
|
1775
|
+
Use this endpoint to rename or reorder folders.
|
|
1776
|
+
*/
|
|
1777
|
+
"domains_folders_update": {
|
|
1778
|
+
params: {
|
|
1779
|
+
/**
|
|
1780
|
+
* Folder ID
|
|
1781
|
+
*/
|
|
1782
|
+
folderId: number;
|
|
1783
|
+
/**
|
|
1784
|
+
* Folder name, unique within the account
|
|
1785
|
+
*/
|
|
1786
|
+
name?: string;
|
|
1787
|
+
/**
|
|
1788
|
+
* Zero-based position in the folder list. Other folders shift to make room; a value past the end
|
|
1789
|
+
places the folder last.
|
|
1790
|
+
*/
|
|
1791
|
+
sort_order?: number;
|
|
1792
|
+
};
|
|
1793
|
+
response: any; // Response structure will depend on the API
|
|
1794
|
+
};
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* Add domains to a domain folder.
|
|
1798
|
+
|
|
1799
|
+
A domain is in one of your folders at a time: adding it to this folder removes it from your other folders.
|
|
1800
|
+
Domains that are not in your portfolio are skipped.
|
|
1801
|
+
|
|
1802
|
+
Use this endpoint to group domains of the portfolio in a folder.
|
|
1803
|
+
*/
|
|
1804
|
+
"domains_folders_add-to": {
|
|
1805
|
+
params: {
|
|
1806
|
+
/**
|
|
1807
|
+
* Folder ID
|
|
1808
|
+
*/
|
|
1809
|
+
folderId: number;
|
|
1810
|
+
/**
|
|
1811
|
+
* Domain names
|
|
1812
|
+
*/
|
|
1813
|
+
domains: array;
|
|
1814
|
+
};
|
|
1815
|
+
response: any; // Response structure will depend on the API
|
|
1816
|
+
};
|
|
1817
|
+
|
|
1818
|
+
/**
|
|
1819
|
+
* Remove domains from a domain folder.
|
|
1820
|
+
|
|
1821
|
+
The domains stay in your portfolio. Domains that are not in the folder are skipped.
|
|
1822
|
+
|
|
1823
|
+
Use this endpoint to take domains out of a folder.
|
|
1824
|
+
*/
|
|
1825
|
+
"domains_folders_remove-from": {
|
|
1826
|
+
params: {
|
|
1827
|
+
/**
|
|
1828
|
+
* Folder ID
|
|
1829
|
+
*/
|
|
1830
|
+
folderId: number;
|
|
1831
|
+
/**
|
|
1832
|
+
* Domain names
|
|
1833
|
+
*/
|
|
1834
|
+
domains: array;
|
|
1835
|
+
};
|
|
1836
|
+
response: any; // Response structure will depend on the API
|
|
1837
|
+
};
|
|
1838
|
+
|
|
1839
|
+
/**
|
|
1840
|
+
* Retrieve the domain folders of your account.
|
|
1841
|
+
|
|
1842
|
+
Use this endpoint to view how domains in the portfolio are organized.
|
|
1843
|
+
*/
|
|
1844
|
+
"domains_folders_list": {
|
|
1845
|
+
params: {
|
|
1846
|
+
|
|
1847
|
+
};
|
|
1848
|
+
response: any; // Response structure will depend on the API
|
|
1849
|
+
};
|
|
1850
|
+
|
|
1851
|
+
/**
|
|
1852
|
+
* Create a domain folder.
|
|
1853
|
+
|
|
1854
|
+
Folder names are unique within an account, and an account can have up to 50 folders.
|
|
1855
|
+
|
|
1856
|
+
Use this endpoint to group domains in the portfolio.
|
|
1857
|
+
*/
|
|
1858
|
+
"domains_folders_create": {
|
|
1859
|
+
params: {
|
|
1860
|
+
/**
|
|
1861
|
+
* Folder name, unique within the account
|
|
1862
|
+
*/
|
|
1863
|
+
name: string;
|
|
1864
|
+
/**
|
|
1865
|
+
* Zero-based position in the folder list. Other folders shift to make room; a value past the end
|
|
1866
|
+
places the folder last.
|
|
1867
|
+
Defaults to the end of the list.
|
|
1868
|
+
*/
|
|
1869
|
+
sort_order?: number;
|
|
1870
|
+
};
|
|
1871
|
+
response: any; // Response structure will depend on the API
|
|
1872
|
+
};
|
|
1873
|
+
|
|
1753
1874
|
/**
|
|
1754
1875
|
* Retrieve domain forwarding data.
|
|
1755
1876
|
|
|
@@ -2184,6 +2305,9 @@ A domain held for verification before it is registered has `status: pending_veri
|
|
|
2184
2305
|
and its `verification` field says what registration waits for: a manual review, an SMS code,
|
|
2185
2306
|
or owner contact verification.
|
|
2186
2307
|
|
|
2308
|
+
Each domain's `folders` lists the [domain folders](#tag/domains-folders) it is in. It is empty for
|
|
2309
|
+
items whose `type` is not `domain`.
|
|
2310
|
+
|
|
2187
2311
|
Use this endpoint to view user's domain portfolio.
|
|
2188
2312
|
*/
|
|
2189
2313
|
"domains_portfolio_list": {
|
|
@@ -5424,7 +5548,8 @@ while the setup is `running` endpoints that operate on that website may respond
|
|
|
5424
5548
|
`404` or `409`. Poll this endpoint with the `domain` filter every 10 to 15 seconds and
|
|
5425
5549
|
wait for `status: completed` before uploading files, deploying or creating databases.
|
|
5426
5550
|
`failed` means the setup stopped before finishing or has not reported progress for
|
|
5427
|
-
over an hour.
|
|
5551
|
+
over an hour, and `error.message` then explains why when the reason is known (`null`
|
|
5552
|
+
otherwise). Setups older than 24 hours are not listed.
|
|
5428
5553
|
|
|
5429
5554
|
`type` is the website type the setup was started with (`wordpress`, `headless_empty`,
|
|
5430
5555
|
`headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`), or `null` for an empty
|