hostinger-api-mcp 1.9.0 → 1.11.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 +41 -2
- 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 +103 -0
- package/src/core/tools/all.ts +103 -0
- package/src/core/tools/domains.js +103 -0
- package/src/core/tools/domains.ts +103 -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 +68 -0
package/README.md
CHANGED
|
@@ -49,11 +49,11 @@ 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 (228 total)
|
|
53
53
|
- `hostinger-agency-hosting-mcp` — 18 tools for agency-hosting
|
|
54
54
|
- `hostinger-billing-mcp` — 7 tools for billing
|
|
55
55
|
- `hostinger-dns-mcp` — 8 tools for dns
|
|
56
|
-
- `hostinger-domains-mcp` —
|
|
56
|
+
- `hostinger-domains-mcp` — 23 tools for domains
|
|
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
|
|
@@ -577,6 +577,15 @@ Use this endpoint to view current redirect configuration for domains.
|
|
|
577
577
|
- **Method**: `GET`
|
|
578
578
|
- **Path**: `/api/domains/v1/forwarding/{domain}`
|
|
579
579
|
|
|
580
|
+
#### domains_updateDomainForwardingV1
|
|
581
|
+
|
|
582
|
+
Update domain forwarding configuration.
|
|
583
|
+
|
|
584
|
+
Use this endpoint to modify existing redirect configuration for domains.
|
|
585
|
+
|
|
586
|
+
- **Method**: `PUT`
|
|
587
|
+
- **Path**: `/api/domains/v1/forwarding/{domain}`
|
|
588
|
+
|
|
580
589
|
#### domains_deleteDomainForwardingV1
|
|
581
590
|
|
|
582
591
|
Delete domain forwarding data.
|
|
@@ -595,6 +604,18 @@ Use this endpoint to set up domain redirects to other URLs.
|
|
|
595
604
|
- **Method**: `POST`
|
|
596
605
|
- **Path**: `/api/domains/v1/forwarding`
|
|
597
606
|
|
|
607
|
+
#### domains_getDomainAuthorizationCodeV1
|
|
608
|
+
|
|
609
|
+
Retrieve the authorization (EPP) code for a specified domain so it can be transferred
|
|
610
|
+
away from Hostinger to another registrar.
|
|
611
|
+
|
|
612
|
+
Requesting a new code invalidates any code retrieved previously.
|
|
613
|
+
|
|
614
|
+
Use this endpoint to obtain the code required to transfer a domain to another registrar.
|
|
615
|
+
|
|
616
|
+
- **Method**: `GET`
|
|
617
|
+
- **Path**: `/api/domains/v1/portfolio/{domain}/auth-code`
|
|
618
|
+
|
|
598
619
|
#### domains_enableDomainLockV1
|
|
599
620
|
|
|
600
621
|
Enable domain lock for the domain.
|
|
@@ -697,6 +718,24 @@ Use this endpoint to configure custom DNS hosting for domains.
|
|
|
697
718
|
- **Method**: `PUT`
|
|
698
719
|
- **Path**: `/api/domains/v1/portfolio/{domain}/nameservers`
|
|
699
720
|
|
|
721
|
+
#### domains_getTransferV1
|
|
722
|
+
|
|
723
|
+
Retrieve the transfer for a specified domain.
|
|
724
|
+
|
|
725
|
+
Use this endpoint to track an incoming or outgoing registrar transfer and its status.
|
|
726
|
+
|
|
727
|
+
- **Method**: `GET`
|
|
728
|
+
- **Path**: `/api/domains/v1/transfers/{domain}`
|
|
729
|
+
|
|
730
|
+
#### domains_getTransferListV1
|
|
731
|
+
|
|
732
|
+
Retrieve all domain transfers in your portfolio.
|
|
733
|
+
|
|
734
|
+
Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
|
|
735
|
+
|
|
736
|
+
- **Method**: `GET`
|
|
737
|
+
- **Path**: `/api/domains/v1/transfers`
|
|
738
|
+
|
|
700
739
|
#### domains_getWHOISProfileV1
|
|
701
740
|
|
|
702
741
|
Retrieve a WHOIS contact profile.
|
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.11.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.11.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
|
@@ -1482,6 +1482,44 @@ export default [
|
|
|
1482
1482
|
],
|
|
1483
1483
|
"group": "domains"
|
|
1484
1484
|
},
|
|
1485
|
+
{
|
|
1486
|
+
"name": "domains_updateDomainForwardingV1",
|
|
1487
|
+
"description": "Update domain forwarding configuration.\n\nUse this endpoint to modify existing redirect configuration for domains.",
|
|
1488
|
+
"method": "PUT",
|
|
1489
|
+
"path": "/api/domains/v1/forwarding/{domain}",
|
|
1490
|
+
"inputSchema": {
|
|
1491
|
+
"type": "object",
|
|
1492
|
+
"properties": {
|
|
1493
|
+
"domain": {
|
|
1494
|
+
"type": "string",
|
|
1495
|
+
"description": "Domain name"
|
|
1496
|
+
},
|
|
1497
|
+
"redirect_type": {
|
|
1498
|
+
"type": "string",
|
|
1499
|
+
"description": "Redirect type",
|
|
1500
|
+
"enum": [
|
|
1501
|
+
"301",
|
|
1502
|
+
"302"
|
|
1503
|
+
]
|
|
1504
|
+
},
|
|
1505
|
+
"redirect_url": {
|
|
1506
|
+
"type": "string",
|
|
1507
|
+
"description": "URL to forward domain to"
|
|
1508
|
+
}
|
|
1509
|
+
},
|
|
1510
|
+
"required": [
|
|
1511
|
+
"domain",
|
|
1512
|
+
"redirect_type",
|
|
1513
|
+
"redirect_url"
|
|
1514
|
+
]
|
|
1515
|
+
},
|
|
1516
|
+
"security": [
|
|
1517
|
+
{
|
|
1518
|
+
"apiToken": []
|
|
1519
|
+
}
|
|
1520
|
+
],
|
|
1521
|
+
"group": "domains"
|
|
1522
|
+
},
|
|
1485
1523
|
{
|
|
1486
1524
|
"name": "domains_deleteDomainForwardingV1",
|
|
1487
1525
|
"description": "Delete domain forwarding data.\n\nUse this endpoint to remove redirect configuration from domains.",
|
|
@@ -1544,6 +1582,30 @@ export default [
|
|
|
1544
1582
|
],
|
|
1545
1583
|
"group": "domains"
|
|
1546
1584
|
},
|
|
1585
|
+
{
|
|
1586
|
+
"name": "domains_getDomainAuthorizationCodeV1",
|
|
1587
|
+
"description": "Retrieve the authorization (EPP) code for a specified domain so it can be transferred\naway from Hostinger to another registrar.\n\nRequesting a new code invalidates any code retrieved previously.\n\nUse this endpoint to obtain the code required to transfer a domain to another registrar.",
|
|
1588
|
+
"method": "GET",
|
|
1589
|
+
"path": "/api/domains/v1/portfolio/{domain}/auth-code",
|
|
1590
|
+
"inputSchema": {
|
|
1591
|
+
"type": "object",
|
|
1592
|
+
"properties": {
|
|
1593
|
+
"domain": {
|
|
1594
|
+
"type": "string",
|
|
1595
|
+
"description": "Domain name"
|
|
1596
|
+
}
|
|
1597
|
+
},
|
|
1598
|
+
"required": [
|
|
1599
|
+
"domain"
|
|
1600
|
+
]
|
|
1601
|
+
},
|
|
1602
|
+
"security": [
|
|
1603
|
+
{
|
|
1604
|
+
"apiToken": []
|
|
1605
|
+
}
|
|
1606
|
+
],
|
|
1607
|
+
"group": "domains"
|
|
1608
|
+
},
|
|
1547
1609
|
{
|
|
1548
1610
|
"name": "domains_enableDomainLockV1",
|
|
1549
1611
|
"description": "Enable domain lock for the domain.\n\nWhen domain lock is enabled,\nthe domain cannot be transferred to another registrar without first disabling the lock.\n\nUse this endpoint to secure domains against unauthorized transfers.",
|
|
@@ -1815,6 +1877,47 @@ export default [
|
|
|
1815
1877
|
],
|
|
1816
1878
|
"group": "domains"
|
|
1817
1879
|
},
|
|
1880
|
+
{
|
|
1881
|
+
"name": "domains_getTransferV1",
|
|
1882
|
+
"description": "Retrieve the transfer for a specified domain.\n\nUse this endpoint to track an incoming or outgoing registrar transfer and its status.",
|
|
1883
|
+
"method": "GET",
|
|
1884
|
+
"path": "/api/domains/v1/transfers/{domain}",
|
|
1885
|
+
"inputSchema": {
|
|
1886
|
+
"type": "object",
|
|
1887
|
+
"properties": {
|
|
1888
|
+
"domain": {
|
|
1889
|
+
"type": "string",
|
|
1890
|
+
"description": "Domain name"
|
|
1891
|
+
}
|
|
1892
|
+
},
|
|
1893
|
+
"required": [
|
|
1894
|
+
"domain"
|
|
1895
|
+
]
|
|
1896
|
+
},
|
|
1897
|
+
"security": [
|
|
1898
|
+
{
|
|
1899
|
+
"apiToken": []
|
|
1900
|
+
}
|
|
1901
|
+
],
|
|
1902
|
+
"group": "domains"
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
"name": "domains_getTransferListV1",
|
|
1906
|
+
"description": "Retrieve all domain transfers in your portfolio.\n\nUse this endpoint to monitor incoming and outgoing registrar transfers across your domains.",
|
|
1907
|
+
"method": "GET",
|
|
1908
|
+
"path": "/api/domains/v1/transfers",
|
|
1909
|
+
"inputSchema": {
|
|
1910
|
+
"type": "object",
|
|
1911
|
+
"properties": {},
|
|
1912
|
+
"required": []
|
|
1913
|
+
},
|
|
1914
|
+
"security": [
|
|
1915
|
+
{
|
|
1916
|
+
"apiToken": []
|
|
1917
|
+
}
|
|
1918
|
+
],
|
|
1919
|
+
"group": "domains"
|
|
1920
|
+
},
|
|
1818
1921
|
{
|
|
1819
1922
|
"name": "domains_getWHOISProfileV1",
|
|
1820
1923
|
"description": "Retrieve a WHOIS contact profile.\n\nUse this endpoint to view domain registration contact information.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -1496,6 +1496,44 @@ const tools: OpenApiTool[] = [
|
|
|
1496
1496
|
],
|
|
1497
1497
|
"group": "domains"
|
|
1498
1498
|
},
|
|
1499
|
+
{
|
|
1500
|
+
"name": "domains_updateDomainForwardingV1",
|
|
1501
|
+
"description": "Update domain forwarding configuration.\n\nUse this endpoint to modify existing redirect configuration for domains.",
|
|
1502
|
+
"method": "PUT",
|
|
1503
|
+
"path": "/api/domains/v1/forwarding/{domain}",
|
|
1504
|
+
"inputSchema": {
|
|
1505
|
+
"type": "object",
|
|
1506
|
+
"properties": {
|
|
1507
|
+
"domain": {
|
|
1508
|
+
"type": "string",
|
|
1509
|
+
"description": "Domain name"
|
|
1510
|
+
},
|
|
1511
|
+
"redirect_type": {
|
|
1512
|
+
"type": "string",
|
|
1513
|
+
"description": "Redirect type",
|
|
1514
|
+
"enum": [
|
|
1515
|
+
"301",
|
|
1516
|
+
"302"
|
|
1517
|
+
]
|
|
1518
|
+
},
|
|
1519
|
+
"redirect_url": {
|
|
1520
|
+
"type": "string",
|
|
1521
|
+
"description": "URL to forward domain to"
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
"required": [
|
|
1525
|
+
"domain",
|
|
1526
|
+
"redirect_type",
|
|
1527
|
+
"redirect_url"
|
|
1528
|
+
]
|
|
1529
|
+
},
|
|
1530
|
+
"security": [
|
|
1531
|
+
{
|
|
1532
|
+
"apiToken": []
|
|
1533
|
+
}
|
|
1534
|
+
],
|
|
1535
|
+
"group": "domains"
|
|
1536
|
+
},
|
|
1499
1537
|
{
|
|
1500
1538
|
"name": "domains_deleteDomainForwardingV1",
|
|
1501
1539
|
"description": "Delete domain forwarding data.\n\nUse this endpoint to remove redirect configuration from domains.",
|
|
@@ -1558,6 +1596,30 @@ const tools: OpenApiTool[] = [
|
|
|
1558
1596
|
],
|
|
1559
1597
|
"group": "domains"
|
|
1560
1598
|
},
|
|
1599
|
+
{
|
|
1600
|
+
"name": "domains_getDomainAuthorizationCodeV1",
|
|
1601
|
+
"description": "Retrieve the authorization (EPP) code for a specified domain so it can be transferred\naway from Hostinger to another registrar.\n\nRequesting a new code invalidates any code retrieved previously.\n\nUse this endpoint to obtain the code required to transfer a domain to another registrar.",
|
|
1602
|
+
"method": "GET",
|
|
1603
|
+
"path": "/api/domains/v1/portfolio/{domain}/auth-code",
|
|
1604
|
+
"inputSchema": {
|
|
1605
|
+
"type": "object",
|
|
1606
|
+
"properties": {
|
|
1607
|
+
"domain": {
|
|
1608
|
+
"type": "string",
|
|
1609
|
+
"description": "Domain name"
|
|
1610
|
+
}
|
|
1611
|
+
},
|
|
1612
|
+
"required": [
|
|
1613
|
+
"domain"
|
|
1614
|
+
]
|
|
1615
|
+
},
|
|
1616
|
+
"security": [
|
|
1617
|
+
{
|
|
1618
|
+
"apiToken": []
|
|
1619
|
+
}
|
|
1620
|
+
],
|
|
1621
|
+
"group": "domains"
|
|
1622
|
+
},
|
|
1561
1623
|
{
|
|
1562
1624
|
"name": "domains_enableDomainLockV1",
|
|
1563
1625
|
"description": "Enable domain lock for the domain.\n\nWhen domain lock is enabled,\nthe domain cannot be transferred to another registrar without first disabling the lock.\n\nUse this endpoint to secure domains against unauthorized transfers.",
|
|
@@ -1829,6 +1891,47 @@ const tools: OpenApiTool[] = [
|
|
|
1829
1891
|
],
|
|
1830
1892
|
"group": "domains"
|
|
1831
1893
|
},
|
|
1894
|
+
{
|
|
1895
|
+
"name": "domains_getTransferV1",
|
|
1896
|
+
"description": "Retrieve the transfer for a specified domain.\n\nUse this endpoint to track an incoming or outgoing registrar transfer and its status.",
|
|
1897
|
+
"method": "GET",
|
|
1898
|
+
"path": "/api/domains/v1/transfers/{domain}",
|
|
1899
|
+
"inputSchema": {
|
|
1900
|
+
"type": "object",
|
|
1901
|
+
"properties": {
|
|
1902
|
+
"domain": {
|
|
1903
|
+
"type": "string",
|
|
1904
|
+
"description": "Domain name"
|
|
1905
|
+
}
|
|
1906
|
+
},
|
|
1907
|
+
"required": [
|
|
1908
|
+
"domain"
|
|
1909
|
+
]
|
|
1910
|
+
},
|
|
1911
|
+
"security": [
|
|
1912
|
+
{
|
|
1913
|
+
"apiToken": []
|
|
1914
|
+
}
|
|
1915
|
+
],
|
|
1916
|
+
"group": "domains"
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
"name": "domains_getTransferListV1",
|
|
1920
|
+
"description": "Retrieve all domain transfers in your portfolio.\n\nUse this endpoint to monitor incoming and outgoing registrar transfers across your domains.",
|
|
1921
|
+
"method": "GET",
|
|
1922
|
+
"path": "/api/domains/v1/transfers",
|
|
1923
|
+
"inputSchema": {
|
|
1924
|
+
"type": "object",
|
|
1925
|
+
"properties": {},
|
|
1926
|
+
"required": []
|
|
1927
|
+
},
|
|
1928
|
+
"security": [
|
|
1929
|
+
{
|
|
1930
|
+
"apiToken": []
|
|
1931
|
+
}
|
|
1932
|
+
],
|
|
1933
|
+
"group": "domains"
|
|
1934
|
+
},
|
|
1832
1935
|
{
|
|
1833
1936
|
"name": "domains_getWHOISProfileV1",
|
|
1834
1937
|
"description": "Retrieve a WHOIS contact profile.\n\nUse this endpoint to view domain registration contact information.",
|
|
@@ -78,6 +78,44 @@ export default [
|
|
|
78
78
|
],
|
|
79
79
|
"group": "domains"
|
|
80
80
|
},
|
|
81
|
+
{
|
|
82
|
+
"name": "domains_updateDomainForwardingV1",
|
|
83
|
+
"description": "Update domain forwarding configuration.\n\nUse this endpoint to modify existing redirect configuration for domains.",
|
|
84
|
+
"method": "PUT",
|
|
85
|
+
"path": "/api/domains/v1/forwarding/{domain}",
|
|
86
|
+
"inputSchema": {
|
|
87
|
+
"type": "object",
|
|
88
|
+
"properties": {
|
|
89
|
+
"domain": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"description": "Domain name"
|
|
92
|
+
},
|
|
93
|
+
"redirect_type": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"description": "Redirect type",
|
|
96
|
+
"enum": [
|
|
97
|
+
"301",
|
|
98
|
+
"302"
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
"redirect_url": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"description": "URL to forward domain to"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"required": [
|
|
107
|
+
"domain",
|
|
108
|
+
"redirect_type",
|
|
109
|
+
"redirect_url"
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
"security": [
|
|
113
|
+
{
|
|
114
|
+
"apiToken": []
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"group": "domains"
|
|
118
|
+
},
|
|
81
119
|
{
|
|
82
120
|
"name": "domains_deleteDomainForwardingV1",
|
|
83
121
|
"description": "Delete domain forwarding data.\n\nUse this endpoint to remove redirect configuration from domains.",
|
|
@@ -140,6 +178,30 @@ export default [
|
|
|
140
178
|
],
|
|
141
179
|
"group": "domains"
|
|
142
180
|
},
|
|
181
|
+
{
|
|
182
|
+
"name": "domains_getDomainAuthorizationCodeV1",
|
|
183
|
+
"description": "Retrieve the authorization (EPP) code for a specified domain so it can be transferred\naway from Hostinger to another registrar.\n\nRequesting a new code invalidates any code retrieved previously.\n\nUse this endpoint to obtain the code required to transfer a domain to another registrar.",
|
|
184
|
+
"method": "GET",
|
|
185
|
+
"path": "/api/domains/v1/portfolio/{domain}/auth-code",
|
|
186
|
+
"inputSchema": {
|
|
187
|
+
"type": "object",
|
|
188
|
+
"properties": {
|
|
189
|
+
"domain": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"description": "Domain name"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"required": [
|
|
195
|
+
"domain"
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
"security": [
|
|
199
|
+
{
|
|
200
|
+
"apiToken": []
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"group": "domains"
|
|
204
|
+
},
|
|
143
205
|
{
|
|
144
206
|
"name": "domains_enableDomainLockV1",
|
|
145
207
|
"description": "Enable domain lock for the domain.\n\nWhen domain lock is enabled,\nthe domain cannot be transferred to another registrar without first disabling the lock.\n\nUse this endpoint to secure domains against unauthorized transfers.",
|
|
@@ -411,6 +473,47 @@ export default [
|
|
|
411
473
|
],
|
|
412
474
|
"group": "domains"
|
|
413
475
|
},
|
|
476
|
+
{
|
|
477
|
+
"name": "domains_getTransferV1",
|
|
478
|
+
"description": "Retrieve the transfer for a specified domain.\n\nUse this endpoint to track an incoming or outgoing registrar transfer and its status.",
|
|
479
|
+
"method": "GET",
|
|
480
|
+
"path": "/api/domains/v1/transfers/{domain}",
|
|
481
|
+
"inputSchema": {
|
|
482
|
+
"type": "object",
|
|
483
|
+
"properties": {
|
|
484
|
+
"domain": {
|
|
485
|
+
"type": "string",
|
|
486
|
+
"description": "Domain name"
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
"required": [
|
|
490
|
+
"domain"
|
|
491
|
+
]
|
|
492
|
+
},
|
|
493
|
+
"security": [
|
|
494
|
+
{
|
|
495
|
+
"apiToken": []
|
|
496
|
+
}
|
|
497
|
+
],
|
|
498
|
+
"group": "domains"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"name": "domains_getTransferListV1",
|
|
502
|
+
"description": "Retrieve all domain transfers in your portfolio.\n\nUse this endpoint to monitor incoming and outgoing registrar transfers across your domains.",
|
|
503
|
+
"method": "GET",
|
|
504
|
+
"path": "/api/domains/v1/transfers",
|
|
505
|
+
"inputSchema": {
|
|
506
|
+
"type": "object",
|
|
507
|
+
"properties": {},
|
|
508
|
+
"required": []
|
|
509
|
+
},
|
|
510
|
+
"security": [
|
|
511
|
+
{
|
|
512
|
+
"apiToken": []
|
|
513
|
+
}
|
|
514
|
+
],
|
|
515
|
+
"group": "domains"
|
|
516
|
+
},
|
|
414
517
|
{
|
|
415
518
|
"name": "domains_getWHOISProfileV1",
|
|
416
519
|
"description": "Retrieve a WHOIS contact profile.\n\nUse this endpoint to view domain registration contact information.",
|
|
@@ -92,6 +92,44 @@ const tools: OpenApiTool[] = [
|
|
|
92
92
|
],
|
|
93
93
|
"group": "domains"
|
|
94
94
|
},
|
|
95
|
+
{
|
|
96
|
+
"name": "domains_updateDomainForwardingV1",
|
|
97
|
+
"description": "Update domain forwarding configuration.\n\nUse this endpoint to modify existing redirect configuration for domains.",
|
|
98
|
+
"method": "PUT",
|
|
99
|
+
"path": "/api/domains/v1/forwarding/{domain}",
|
|
100
|
+
"inputSchema": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"properties": {
|
|
103
|
+
"domain": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"description": "Domain name"
|
|
106
|
+
},
|
|
107
|
+
"redirect_type": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"description": "Redirect type",
|
|
110
|
+
"enum": [
|
|
111
|
+
"301",
|
|
112
|
+
"302"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"redirect_url": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"description": "URL to forward domain to"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"required": [
|
|
121
|
+
"domain",
|
|
122
|
+
"redirect_type",
|
|
123
|
+
"redirect_url"
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
"security": [
|
|
127
|
+
{
|
|
128
|
+
"apiToken": []
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"group": "domains"
|
|
132
|
+
},
|
|
95
133
|
{
|
|
96
134
|
"name": "domains_deleteDomainForwardingV1",
|
|
97
135
|
"description": "Delete domain forwarding data.\n\nUse this endpoint to remove redirect configuration from domains.",
|
|
@@ -154,6 +192,30 @@ const tools: OpenApiTool[] = [
|
|
|
154
192
|
],
|
|
155
193
|
"group": "domains"
|
|
156
194
|
},
|
|
195
|
+
{
|
|
196
|
+
"name": "domains_getDomainAuthorizationCodeV1",
|
|
197
|
+
"description": "Retrieve the authorization (EPP) code for a specified domain so it can be transferred\naway from Hostinger to another registrar.\n\nRequesting a new code invalidates any code retrieved previously.\n\nUse this endpoint to obtain the code required to transfer a domain to another registrar.",
|
|
198
|
+
"method": "GET",
|
|
199
|
+
"path": "/api/domains/v1/portfolio/{domain}/auth-code",
|
|
200
|
+
"inputSchema": {
|
|
201
|
+
"type": "object",
|
|
202
|
+
"properties": {
|
|
203
|
+
"domain": {
|
|
204
|
+
"type": "string",
|
|
205
|
+
"description": "Domain name"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"required": [
|
|
209
|
+
"domain"
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
"security": [
|
|
213
|
+
{
|
|
214
|
+
"apiToken": []
|
|
215
|
+
}
|
|
216
|
+
],
|
|
217
|
+
"group": "domains"
|
|
218
|
+
},
|
|
157
219
|
{
|
|
158
220
|
"name": "domains_enableDomainLockV1",
|
|
159
221
|
"description": "Enable domain lock for the domain.\n\nWhen domain lock is enabled,\nthe domain cannot be transferred to another registrar without first disabling the lock.\n\nUse this endpoint to secure domains against unauthorized transfers.",
|
|
@@ -425,6 +487,47 @@ const tools: OpenApiTool[] = [
|
|
|
425
487
|
],
|
|
426
488
|
"group": "domains"
|
|
427
489
|
},
|
|
490
|
+
{
|
|
491
|
+
"name": "domains_getTransferV1",
|
|
492
|
+
"description": "Retrieve the transfer for a specified domain.\n\nUse this endpoint to track an incoming or outgoing registrar transfer and its status.",
|
|
493
|
+
"method": "GET",
|
|
494
|
+
"path": "/api/domains/v1/transfers/{domain}",
|
|
495
|
+
"inputSchema": {
|
|
496
|
+
"type": "object",
|
|
497
|
+
"properties": {
|
|
498
|
+
"domain": {
|
|
499
|
+
"type": "string",
|
|
500
|
+
"description": "Domain name"
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"required": [
|
|
504
|
+
"domain"
|
|
505
|
+
]
|
|
506
|
+
},
|
|
507
|
+
"security": [
|
|
508
|
+
{
|
|
509
|
+
"apiToken": []
|
|
510
|
+
}
|
|
511
|
+
],
|
|
512
|
+
"group": "domains"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "domains_getTransferListV1",
|
|
516
|
+
"description": "Retrieve all domain transfers in your portfolio.\n\nUse this endpoint to monitor incoming and outgoing registrar transfers across your domains.",
|
|
517
|
+
"method": "GET",
|
|
518
|
+
"path": "/api/domains/v1/transfers",
|
|
519
|
+
"inputSchema": {
|
|
520
|
+
"type": "object",
|
|
521
|
+
"properties": {},
|
|
522
|
+
"required": []
|
|
523
|
+
},
|
|
524
|
+
"security": [
|
|
525
|
+
{
|
|
526
|
+
"apiToken": []
|
|
527
|
+
}
|
|
528
|
+
],
|
|
529
|
+
"group": "domains"
|
|
530
|
+
},
|
|
428
531
|
{
|
|
429
532
|
"name": "domains_getWHOISProfileV1",
|
|
430
533
|
"description": "Retrieve a WHOIS contact profile.\n\nUse this endpoint to view domain registration contact information.",
|
package/src/servers/all.js
CHANGED
package/src/servers/all.ts
CHANGED
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/horizons.js
CHANGED
package/src/servers/horizons.ts
CHANGED
package/src/servers/hosting.js
CHANGED
package/src/servers/hosting.ts
CHANGED
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
|
@@ -889,6 +889,29 @@ Use this endpoint to view current redirect configuration for domains.
|
|
|
889
889
|
response: any; // Response structure will depend on the API
|
|
890
890
|
};
|
|
891
891
|
|
|
892
|
+
/**
|
|
893
|
+
* Update domain forwarding configuration.
|
|
894
|
+
|
|
895
|
+
Use this endpoint to modify existing redirect configuration for domains.
|
|
896
|
+
*/
|
|
897
|
+
"domains_updateDomainForwardingV1": {
|
|
898
|
+
params: {
|
|
899
|
+
/**
|
|
900
|
+
* Domain name
|
|
901
|
+
*/
|
|
902
|
+
domain: string;
|
|
903
|
+
/**
|
|
904
|
+
* Redirect type
|
|
905
|
+
*/
|
|
906
|
+
redirect_type: string;
|
|
907
|
+
/**
|
|
908
|
+
* URL to forward domain to
|
|
909
|
+
*/
|
|
910
|
+
redirect_url: string;
|
|
911
|
+
};
|
|
912
|
+
response: any; // Response structure will depend on the API
|
|
913
|
+
};
|
|
914
|
+
|
|
892
915
|
/**
|
|
893
916
|
* Delete domain forwarding data.
|
|
894
917
|
|
|
@@ -927,6 +950,24 @@ Use this endpoint to set up domain redirects to other URLs.
|
|
|
927
950
|
response: any; // Response structure will depend on the API
|
|
928
951
|
};
|
|
929
952
|
|
|
953
|
+
/**
|
|
954
|
+
* Retrieve the authorization (EPP) code for a specified domain so it can be transferred
|
|
955
|
+
away from Hostinger to another registrar.
|
|
956
|
+
|
|
957
|
+
Requesting a new code invalidates any code retrieved previously.
|
|
958
|
+
|
|
959
|
+
Use this endpoint to obtain the code required to transfer a domain to another registrar.
|
|
960
|
+
*/
|
|
961
|
+
"domains_getDomainAuthorizationCodeV1": {
|
|
962
|
+
params: {
|
|
963
|
+
/**
|
|
964
|
+
* Domain name
|
|
965
|
+
*/
|
|
966
|
+
domain: string;
|
|
967
|
+
};
|
|
968
|
+
response: any; // Response structure will depend on the API
|
|
969
|
+
};
|
|
970
|
+
|
|
930
971
|
/**
|
|
931
972
|
* Enable domain lock for the domain.
|
|
932
973
|
|
|
@@ -1116,6 +1157,33 @@ Use this endpoint to configure custom DNS hosting for domains.
|
|
|
1116
1157
|
response: any; // Response structure will depend on the API
|
|
1117
1158
|
};
|
|
1118
1159
|
|
|
1160
|
+
/**
|
|
1161
|
+
* Retrieve the transfer for a specified domain.
|
|
1162
|
+
|
|
1163
|
+
Use this endpoint to track an incoming or outgoing registrar transfer and its status.
|
|
1164
|
+
*/
|
|
1165
|
+
"domains_getTransferV1": {
|
|
1166
|
+
params: {
|
|
1167
|
+
/**
|
|
1168
|
+
* Domain name
|
|
1169
|
+
*/
|
|
1170
|
+
domain: string;
|
|
1171
|
+
};
|
|
1172
|
+
response: any; // Response structure will depend on the API
|
|
1173
|
+
};
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* Retrieve all domain transfers in your portfolio.
|
|
1177
|
+
|
|
1178
|
+
Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
|
|
1179
|
+
*/
|
|
1180
|
+
"domains_getTransferListV1": {
|
|
1181
|
+
params: {
|
|
1182
|
+
|
|
1183
|
+
};
|
|
1184
|
+
response: any; // Response structure will depend on the API
|
|
1185
|
+
};
|
|
1186
|
+
|
|
1119
1187
|
/**
|
|
1120
1188
|
* Retrieve a WHOIS contact profile.
|
|
1121
1189
|
|