hostinger-api-mcp 1.22.0 → 1.23.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 +64 -5
- 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 +192 -3
- package/src/core/tools/all.ts +192 -3
- package/src/core/tools/hosting.js +3 -3
- package/src/core/tools/hosting.ts +3 -3
- package/src/core/tools/mail.js +189 -0
- package/src/core/tools/mail.ts +189 -0
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.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/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/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 +124 -3
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ pnpm update -g hostinger-api-mcp
|
|
|
49
49
|
|
|
50
50
|
This package installs the following MCP server commands:
|
|
51
51
|
|
|
52
|
-
- `hostinger-api-mcp` — unified server with every tool (
|
|
52
|
+
- `hostinger-api-mcp` — unified server with every tool (275 total)
|
|
53
53
|
- `hostinger-agency-hosting-mcp` — 27 tools for agency-hosting
|
|
54
54
|
- `hostinger-billing-mcp` — 8 tools for billing
|
|
55
55
|
- `hostinger-dns-mcp` — 8 tools for dns
|
|
@@ -57,7 +57,7 @@ This package installs the following MCP server commands:
|
|
|
57
57
|
- `hostinger-ecommerce-mcp` — 12 tools for ecommerce
|
|
58
58
|
- `hostinger-horizons-mcp` — 2 tools for horizons
|
|
59
59
|
- `hostinger-hosting-mcp` — 48 tools for hosting
|
|
60
|
-
- `hostinger-mail-mcp` —
|
|
60
|
+
- `hostinger-mail-mcp` — 38 tools for mail
|
|
61
61
|
- `hostinger-reach-mcp` — 12 tools for reach
|
|
62
62
|
- `hostinger-vps-mcp` — 62 tools for vps
|
|
63
63
|
- `hostinger-wordpress-mcp` — 35 tools for wordpress
|
|
@@ -1178,7 +1178,7 @@ The database name must be the full name returned by the list databases endpoint.
|
|
|
1178
1178
|
- **Method**: `DELETE`
|
|
1179
1179
|
- **Path**: `/api/hosting/v1/accounts/{username}/databases/{name}`
|
|
1180
1180
|
|
|
1181
|
-
####
|
|
1181
|
+
#### hosting_createDatabaseRemoteConnectionV1
|
|
1182
1182
|
|
|
1183
1183
|
Allows a remote host to connect to the specified database.
|
|
1184
1184
|
|
|
@@ -1188,7 +1188,7 @@ the full name returned by the list databases endpoint.
|
|
|
1188
1188
|
- **Method**: `POST`
|
|
1189
1189
|
- **Path**: `/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections`
|
|
1190
1190
|
|
|
1191
|
-
####
|
|
1191
|
+
#### hosting_deleteDatabaseRemoteConnectionV1
|
|
1192
1192
|
|
|
1193
1193
|
Permanently removes a remote-access rule, revoking the given host's remote access to the database.
|
|
1194
1194
|
|
|
@@ -1199,7 +1199,7 @@ the full name returned by the list databases endpoint.
|
|
|
1199
1199
|
- **Method**: `DELETE`
|
|
1200
1200
|
- **Path**: `/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections`
|
|
1201
1201
|
|
|
1202
|
-
####
|
|
1202
|
+
#### hosting_listDatabaseRemoteConnectionsV1
|
|
1203
1203
|
|
|
1204
1204
|
Returns the remote-access rules for the specified account: the remote hosts
|
|
1205
1205
|
(IPv4/IPv6 addresses, or "%" for any host) allowed to connect to the account databases.
|
|
@@ -1554,6 +1554,31 @@ complete. The response returns before the removal finishes.
|
|
|
1554
1554
|
|
|
1555
1555
|
### `hostinger-mail-mcp`
|
|
1556
1556
|
|
|
1557
|
+
#### mail_createAliasV1
|
|
1558
|
+
|
|
1559
|
+
Create an alias for the given mailbox. The alias address is formed
|
|
1560
|
+
from the given local part and the domain of the mailbox. Messages
|
|
1561
|
+
sent to the alias are delivered to the mailbox.
|
|
1562
|
+
|
|
1563
|
+
- **Method**: `POST`
|
|
1564
|
+
- **Path**: `/api/mail/v1/mailboxes/{mailboxId}/aliases`
|
|
1565
|
+
|
|
1566
|
+
#### mail_deleteAliasV1
|
|
1567
|
+
|
|
1568
|
+
Delete an alias. Messages sent to the alias address are no longer
|
|
1569
|
+
delivered to the mailbox.
|
|
1570
|
+
|
|
1571
|
+
- **Method**: `DELETE`
|
|
1572
|
+
- **Path**: `/api/mail/v1/aliases/{aliasId}`
|
|
1573
|
+
|
|
1574
|
+
#### mail_listAliasesV1
|
|
1575
|
+
|
|
1576
|
+
Retrieve a paginated list of aliases across all mailboxes of a mail
|
|
1577
|
+
order.
|
|
1578
|
+
|
|
1579
|
+
- **Method**: `GET`
|
|
1580
|
+
- **Path**: `/api/mail/v1/orders/{orderId}/aliases`
|
|
1581
|
+
|
|
1557
1582
|
#### mail_createAPITokenV1
|
|
1558
1583
|
|
|
1559
1584
|
Create an API token for the given mail order. The token grants access
|
|
@@ -1622,6 +1647,40 @@ mail order.
|
|
|
1622
1647
|
- **Method**: `GET`
|
|
1623
1648
|
- **Path**: `/api/mail/v1/orders/{orderId}/autoreplies`
|
|
1624
1649
|
|
|
1650
|
+
#### mail_createCatchAllV1
|
|
1651
|
+
|
|
1652
|
+
Create a catch-all that routes all messages sent to unknown addresses
|
|
1653
|
+
of the domain to the given mailbox. The mailbox address receives a
|
|
1654
|
+
confirmation email and the catch-all becomes active only after it is
|
|
1655
|
+
confirmed. A domain can have only one catch-all.
|
|
1656
|
+
|
|
1657
|
+
- **Method**: `POST`
|
|
1658
|
+
- **Path**: `/api/mail/v1/mailboxes/{mailboxId}/catchalls`
|
|
1659
|
+
|
|
1660
|
+
#### mail_deleteCatchAllV1
|
|
1661
|
+
|
|
1662
|
+
Delete a catch-all. Messages sent to unknown addresses of the domain
|
|
1663
|
+
are no longer routed to the mailbox.
|
|
1664
|
+
|
|
1665
|
+
- **Method**: `DELETE`
|
|
1666
|
+
- **Path**: `/api/mail/v1/catchalls/{catchallId}`
|
|
1667
|
+
|
|
1668
|
+
#### mail_listCatchAllsV1
|
|
1669
|
+
|
|
1670
|
+
Retrieve a paginated list of catch-alls across all mailboxes of a
|
|
1671
|
+
mail order.
|
|
1672
|
+
|
|
1673
|
+
- **Method**: `GET`
|
|
1674
|
+
- **Path**: `/api/mail/v1/orders/{orderId}/catchalls`
|
|
1675
|
+
|
|
1676
|
+
#### mail_resendCatchAllConfirmationV1
|
|
1677
|
+
|
|
1678
|
+
Resend the confirmation email to the mailbox address of an
|
|
1679
|
+
unconfirmed catch-all.
|
|
1680
|
+
|
|
1681
|
+
- **Method**: `POST`
|
|
1682
|
+
- **Path**: `/api/mail/v1/catchalls/{catchallId}/confirmation/resend`
|
|
1683
|
+
|
|
1625
1684
|
#### mail_createForwarderV1
|
|
1626
1685
|
|
|
1627
1686
|
Create a forwarder from the given mailbox to the destination address.
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/hostinger/api-mcp-server",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "1.
|
|
9
|
+
"version": "1.23.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.23.0",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
package/src/core/tools/all.js
CHANGED
|
@@ -3221,7 +3221,7 @@ export default [
|
|
|
3221
3221
|
"group": "hosting"
|
|
3222
3222
|
},
|
|
3223
3223
|
{
|
|
3224
|
-
"name": "
|
|
3224
|
+
"name": "hosting_createDatabaseRemoteConnectionV1",
|
|
3225
3225
|
"description": "Allows a remote host to connect to the specified database.\n\nProvide an IPv4/IPv6 address, or \"%\" to allow any host. The database name must be\nthe full name returned by the list databases endpoint.",
|
|
3226
3226
|
"method": "POST",
|
|
3227
3227
|
"path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
|
|
@@ -3255,7 +3255,7 @@ export default [
|
|
|
3255
3255
|
"group": "hosting"
|
|
3256
3256
|
},
|
|
3257
3257
|
{
|
|
3258
|
-
"name": "
|
|
3258
|
+
"name": "hosting_deleteDatabaseRemoteConnectionV1",
|
|
3259
3259
|
"description": "Permanently removes a remote-access rule, revoking the given host's remote access to the database.\n\nIdentify the rule with the required ip query parameter (the IPv4/IPv6 address, or \"%\",\nexactly as returned by the list remote connections endpoint). The database name must be\nthe full name returned by the list databases endpoint.",
|
|
3260
3260
|
"method": "DELETE",
|
|
3261
3261
|
"path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
|
|
@@ -3289,7 +3289,7 @@ export default [
|
|
|
3289
3289
|
"group": "hosting"
|
|
3290
3290
|
},
|
|
3291
3291
|
{
|
|
3292
|
-
"name": "
|
|
3292
|
+
"name": "hosting_listDatabaseRemoteConnectionsV1",
|
|
3293
3293
|
"description": "Returns the remote-access rules for the specified account: the remote hosts\n(IPv4/IPv6 addresses, or \"%\" for any host) allowed to connect to the account databases.\n\nUse the domain filter to only return rules for databases assigned to a specific domain.",
|
|
3294
3294
|
"method": "GET",
|
|
3295
3295
|
"path": "/api/hosting/v1/accounts/{username}/databases/remote-connections",
|
|
@@ -4273,6 +4273,91 @@ export default [
|
|
|
4273
4273
|
],
|
|
4274
4274
|
"group": "hosting"
|
|
4275
4275
|
},
|
|
4276
|
+
{
|
|
4277
|
+
"name": "mail_createAliasV1",
|
|
4278
|
+
"description": "Create an alias for the given mailbox. The alias address is formed\nfrom the given local part and the domain of the mailbox. Messages\nsent to the alias are delivered to the mailbox.",
|
|
4279
|
+
"method": "POST",
|
|
4280
|
+
"path": "/api/mail/v1/mailboxes/{mailboxId}/aliases",
|
|
4281
|
+
"inputSchema": {
|
|
4282
|
+
"type": "object",
|
|
4283
|
+
"properties": {
|
|
4284
|
+
"mailboxId": {
|
|
4285
|
+
"type": "string",
|
|
4286
|
+
"description": "Mailbox resource ID"
|
|
4287
|
+
},
|
|
4288
|
+
"local_part": {
|
|
4289
|
+
"type": "string",
|
|
4290
|
+
"description": "Local part of the alias address (the part before the @). The domain is taken from the mailbox. Case-insensitive and stored lowercase; must start and end with a letter or digit; single dots, underscores and hyphens are allowed in between."
|
|
4291
|
+
}
|
|
4292
|
+
},
|
|
4293
|
+
"required": [
|
|
4294
|
+
"mailboxId",
|
|
4295
|
+
"local_part"
|
|
4296
|
+
]
|
|
4297
|
+
},
|
|
4298
|
+
"security": [
|
|
4299
|
+
{
|
|
4300
|
+
"apiToken": []
|
|
4301
|
+
}
|
|
4302
|
+
],
|
|
4303
|
+
"group": "mail"
|
|
4304
|
+
},
|
|
4305
|
+
{
|
|
4306
|
+
"name": "mail_deleteAliasV1",
|
|
4307
|
+
"description": "Delete an alias. Messages sent to the alias address are no longer\ndelivered to the mailbox.",
|
|
4308
|
+
"method": "DELETE",
|
|
4309
|
+
"path": "/api/mail/v1/aliases/{aliasId}",
|
|
4310
|
+
"inputSchema": {
|
|
4311
|
+
"type": "object",
|
|
4312
|
+
"properties": {
|
|
4313
|
+
"aliasId": {
|
|
4314
|
+
"type": "string",
|
|
4315
|
+
"description": "Alias resource ID"
|
|
4316
|
+
}
|
|
4317
|
+
},
|
|
4318
|
+
"required": [
|
|
4319
|
+
"aliasId"
|
|
4320
|
+
]
|
|
4321
|
+
},
|
|
4322
|
+
"security": [
|
|
4323
|
+
{
|
|
4324
|
+
"apiToken": []
|
|
4325
|
+
}
|
|
4326
|
+
],
|
|
4327
|
+
"group": "mail"
|
|
4328
|
+
},
|
|
4329
|
+
{
|
|
4330
|
+
"name": "mail_listAliasesV1",
|
|
4331
|
+
"description": "Retrieve a paginated list of aliases across all mailboxes of a mail\norder.",
|
|
4332
|
+
"method": "GET",
|
|
4333
|
+
"path": "/api/mail/v1/orders/{orderId}/aliases",
|
|
4334
|
+
"inputSchema": {
|
|
4335
|
+
"type": "object",
|
|
4336
|
+
"properties": {
|
|
4337
|
+
"orderId": {
|
|
4338
|
+
"type": "string",
|
|
4339
|
+
"description": "Order resource ID"
|
|
4340
|
+
},
|
|
4341
|
+
"page": {
|
|
4342
|
+
"type": "integer",
|
|
4343
|
+
"description": "Page number"
|
|
4344
|
+
},
|
|
4345
|
+
"per_page": {
|
|
4346
|
+
"type": "integer",
|
|
4347
|
+
"description": "Number of items per page"
|
|
4348
|
+
}
|
|
4349
|
+
},
|
|
4350
|
+
"required": [
|
|
4351
|
+
"orderId"
|
|
4352
|
+
]
|
|
4353
|
+
},
|
|
4354
|
+
"security": [
|
|
4355
|
+
{
|
|
4356
|
+
"apiToken": []
|
|
4357
|
+
}
|
|
4358
|
+
],
|
|
4359
|
+
"group": "mail"
|
|
4360
|
+
},
|
|
4276
4361
|
{
|
|
4277
4362
|
"name": "mail_createAPITokenV1",
|
|
4278
4363
|
"description": "Create an API token for the given mail order. The token grants access\nto the [Hostinger Email API](https://api.mail.hostinger.com/), where\nyou can provision and manage the mailboxes it is scoped to.\n\nThe plaintext token is returned only in this response, never again.\nA maximum of 10 tokens can exist per order. Use\n`scope.has_all_mailboxes` to cover all current and future mailboxes,\nor list specific mailboxes in `scope.mailbox_ids`.",
|
|
@@ -4526,6 +4611,110 @@ export default [
|
|
|
4526
4611
|
],
|
|
4527
4612
|
"group": "mail"
|
|
4528
4613
|
},
|
|
4614
|
+
{
|
|
4615
|
+
"name": "mail_createCatchAllV1",
|
|
4616
|
+
"description": "Create a catch-all that routes all messages sent to unknown addresses\nof the domain to the given mailbox. The mailbox address receives a\nconfirmation email and the catch-all becomes active only after it is\nconfirmed. A domain can have only one catch-all.",
|
|
4617
|
+
"method": "POST",
|
|
4618
|
+
"path": "/api/mail/v1/mailboxes/{mailboxId}/catchalls",
|
|
4619
|
+
"inputSchema": {
|
|
4620
|
+
"type": "object",
|
|
4621
|
+
"properties": {
|
|
4622
|
+
"mailboxId": {
|
|
4623
|
+
"type": "string",
|
|
4624
|
+
"description": "Mailbox resource ID"
|
|
4625
|
+
}
|
|
4626
|
+
},
|
|
4627
|
+
"required": [
|
|
4628
|
+
"mailboxId"
|
|
4629
|
+
]
|
|
4630
|
+
},
|
|
4631
|
+
"security": [
|
|
4632
|
+
{
|
|
4633
|
+
"apiToken": []
|
|
4634
|
+
}
|
|
4635
|
+
],
|
|
4636
|
+
"group": "mail"
|
|
4637
|
+
},
|
|
4638
|
+
{
|
|
4639
|
+
"name": "mail_deleteCatchAllV1",
|
|
4640
|
+
"description": "Delete a catch-all. Messages sent to unknown addresses of the domain\nare no longer routed to the mailbox.",
|
|
4641
|
+
"method": "DELETE",
|
|
4642
|
+
"path": "/api/mail/v1/catchalls/{catchallId}",
|
|
4643
|
+
"inputSchema": {
|
|
4644
|
+
"type": "object",
|
|
4645
|
+
"properties": {
|
|
4646
|
+
"catchallId": {
|
|
4647
|
+
"type": "string",
|
|
4648
|
+
"description": "Catch-all resource ID"
|
|
4649
|
+
}
|
|
4650
|
+
},
|
|
4651
|
+
"required": [
|
|
4652
|
+
"catchallId"
|
|
4653
|
+
]
|
|
4654
|
+
},
|
|
4655
|
+
"security": [
|
|
4656
|
+
{
|
|
4657
|
+
"apiToken": []
|
|
4658
|
+
}
|
|
4659
|
+
],
|
|
4660
|
+
"group": "mail"
|
|
4661
|
+
},
|
|
4662
|
+
{
|
|
4663
|
+
"name": "mail_listCatchAllsV1",
|
|
4664
|
+
"description": "Retrieve a paginated list of catch-alls across all mailboxes of a\nmail order.",
|
|
4665
|
+
"method": "GET",
|
|
4666
|
+
"path": "/api/mail/v1/orders/{orderId}/catchalls",
|
|
4667
|
+
"inputSchema": {
|
|
4668
|
+
"type": "object",
|
|
4669
|
+
"properties": {
|
|
4670
|
+
"orderId": {
|
|
4671
|
+
"type": "string",
|
|
4672
|
+
"description": "Order resource ID"
|
|
4673
|
+
},
|
|
4674
|
+
"page": {
|
|
4675
|
+
"type": "integer",
|
|
4676
|
+
"description": "Page number"
|
|
4677
|
+
},
|
|
4678
|
+
"per_page": {
|
|
4679
|
+
"type": "integer",
|
|
4680
|
+
"description": "Number of items per page"
|
|
4681
|
+
}
|
|
4682
|
+
},
|
|
4683
|
+
"required": [
|
|
4684
|
+
"orderId"
|
|
4685
|
+
]
|
|
4686
|
+
},
|
|
4687
|
+
"security": [
|
|
4688
|
+
{
|
|
4689
|
+
"apiToken": []
|
|
4690
|
+
}
|
|
4691
|
+
],
|
|
4692
|
+
"group": "mail"
|
|
4693
|
+
},
|
|
4694
|
+
{
|
|
4695
|
+
"name": "mail_resendCatchAllConfirmationV1",
|
|
4696
|
+
"description": "Resend the confirmation email to the mailbox address of an\nunconfirmed catch-all.",
|
|
4697
|
+
"method": "POST",
|
|
4698
|
+
"path": "/api/mail/v1/catchalls/{catchallId}/confirmation/resend",
|
|
4699
|
+
"inputSchema": {
|
|
4700
|
+
"type": "object",
|
|
4701
|
+
"properties": {
|
|
4702
|
+
"catchallId": {
|
|
4703
|
+
"type": "string",
|
|
4704
|
+
"description": "Catch-all resource ID"
|
|
4705
|
+
}
|
|
4706
|
+
},
|
|
4707
|
+
"required": [
|
|
4708
|
+
"catchallId"
|
|
4709
|
+
]
|
|
4710
|
+
},
|
|
4711
|
+
"security": [
|
|
4712
|
+
{
|
|
4713
|
+
"apiToken": []
|
|
4714
|
+
}
|
|
4715
|
+
],
|
|
4716
|
+
"group": "mail"
|
|
4717
|
+
},
|
|
4529
4718
|
{
|
|
4530
4719
|
"name": "mail_createForwarderV1",
|
|
4531
4720
|
"description": "Create a forwarder from the given mailbox to the destination address.\nThe destination receives a confirmation email and forwarding becomes\nactive only after it is confirmed.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -3235,7 +3235,7 @@ const tools: OpenApiTool[] = [
|
|
|
3235
3235
|
"group": "hosting"
|
|
3236
3236
|
},
|
|
3237
3237
|
{
|
|
3238
|
-
"name": "
|
|
3238
|
+
"name": "hosting_createDatabaseRemoteConnectionV1",
|
|
3239
3239
|
"description": "Allows a remote host to connect to the specified database.\n\nProvide an IPv4/IPv6 address, or \"%\" to allow any host. The database name must be\nthe full name returned by the list databases endpoint.",
|
|
3240
3240
|
"method": "POST",
|
|
3241
3241
|
"path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
|
|
@@ -3269,7 +3269,7 @@ const tools: OpenApiTool[] = [
|
|
|
3269
3269
|
"group": "hosting"
|
|
3270
3270
|
},
|
|
3271
3271
|
{
|
|
3272
|
-
"name": "
|
|
3272
|
+
"name": "hosting_deleteDatabaseRemoteConnectionV1",
|
|
3273
3273
|
"description": "Permanently removes a remote-access rule, revoking the given host's remote access to the database.\n\nIdentify the rule with the required ip query parameter (the IPv4/IPv6 address, or \"%\",\nexactly as returned by the list remote connections endpoint). The database name must be\nthe full name returned by the list databases endpoint.",
|
|
3274
3274
|
"method": "DELETE",
|
|
3275
3275
|
"path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
|
|
@@ -3303,7 +3303,7 @@ const tools: OpenApiTool[] = [
|
|
|
3303
3303
|
"group": "hosting"
|
|
3304
3304
|
},
|
|
3305
3305
|
{
|
|
3306
|
-
"name": "
|
|
3306
|
+
"name": "hosting_listDatabaseRemoteConnectionsV1",
|
|
3307
3307
|
"description": "Returns the remote-access rules for the specified account: the remote hosts\n(IPv4/IPv6 addresses, or \"%\" for any host) allowed to connect to the account databases.\n\nUse the domain filter to only return rules for databases assigned to a specific domain.",
|
|
3308
3308
|
"method": "GET",
|
|
3309
3309
|
"path": "/api/hosting/v1/accounts/{username}/databases/remote-connections",
|
|
@@ -4287,6 +4287,91 @@ const tools: OpenApiTool[] = [
|
|
|
4287
4287
|
],
|
|
4288
4288
|
"group": "hosting"
|
|
4289
4289
|
},
|
|
4290
|
+
{
|
|
4291
|
+
"name": "mail_createAliasV1",
|
|
4292
|
+
"description": "Create an alias for the given mailbox. The alias address is formed\nfrom the given local part and the domain of the mailbox. Messages\nsent to the alias are delivered to the mailbox.",
|
|
4293
|
+
"method": "POST",
|
|
4294
|
+
"path": "/api/mail/v1/mailboxes/{mailboxId}/aliases",
|
|
4295
|
+
"inputSchema": {
|
|
4296
|
+
"type": "object",
|
|
4297
|
+
"properties": {
|
|
4298
|
+
"mailboxId": {
|
|
4299
|
+
"type": "string",
|
|
4300
|
+
"description": "Mailbox resource ID"
|
|
4301
|
+
},
|
|
4302
|
+
"local_part": {
|
|
4303
|
+
"type": "string",
|
|
4304
|
+
"description": "Local part of the alias address (the part before the @). The domain is taken from the mailbox. Case-insensitive and stored lowercase; must start and end with a letter or digit; single dots, underscores and hyphens are allowed in between."
|
|
4305
|
+
}
|
|
4306
|
+
},
|
|
4307
|
+
"required": [
|
|
4308
|
+
"mailboxId",
|
|
4309
|
+
"local_part"
|
|
4310
|
+
]
|
|
4311
|
+
},
|
|
4312
|
+
"security": [
|
|
4313
|
+
{
|
|
4314
|
+
"apiToken": []
|
|
4315
|
+
}
|
|
4316
|
+
],
|
|
4317
|
+
"group": "mail"
|
|
4318
|
+
},
|
|
4319
|
+
{
|
|
4320
|
+
"name": "mail_deleteAliasV1",
|
|
4321
|
+
"description": "Delete an alias. Messages sent to the alias address are no longer\ndelivered to the mailbox.",
|
|
4322
|
+
"method": "DELETE",
|
|
4323
|
+
"path": "/api/mail/v1/aliases/{aliasId}",
|
|
4324
|
+
"inputSchema": {
|
|
4325
|
+
"type": "object",
|
|
4326
|
+
"properties": {
|
|
4327
|
+
"aliasId": {
|
|
4328
|
+
"type": "string",
|
|
4329
|
+
"description": "Alias resource ID"
|
|
4330
|
+
}
|
|
4331
|
+
},
|
|
4332
|
+
"required": [
|
|
4333
|
+
"aliasId"
|
|
4334
|
+
]
|
|
4335
|
+
},
|
|
4336
|
+
"security": [
|
|
4337
|
+
{
|
|
4338
|
+
"apiToken": []
|
|
4339
|
+
}
|
|
4340
|
+
],
|
|
4341
|
+
"group": "mail"
|
|
4342
|
+
},
|
|
4343
|
+
{
|
|
4344
|
+
"name": "mail_listAliasesV1",
|
|
4345
|
+
"description": "Retrieve a paginated list of aliases across all mailboxes of a mail\norder.",
|
|
4346
|
+
"method": "GET",
|
|
4347
|
+
"path": "/api/mail/v1/orders/{orderId}/aliases",
|
|
4348
|
+
"inputSchema": {
|
|
4349
|
+
"type": "object",
|
|
4350
|
+
"properties": {
|
|
4351
|
+
"orderId": {
|
|
4352
|
+
"type": "string",
|
|
4353
|
+
"description": "Order resource ID"
|
|
4354
|
+
},
|
|
4355
|
+
"page": {
|
|
4356
|
+
"type": "integer",
|
|
4357
|
+
"description": "Page number"
|
|
4358
|
+
},
|
|
4359
|
+
"per_page": {
|
|
4360
|
+
"type": "integer",
|
|
4361
|
+
"description": "Number of items per page"
|
|
4362
|
+
}
|
|
4363
|
+
},
|
|
4364
|
+
"required": [
|
|
4365
|
+
"orderId"
|
|
4366
|
+
]
|
|
4367
|
+
},
|
|
4368
|
+
"security": [
|
|
4369
|
+
{
|
|
4370
|
+
"apiToken": []
|
|
4371
|
+
}
|
|
4372
|
+
],
|
|
4373
|
+
"group": "mail"
|
|
4374
|
+
},
|
|
4290
4375
|
{
|
|
4291
4376
|
"name": "mail_createAPITokenV1",
|
|
4292
4377
|
"description": "Create an API token for the given mail order. The token grants access\nto the [Hostinger Email API](https://api.mail.hostinger.com/), where\nyou can provision and manage the mailboxes it is scoped to.\n\nThe plaintext token is returned only in this response, never again.\nA maximum of 10 tokens can exist per order. Use\n`scope.has_all_mailboxes` to cover all current and future mailboxes,\nor list specific mailboxes in `scope.mailbox_ids`.",
|
|
@@ -4540,6 +4625,110 @@ const tools: OpenApiTool[] = [
|
|
|
4540
4625
|
],
|
|
4541
4626
|
"group": "mail"
|
|
4542
4627
|
},
|
|
4628
|
+
{
|
|
4629
|
+
"name": "mail_createCatchAllV1",
|
|
4630
|
+
"description": "Create a catch-all that routes all messages sent to unknown addresses\nof the domain to the given mailbox. The mailbox address receives a\nconfirmation email and the catch-all becomes active only after it is\nconfirmed. A domain can have only one catch-all.",
|
|
4631
|
+
"method": "POST",
|
|
4632
|
+
"path": "/api/mail/v1/mailboxes/{mailboxId}/catchalls",
|
|
4633
|
+
"inputSchema": {
|
|
4634
|
+
"type": "object",
|
|
4635
|
+
"properties": {
|
|
4636
|
+
"mailboxId": {
|
|
4637
|
+
"type": "string",
|
|
4638
|
+
"description": "Mailbox resource ID"
|
|
4639
|
+
}
|
|
4640
|
+
},
|
|
4641
|
+
"required": [
|
|
4642
|
+
"mailboxId"
|
|
4643
|
+
]
|
|
4644
|
+
},
|
|
4645
|
+
"security": [
|
|
4646
|
+
{
|
|
4647
|
+
"apiToken": []
|
|
4648
|
+
}
|
|
4649
|
+
],
|
|
4650
|
+
"group": "mail"
|
|
4651
|
+
},
|
|
4652
|
+
{
|
|
4653
|
+
"name": "mail_deleteCatchAllV1",
|
|
4654
|
+
"description": "Delete a catch-all. Messages sent to unknown addresses of the domain\nare no longer routed to the mailbox.",
|
|
4655
|
+
"method": "DELETE",
|
|
4656
|
+
"path": "/api/mail/v1/catchalls/{catchallId}",
|
|
4657
|
+
"inputSchema": {
|
|
4658
|
+
"type": "object",
|
|
4659
|
+
"properties": {
|
|
4660
|
+
"catchallId": {
|
|
4661
|
+
"type": "string",
|
|
4662
|
+
"description": "Catch-all resource ID"
|
|
4663
|
+
}
|
|
4664
|
+
},
|
|
4665
|
+
"required": [
|
|
4666
|
+
"catchallId"
|
|
4667
|
+
]
|
|
4668
|
+
},
|
|
4669
|
+
"security": [
|
|
4670
|
+
{
|
|
4671
|
+
"apiToken": []
|
|
4672
|
+
}
|
|
4673
|
+
],
|
|
4674
|
+
"group": "mail"
|
|
4675
|
+
},
|
|
4676
|
+
{
|
|
4677
|
+
"name": "mail_listCatchAllsV1",
|
|
4678
|
+
"description": "Retrieve a paginated list of catch-alls across all mailboxes of a\nmail order.",
|
|
4679
|
+
"method": "GET",
|
|
4680
|
+
"path": "/api/mail/v1/orders/{orderId}/catchalls",
|
|
4681
|
+
"inputSchema": {
|
|
4682
|
+
"type": "object",
|
|
4683
|
+
"properties": {
|
|
4684
|
+
"orderId": {
|
|
4685
|
+
"type": "string",
|
|
4686
|
+
"description": "Order resource ID"
|
|
4687
|
+
},
|
|
4688
|
+
"page": {
|
|
4689
|
+
"type": "integer",
|
|
4690
|
+
"description": "Page number"
|
|
4691
|
+
},
|
|
4692
|
+
"per_page": {
|
|
4693
|
+
"type": "integer",
|
|
4694
|
+
"description": "Number of items per page"
|
|
4695
|
+
}
|
|
4696
|
+
},
|
|
4697
|
+
"required": [
|
|
4698
|
+
"orderId"
|
|
4699
|
+
]
|
|
4700
|
+
},
|
|
4701
|
+
"security": [
|
|
4702
|
+
{
|
|
4703
|
+
"apiToken": []
|
|
4704
|
+
}
|
|
4705
|
+
],
|
|
4706
|
+
"group": "mail"
|
|
4707
|
+
},
|
|
4708
|
+
{
|
|
4709
|
+
"name": "mail_resendCatchAllConfirmationV1",
|
|
4710
|
+
"description": "Resend the confirmation email to the mailbox address of an\nunconfirmed catch-all.",
|
|
4711
|
+
"method": "POST",
|
|
4712
|
+
"path": "/api/mail/v1/catchalls/{catchallId}/confirmation/resend",
|
|
4713
|
+
"inputSchema": {
|
|
4714
|
+
"type": "object",
|
|
4715
|
+
"properties": {
|
|
4716
|
+
"catchallId": {
|
|
4717
|
+
"type": "string",
|
|
4718
|
+
"description": "Catch-all resource ID"
|
|
4719
|
+
}
|
|
4720
|
+
},
|
|
4721
|
+
"required": [
|
|
4722
|
+
"catchallId"
|
|
4723
|
+
]
|
|
4724
|
+
},
|
|
4725
|
+
"security": [
|
|
4726
|
+
{
|
|
4727
|
+
"apiToken": []
|
|
4728
|
+
}
|
|
4729
|
+
],
|
|
4730
|
+
"group": "mail"
|
|
4731
|
+
},
|
|
4543
4732
|
{
|
|
4544
4733
|
"name": "mail_createForwarderV1",
|
|
4545
4734
|
"description": "Create a forwarder from the given mailbox to the destination address.\nThe destination receives a confirmation email and forwarding becomes\nactive only after it is confirmed.",
|
|
@@ -626,7 +626,7 @@ export default [
|
|
|
626
626
|
"group": "hosting"
|
|
627
627
|
},
|
|
628
628
|
{
|
|
629
|
-
"name": "
|
|
629
|
+
"name": "hosting_createDatabaseRemoteConnectionV1",
|
|
630
630
|
"description": "Allows a remote host to connect to the specified database.\n\nProvide an IPv4/IPv6 address, or \"%\" to allow any host. The database name must be\nthe full name returned by the list databases endpoint.",
|
|
631
631
|
"method": "POST",
|
|
632
632
|
"path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
|
|
@@ -660,7 +660,7 @@ export default [
|
|
|
660
660
|
"group": "hosting"
|
|
661
661
|
},
|
|
662
662
|
{
|
|
663
|
-
"name": "
|
|
663
|
+
"name": "hosting_deleteDatabaseRemoteConnectionV1",
|
|
664
664
|
"description": "Permanently removes a remote-access rule, revoking the given host's remote access to the database.\n\nIdentify the rule with the required ip query parameter (the IPv4/IPv6 address, or \"%\",\nexactly as returned by the list remote connections endpoint). The database name must be\nthe full name returned by the list databases endpoint.",
|
|
665
665
|
"method": "DELETE",
|
|
666
666
|
"path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
|
|
@@ -694,7 +694,7 @@ export default [
|
|
|
694
694
|
"group": "hosting"
|
|
695
695
|
},
|
|
696
696
|
{
|
|
697
|
-
"name": "
|
|
697
|
+
"name": "hosting_listDatabaseRemoteConnectionsV1",
|
|
698
698
|
"description": "Returns the remote-access rules for the specified account: the remote hosts\n(IPv4/IPv6 addresses, or \"%\" for any host) allowed to connect to the account databases.\n\nUse the domain filter to only return rules for databases assigned to a specific domain.",
|
|
699
699
|
"method": "GET",
|
|
700
700
|
"path": "/api/hosting/v1/accounts/{username}/databases/remote-connections",
|