hostinger-api-mcp 1.4.0 → 1.5.1
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 +27 -31
- 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 +45 -64
- package/src/core/tools/all.ts +45 -64
- package/src/core/tools/hosting.js +45 -64
- package/src/core/tools/hosting.ts +45 -64
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +38 -44
package/README.md
CHANGED
|
@@ -49,13 +49,13 @@ 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 (201 total)
|
|
53
53
|
- `hostinger-billing-mcp` — 7 tools for billing
|
|
54
54
|
- `hostinger-dns-mcp` — 8 tools for dns
|
|
55
55
|
- `hostinger-domains-mcp` — 18 tools for domains
|
|
56
56
|
- `hostinger-ecommerce-mcp` — 12 tools for ecommerce
|
|
57
57
|
- `hostinger-horizons-mcp` — 2 tools for horizons
|
|
58
|
-
- `hostinger-hosting-mcp` —
|
|
58
|
+
- `hostinger-hosting-mcp` — 45 tools for hosting
|
|
59
59
|
- `hostinger-reach-mcp` — 12 tools for reach
|
|
60
60
|
- `hostinger-vps-mcp` — 62 tools for vps
|
|
61
61
|
- `hostinger-wordpress-mcp` — 35 tools for wordpress
|
|
@@ -754,44 +754,27 @@ installation living in a subdirectory, pass the directory query parameter to cle
|
|
|
754
754
|
- **Method**: `DELETE`
|
|
755
755
|
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cache/clear`
|
|
756
756
|
|
|
757
|
-
####
|
|
757
|
+
#### hosting_toggleCachelessModeV1
|
|
758
758
|
|
|
759
|
-
Turns
|
|
759
|
+
Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing
|
|
760
|
+
is cached, effectively turning off all caching for the website; use it while actively developing,
|
|
761
|
+
testing changes, debugging issues, or when real-time updates must be visible. Disable it after
|
|
760
762
|
finishing development work to restore the performance benefits of caching.
|
|
761
763
|
|
|
762
764
|
- **Method**: `PATCH`
|
|
763
|
-
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/
|
|
765
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle`
|
|
764
766
|
|
|
765
|
-
####
|
|
767
|
+
#### hosting_toggleWebsiteCacheV1
|
|
766
768
|
|
|
767
|
-
Turns
|
|
768
|
-
|
|
769
|
-
|
|
769
|
+
Turns server-side caching for the website on or off, based on the enabled flag. Enable it for
|
|
770
|
+
faster page loads, reduced server load, and improved user experience; recommended for production
|
|
771
|
+
websites. Disabling may impact performance; to temporarily bypass caching while developing or
|
|
772
|
+
debugging, prefer toggling cacheless mode instead.
|
|
770
773
|
|
|
771
|
-
Does nothing if caching is already
|
|
774
|
+
Does nothing if caching is already in the requested state.
|
|
772
775
|
|
|
773
776
|
- **Method**: `PATCH`
|
|
774
|
-
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cache/
|
|
775
|
-
|
|
776
|
-
#### hosting_enableCachelessModeV1
|
|
777
|
-
|
|
778
|
-
Enables development (cacheless) mode where nothing is cached, effectively turning off all
|
|
779
|
-
caching for the website. Use it while actively developing, testing changes, debugging issues,
|
|
780
|
-
or when real-time updates must be visible. Disable cacheless mode afterwards to restore
|
|
781
|
-
normal caching.
|
|
782
|
-
|
|
783
|
-
- **Method**: `PATCH`
|
|
784
|
-
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/enable`
|
|
785
|
-
|
|
786
|
-
#### hosting_enableWebsiteCacheV1
|
|
787
|
-
|
|
788
|
-
Turns on server-side caching for the website for better performance. Use it for faster page
|
|
789
|
-
loads, reduced server load, or improved user experience. Recommended for production websites.
|
|
790
|
-
|
|
791
|
-
Does nothing if caching is already enabled.
|
|
792
|
-
|
|
793
|
-
- **Method**: `PATCH`
|
|
794
|
-
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cache/enable`
|
|
777
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle`
|
|
795
778
|
|
|
796
779
|
#### hosting_listAccountCronJobsV1
|
|
797
780
|
|
|
@@ -1055,6 +1038,19 @@ Log content may contain ANSI escape sequences (color codes).
|
|
|
1055
1038
|
- **Method**: `GET`
|
|
1056
1039
|
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/{uuid}/logs`
|
|
1057
1040
|
|
|
1041
|
+
#### hosting_restartNode.jsApplicationV1
|
|
1042
|
+
|
|
1043
|
+
Restarts the Node.js server process for the website. Does not rebuild or redeploy the
|
|
1044
|
+
application. Use it to apply environment or configuration changes, or to recover a hung
|
|
1045
|
+
application.
|
|
1046
|
+
|
|
1047
|
+
Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static
|
|
1048
|
+
front-end apps (React, Vue, Vite) have no persistent server process, so restarting them
|
|
1049
|
+
has no effect. Returns success even when the website has no server process to restart.
|
|
1050
|
+
|
|
1051
|
+
- **Method**: `POST`
|
|
1052
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart`
|
|
1053
|
+
|
|
1058
1054
|
#### hosting_listOrdersV1
|
|
1059
1055
|
|
|
1060
1056
|
Retrieve a paginated list of orders accessible to the authenticated client.
|
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.5.1",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.5.1",
|
|
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
|
@@ -1779,10 +1779,10 @@ export default [
|
|
|
1779
1779
|
"group": "hosting"
|
|
1780
1780
|
},
|
|
1781
1781
|
{
|
|
1782
|
-
"name": "
|
|
1783
|
-
"description": "Turns
|
|
1782
|
+
"name": "hosting_toggleCachelessModeV1",
|
|
1783
|
+
"description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.",
|
|
1784
1784
|
"method": "PATCH",
|
|
1785
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/
|
|
1785
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle",
|
|
1786
1786
|
"inputSchema": {
|
|
1787
1787
|
"type": "object",
|
|
1788
1788
|
"properties": {
|
|
@@ -1793,40 +1793,16 @@ export default [
|
|
|
1793
1793
|
"domain": {
|
|
1794
1794
|
"type": "string",
|
|
1795
1795
|
"description": "Domain name"
|
|
1796
|
-
}
|
|
1797
|
-
},
|
|
1798
|
-
"required": [
|
|
1799
|
-
"username",
|
|
1800
|
-
"domain"
|
|
1801
|
-
]
|
|
1802
|
-
},
|
|
1803
|
-
"security": [
|
|
1804
|
-
{
|
|
1805
|
-
"apiToken": []
|
|
1806
|
-
}
|
|
1807
|
-
],
|
|
1808
|
-
"group": "hosting"
|
|
1809
|
-
},
|
|
1810
|
-
{
|
|
1811
|
-
"name": "hosting_disableWebsiteCacheV1",
|
|
1812
|
-
"description": "Turns off server-side caching for the website until it is enabled again. May impact performance.\nUse it when experiencing cache-related issues; to temporarily bypass caching while developing\nor debugging, prefer enabling cacheless mode instead.\n\nDoes nothing if caching is already disabled.",
|
|
1813
|
-
"method": "PATCH",
|
|
1814
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/disable",
|
|
1815
|
-
"inputSchema": {
|
|
1816
|
-
"type": "object",
|
|
1817
|
-
"properties": {
|
|
1818
|
-
"username": {
|
|
1819
|
-
"type": "string",
|
|
1820
|
-
"description": "username parameter"
|
|
1821
1796
|
},
|
|
1822
|
-
"
|
|
1823
|
-
"type": "
|
|
1824
|
-
"description": "
|
|
1797
|
+
"enabled": {
|
|
1798
|
+
"type": "boolean",
|
|
1799
|
+
"description": "Turn development (cacheless) mode on (true) or off (false) for the website."
|
|
1825
1800
|
}
|
|
1826
1801
|
},
|
|
1827
1802
|
"required": [
|
|
1828
1803
|
"username",
|
|
1829
|
-
"domain"
|
|
1804
|
+
"domain",
|
|
1805
|
+
"enabled"
|
|
1830
1806
|
]
|
|
1831
1807
|
},
|
|
1832
1808
|
"security": [
|
|
@@ -1837,10 +1813,10 @@ export default [
|
|
|
1837
1813
|
"group": "hosting"
|
|
1838
1814
|
},
|
|
1839
1815
|
{
|
|
1840
|
-
"name": "
|
|
1841
|
-
"description": "
|
|
1816
|
+
"name": "hosting_toggleWebsiteCacheV1",
|
|
1817
|
+
"description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state.",
|
|
1842
1818
|
"method": "PATCH",
|
|
1843
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/
|
|
1819
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle",
|
|
1844
1820
|
"inputSchema": {
|
|
1845
1821
|
"type": "object",
|
|
1846
1822
|
"properties": {
|
|
@@ -1851,40 +1827,16 @@ export default [
|
|
|
1851
1827
|
"domain": {
|
|
1852
1828
|
"type": "string",
|
|
1853
1829
|
"description": "Domain name"
|
|
1854
|
-
}
|
|
1855
|
-
},
|
|
1856
|
-
"required": [
|
|
1857
|
-
"username",
|
|
1858
|
-
"domain"
|
|
1859
|
-
]
|
|
1860
|
-
},
|
|
1861
|
-
"security": [
|
|
1862
|
-
{
|
|
1863
|
-
"apiToken": []
|
|
1864
|
-
}
|
|
1865
|
-
],
|
|
1866
|
-
"group": "hosting"
|
|
1867
|
-
},
|
|
1868
|
-
{
|
|
1869
|
-
"name": "hosting_enableWebsiteCacheV1",
|
|
1870
|
-
"description": "Turns on server-side caching for the website for better performance. Use it for faster page\nloads, reduced server load, or improved user experience. Recommended for production websites.\n\nDoes nothing if caching is already enabled.",
|
|
1871
|
-
"method": "PATCH",
|
|
1872
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/enable",
|
|
1873
|
-
"inputSchema": {
|
|
1874
|
-
"type": "object",
|
|
1875
|
-
"properties": {
|
|
1876
|
-
"username": {
|
|
1877
|
-
"type": "string",
|
|
1878
|
-
"description": "username parameter"
|
|
1879
1830
|
},
|
|
1880
|
-
"
|
|
1881
|
-
"type": "
|
|
1882
|
-
"description": "
|
|
1831
|
+
"enabled": {
|
|
1832
|
+
"type": "boolean",
|
|
1833
|
+
"description": "Turn server-side caching on (true) or off (false) for the website."
|
|
1883
1834
|
}
|
|
1884
1835
|
},
|
|
1885
1836
|
"required": [
|
|
1886
1837
|
"username",
|
|
1887
|
-
"domain"
|
|
1838
|
+
"domain",
|
|
1839
|
+
"enabled"
|
|
1888
1840
|
]
|
|
1889
1841
|
},
|
|
1890
1842
|
"security": [
|
|
@@ -2755,6 +2707,35 @@ export default [
|
|
|
2755
2707
|
],
|
|
2756
2708
|
"group": "hosting"
|
|
2757
2709
|
},
|
|
2710
|
+
{
|
|
2711
|
+
"name": "hosting_restartNode.jsApplicationV1",
|
|
2712
|
+
"description": "Restarts the Node.js server process for the website. Does not rebuild or redeploy the\napplication. Use it to apply environment or configuration changes, or to recover a hung\napplication.\n\nOnly applicable to server-side applications (Express, Next.js, NestJS, etc.). Static\nfront-end apps (React, Vue, Vite) have no persistent server process, so restarting them\nhas no effect. Returns success even when the website has no server process to restart.",
|
|
2713
|
+
"method": "POST",
|
|
2714
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart",
|
|
2715
|
+
"inputSchema": {
|
|
2716
|
+
"type": "object",
|
|
2717
|
+
"properties": {
|
|
2718
|
+
"username": {
|
|
2719
|
+
"type": "string",
|
|
2720
|
+
"description": "username parameter"
|
|
2721
|
+
},
|
|
2722
|
+
"domain": {
|
|
2723
|
+
"type": "string",
|
|
2724
|
+
"description": "Domain name"
|
|
2725
|
+
}
|
|
2726
|
+
},
|
|
2727
|
+
"required": [
|
|
2728
|
+
"username",
|
|
2729
|
+
"domain"
|
|
2730
|
+
]
|
|
2731
|
+
},
|
|
2732
|
+
"security": [
|
|
2733
|
+
{
|
|
2734
|
+
"apiToken": []
|
|
2735
|
+
}
|
|
2736
|
+
],
|
|
2737
|
+
"group": "hosting"
|
|
2738
|
+
},
|
|
2758
2739
|
{
|
|
2759
2740
|
"name": "hosting_listOrdersV1",
|
|
2760
2741
|
"description": "Retrieve a paginated list of orders accessible to the authenticated client.\n\nThis endpoint returns orders of your hosting accounts as well as orders\nof other client hosting accounts that have shared access with you.\n\nUse the available query parameters to filter results by order statuses\nor specific order IDs for more targeted results.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -1789,10 +1789,10 @@ const tools: OpenApiTool[] = [
|
|
|
1789
1789
|
"group": "hosting"
|
|
1790
1790
|
},
|
|
1791
1791
|
{
|
|
1792
|
-
"name": "
|
|
1793
|
-
"description": "Turns
|
|
1792
|
+
"name": "hosting_toggleCachelessModeV1",
|
|
1793
|
+
"description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.",
|
|
1794
1794
|
"method": "PATCH",
|
|
1795
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/
|
|
1795
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle",
|
|
1796
1796
|
"inputSchema": {
|
|
1797
1797
|
"type": "object",
|
|
1798
1798
|
"properties": {
|
|
@@ -1803,40 +1803,16 @@ const tools: OpenApiTool[] = [
|
|
|
1803
1803
|
"domain": {
|
|
1804
1804
|
"type": "string",
|
|
1805
1805
|
"description": "Domain name"
|
|
1806
|
-
}
|
|
1807
|
-
},
|
|
1808
|
-
"required": [
|
|
1809
|
-
"username",
|
|
1810
|
-
"domain"
|
|
1811
|
-
]
|
|
1812
|
-
},
|
|
1813
|
-
"security": [
|
|
1814
|
-
{
|
|
1815
|
-
"apiToken": []
|
|
1816
|
-
}
|
|
1817
|
-
],
|
|
1818
|
-
"group": "hosting"
|
|
1819
|
-
},
|
|
1820
|
-
{
|
|
1821
|
-
"name": "hosting_disableWebsiteCacheV1",
|
|
1822
|
-
"description": "Turns off server-side caching for the website until it is enabled again. May impact performance.\nUse it when experiencing cache-related issues; to temporarily bypass caching while developing\nor debugging, prefer enabling cacheless mode instead.\n\nDoes nothing if caching is already disabled.",
|
|
1823
|
-
"method": "PATCH",
|
|
1824
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/disable",
|
|
1825
|
-
"inputSchema": {
|
|
1826
|
-
"type": "object",
|
|
1827
|
-
"properties": {
|
|
1828
|
-
"username": {
|
|
1829
|
-
"type": "string",
|
|
1830
|
-
"description": "username parameter"
|
|
1831
1806
|
},
|
|
1832
|
-
"
|
|
1833
|
-
"type": "
|
|
1834
|
-
"description": "
|
|
1807
|
+
"enabled": {
|
|
1808
|
+
"type": "boolean",
|
|
1809
|
+
"description": "Turn development (cacheless) mode on (true) or off (false) for the website."
|
|
1835
1810
|
}
|
|
1836
1811
|
},
|
|
1837
1812
|
"required": [
|
|
1838
1813
|
"username",
|
|
1839
|
-
"domain"
|
|
1814
|
+
"domain",
|
|
1815
|
+
"enabled"
|
|
1840
1816
|
]
|
|
1841
1817
|
},
|
|
1842
1818
|
"security": [
|
|
@@ -1847,10 +1823,10 @@ const tools: OpenApiTool[] = [
|
|
|
1847
1823
|
"group": "hosting"
|
|
1848
1824
|
},
|
|
1849
1825
|
{
|
|
1850
|
-
"name": "
|
|
1851
|
-
"description": "
|
|
1826
|
+
"name": "hosting_toggleWebsiteCacheV1",
|
|
1827
|
+
"description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state.",
|
|
1852
1828
|
"method": "PATCH",
|
|
1853
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/
|
|
1829
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle",
|
|
1854
1830
|
"inputSchema": {
|
|
1855
1831
|
"type": "object",
|
|
1856
1832
|
"properties": {
|
|
@@ -1861,40 +1837,16 @@ const tools: OpenApiTool[] = [
|
|
|
1861
1837
|
"domain": {
|
|
1862
1838
|
"type": "string",
|
|
1863
1839
|
"description": "Domain name"
|
|
1864
|
-
}
|
|
1865
|
-
},
|
|
1866
|
-
"required": [
|
|
1867
|
-
"username",
|
|
1868
|
-
"domain"
|
|
1869
|
-
]
|
|
1870
|
-
},
|
|
1871
|
-
"security": [
|
|
1872
|
-
{
|
|
1873
|
-
"apiToken": []
|
|
1874
|
-
}
|
|
1875
|
-
],
|
|
1876
|
-
"group": "hosting"
|
|
1877
|
-
},
|
|
1878
|
-
{
|
|
1879
|
-
"name": "hosting_enableWebsiteCacheV1",
|
|
1880
|
-
"description": "Turns on server-side caching for the website for better performance. Use it for faster page\nloads, reduced server load, or improved user experience. Recommended for production websites.\n\nDoes nothing if caching is already enabled.",
|
|
1881
|
-
"method": "PATCH",
|
|
1882
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/enable",
|
|
1883
|
-
"inputSchema": {
|
|
1884
|
-
"type": "object",
|
|
1885
|
-
"properties": {
|
|
1886
|
-
"username": {
|
|
1887
|
-
"type": "string",
|
|
1888
|
-
"description": "username parameter"
|
|
1889
1840
|
},
|
|
1890
|
-
"
|
|
1891
|
-
"type": "
|
|
1892
|
-
"description": "
|
|
1841
|
+
"enabled": {
|
|
1842
|
+
"type": "boolean",
|
|
1843
|
+
"description": "Turn server-side caching on (true) or off (false) for the website."
|
|
1893
1844
|
}
|
|
1894
1845
|
},
|
|
1895
1846
|
"required": [
|
|
1896
1847
|
"username",
|
|
1897
|
-
"domain"
|
|
1848
|
+
"domain",
|
|
1849
|
+
"enabled"
|
|
1898
1850
|
]
|
|
1899
1851
|
},
|
|
1900
1852
|
"security": [
|
|
@@ -2765,6 +2717,35 @@ const tools: OpenApiTool[] = [
|
|
|
2765
2717
|
],
|
|
2766
2718
|
"group": "hosting"
|
|
2767
2719
|
},
|
|
2720
|
+
{
|
|
2721
|
+
"name": "hosting_restartNode.jsApplicationV1",
|
|
2722
|
+
"description": "Restarts the Node.js server process for the website. Does not rebuild or redeploy the\napplication. Use it to apply environment or configuration changes, or to recover a hung\napplication.\n\nOnly applicable to server-side applications (Express, Next.js, NestJS, etc.). Static\nfront-end apps (React, Vue, Vite) have no persistent server process, so restarting them\nhas no effect. Returns success even when the website has no server process to restart.",
|
|
2723
|
+
"method": "POST",
|
|
2724
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart",
|
|
2725
|
+
"inputSchema": {
|
|
2726
|
+
"type": "object",
|
|
2727
|
+
"properties": {
|
|
2728
|
+
"username": {
|
|
2729
|
+
"type": "string",
|
|
2730
|
+
"description": "username parameter"
|
|
2731
|
+
},
|
|
2732
|
+
"domain": {
|
|
2733
|
+
"type": "string",
|
|
2734
|
+
"description": "Domain name"
|
|
2735
|
+
}
|
|
2736
|
+
},
|
|
2737
|
+
"required": [
|
|
2738
|
+
"username",
|
|
2739
|
+
"domain"
|
|
2740
|
+
]
|
|
2741
|
+
},
|
|
2742
|
+
"security": [
|
|
2743
|
+
{
|
|
2744
|
+
"apiToken": []
|
|
2745
|
+
}
|
|
2746
|
+
],
|
|
2747
|
+
"group": "hosting"
|
|
2748
|
+
},
|
|
2768
2749
|
{
|
|
2769
2750
|
"name": "hosting_listOrdersV1",
|
|
2770
2751
|
"description": "Retrieve a paginated list of orders accessible to the authenticated client.\n\nThis endpoint returns orders of your hosting accounts as well as orders\nof other client hosting accounts that have shared access with you.\n\nUse the available query parameters to filter results by order statuses\nor specific order IDs for more targeted results.",
|
|
@@ -291,10 +291,10 @@ export default [
|
|
|
291
291
|
"group": "hosting"
|
|
292
292
|
},
|
|
293
293
|
{
|
|
294
|
-
"name": "
|
|
295
|
-
"description": "Turns
|
|
294
|
+
"name": "hosting_toggleCachelessModeV1",
|
|
295
|
+
"description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.",
|
|
296
296
|
"method": "PATCH",
|
|
297
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/
|
|
297
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle",
|
|
298
298
|
"inputSchema": {
|
|
299
299
|
"type": "object",
|
|
300
300
|
"properties": {
|
|
@@ -305,40 +305,16 @@ export default [
|
|
|
305
305
|
"domain": {
|
|
306
306
|
"type": "string",
|
|
307
307
|
"description": "Domain name"
|
|
308
|
-
}
|
|
309
|
-
},
|
|
310
|
-
"required": [
|
|
311
|
-
"username",
|
|
312
|
-
"domain"
|
|
313
|
-
]
|
|
314
|
-
},
|
|
315
|
-
"security": [
|
|
316
|
-
{
|
|
317
|
-
"apiToken": []
|
|
318
|
-
}
|
|
319
|
-
],
|
|
320
|
-
"group": "hosting"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"name": "hosting_disableWebsiteCacheV1",
|
|
324
|
-
"description": "Turns off server-side caching for the website until it is enabled again. May impact performance.\nUse it when experiencing cache-related issues; to temporarily bypass caching while developing\nor debugging, prefer enabling cacheless mode instead.\n\nDoes nothing if caching is already disabled.",
|
|
325
|
-
"method": "PATCH",
|
|
326
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/disable",
|
|
327
|
-
"inputSchema": {
|
|
328
|
-
"type": "object",
|
|
329
|
-
"properties": {
|
|
330
|
-
"username": {
|
|
331
|
-
"type": "string",
|
|
332
|
-
"description": "username parameter"
|
|
333
308
|
},
|
|
334
|
-
"
|
|
335
|
-
"type": "
|
|
336
|
-
"description": "
|
|
309
|
+
"enabled": {
|
|
310
|
+
"type": "boolean",
|
|
311
|
+
"description": "Turn development (cacheless) mode on (true) or off (false) for the website."
|
|
337
312
|
}
|
|
338
313
|
},
|
|
339
314
|
"required": [
|
|
340
315
|
"username",
|
|
341
|
-
"domain"
|
|
316
|
+
"domain",
|
|
317
|
+
"enabled"
|
|
342
318
|
]
|
|
343
319
|
},
|
|
344
320
|
"security": [
|
|
@@ -349,10 +325,10 @@ export default [
|
|
|
349
325
|
"group": "hosting"
|
|
350
326
|
},
|
|
351
327
|
{
|
|
352
|
-
"name": "
|
|
353
|
-
"description": "
|
|
328
|
+
"name": "hosting_toggleWebsiteCacheV1",
|
|
329
|
+
"description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state.",
|
|
354
330
|
"method": "PATCH",
|
|
355
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/
|
|
331
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle",
|
|
356
332
|
"inputSchema": {
|
|
357
333
|
"type": "object",
|
|
358
334
|
"properties": {
|
|
@@ -363,40 +339,16 @@ export default [
|
|
|
363
339
|
"domain": {
|
|
364
340
|
"type": "string",
|
|
365
341
|
"description": "Domain name"
|
|
366
|
-
}
|
|
367
|
-
},
|
|
368
|
-
"required": [
|
|
369
|
-
"username",
|
|
370
|
-
"domain"
|
|
371
|
-
]
|
|
372
|
-
},
|
|
373
|
-
"security": [
|
|
374
|
-
{
|
|
375
|
-
"apiToken": []
|
|
376
|
-
}
|
|
377
|
-
],
|
|
378
|
-
"group": "hosting"
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
"name": "hosting_enableWebsiteCacheV1",
|
|
382
|
-
"description": "Turns on server-side caching for the website for better performance. Use it for faster page\nloads, reduced server load, or improved user experience. Recommended for production websites.\n\nDoes nothing if caching is already enabled.",
|
|
383
|
-
"method": "PATCH",
|
|
384
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/enable",
|
|
385
|
-
"inputSchema": {
|
|
386
|
-
"type": "object",
|
|
387
|
-
"properties": {
|
|
388
|
-
"username": {
|
|
389
|
-
"type": "string",
|
|
390
|
-
"description": "username parameter"
|
|
391
342
|
},
|
|
392
|
-
"
|
|
393
|
-
"type": "
|
|
394
|
-
"description": "
|
|
343
|
+
"enabled": {
|
|
344
|
+
"type": "boolean",
|
|
345
|
+
"description": "Turn server-side caching on (true) or off (false) for the website."
|
|
395
346
|
}
|
|
396
347
|
},
|
|
397
348
|
"required": [
|
|
398
349
|
"username",
|
|
399
|
-
"domain"
|
|
350
|
+
"domain",
|
|
351
|
+
"enabled"
|
|
400
352
|
]
|
|
401
353
|
},
|
|
402
354
|
"security": [
|
|
@@ -1267,6 +1219,35 @@ export default [
|
|
|
1267
1219
|
],
|
|
1268
1220
|
"group": "hosting"
|
|
1269
1221
|
},
|
|
1222
|
+
{
|
|
1223
|
+
"name": "hosting_restartNode.jsApplicationV1",
|
|
1224
|
+
"description": "Restarts the Node.js server process for the website. Does not rebuild or redeploy the\napplication. Use it to apply environment or configuration changes, or to recover a hung\napplication.\n\nOnly applicable to server-side applications (Express, Next.js, NestJS, etc.). Static\nfront-end apps (React, Vue, Vite) have no persistent server process, so restarting them\nhas no effect. Returns success even when the website has no server process to restart.",
|
|
1225
|
+
"method": "POST",
|
|
1226
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart",
|
|
1227
|
+
"inputSchema": {
|
|
1228
|
+
"type": "object",
|
|
1229
|
+
"properties": {
|
|
1230
|
+
"username": {
|
|
1231
|
+
"type": "string",
|
|
1232
|
+
"description": "username parameter"
|
|
1233
|
+
},
|
|
1234
|
+
"domain": {
|
|
1235
|
+
"type": "string",
|
|
1236
|
+
"description": "Domain name"
|
|
1237
|
+
}
|
|
1238
|
+
},
|
|
1239
|
+
"required": [
|
|
1240
|
+
"username",
|
|
1241
|
+
"domain"
|
|
1242
|
+
]
|
|
1243
|
+
},
|
|
1244
|
+
"security": [
|
|
1245
|
+
{
|
|
1246
|
+
"apiToken": []
|
|
1247
|
+
}
|
|
1248
|
+
],
|
|
1249
|
+
"group": "hosting"
|
|
1250
|
+
},
|
|
1270
1251
|
{
|
|
1271
1252
|
"name": "hosting_listOrdersV1",
|
|
1272
1253
|
"description": "Retrieve a paginated list of orders accessible to the authenticated client.\n\nThis endpoint returns orders of your hosting accounts as well as orders\nof other client hosting accounts that have shared access with you.\n\nUse the available query parameters to filter results by order statuses\nor specific order IDs for more targeted results.",
|
|
@@ -301,10 +301,10 @@ const tools: OpenApiTool[] = [
|
|
|
301
301
|
"group": "hosting"
|
|
302
302
|
},
|
|
303
303
|
{
|
|
304
|
-
"name": "
|
|
305
|
-
"description": "Turns
|
|
304
|
+
"name": "hosting_toggleCachelessModeV1",
|
|
305
|
+
"description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.",
|
|
306
306
|
"method": "PATCH",
|
|
307
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/
|
|
307
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle",
|
|
308
308
|
"inputSchema": {
|
|
309
309
|
"type": "object",
|
|
310
310
|
"properties": {
|
|
@@ -315,40 +315,16 @@ const tools: OpenApiTool[] = [
|
|
|
315
315
|
"domain": {
|
|
316
316
|
"type": "string",
|
|
317
317
|
"description": "Domain name"
|
|
318
|
-
}
|
|
319
|
-
},
|
|
320
|
-
"required": [
|
|
321
|
-
"username",
|
|
322
|
-
"domain"
|
|
323
|
-
]
|
|
324
|
-
},
|
|
325
|
-
"security": [
|
|
326
|
-
{
|
|
327
|
-
"apiToken": []
|
|
328
|
-
}
|
|
329
|
-
],
|
|
330
|
-
"group": "hosting"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"name": "hosting_disableWebsiteCacheV1",
|
|
334
|
-
"description": "Turns off server-side caching for the website until it is enabled again. May impact performance.\nUse it when experiencing cache-related issues; to temporarily bypass caching while developing\nor debugging, prefer enabling cacheless mode instead.\n\nDoes nothing if caching is already disabled.",
|
|
335
|
-
"method": "PATCH",
|
|
336
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/disable",
|
|
337
|
-
"inputSchema": {
|
|
338
|
-
"type": "object",
|
|
339
|
-
"properties": {
|
|
340
|
-
"username": {
|
|
341
|
-
"type": "string",
|
|
342
|
-
"description": "username parameter"
|
|
343
318
|
},
|
|
344
|
-
"
|
|
345
|
-
"type": "
|
|
346
|
-
"description": "
|
|
319
|
+
"enabled": {
|
|
320
|
+
"type": "boolean",
|
|
321
|
+
"description": "Turn development (cacheless) mode on (true) or off (false) for the website."
|
|
347
322
|
}
|
|
348
323
|
},
|
|
349
324
|
"required": [
|
|
350
325
|
"username",
|
|
351
|
-
"domain"
|
|
326
|
+
"domain",
|
|
327
|
+
"enabled"
|
|
352
328
|
]
|
|
353
329
|
},
|
|
354
330
|
"security": [
|
|
@@ -359,10 +335,10 @@ const tools: OpenApiTool[] = [
|
|
|
359
335
|
"group": "hosting"
|
|
360
336
|
},
|
|
361
337
|
{
|
|
362
|
-
"name": "
|
|
363
|
-
"description": "
|
|
338
|
+
"name": "hosting_toggleWebsiteCacheV1",
|
|
339
|
+
"description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state.",
|
|
364
340
|
"method": "PATCH",
|
|
365
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/
|
|
341
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle",
|
|
366
342
|
"inputSchema": {
|
|
367
343
|
"type": "object",
|
|
368
344
|
"properties": {
|
|
@@ -373,40 +349,16 @@ const tools: OpenApiTool[] = [
|
|
|
373
349
|
"domain": {
|
|
374
350
|
"type": "string",
|
|
375
351
|
"description": "Domain name"
|
|
376
|
-
}
|
|
377
|
-
},
|
|
378
|
-
"required": [
|
|
379
|
-
"username",
|
|
380
|
-
"domain"
|
|
381
|
-
]
|
|
382
|
-
},
|
|
383
|
-
"security": [
|
|
384
|
-
{
|
|
385
|
-
"apiToken": []
|
|
386
|
-
}
|
|
387
|
-
],
|
|
388
|
-
"group": "hosting"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
"name": "hosting_enableWebsiteCacheV1",
|
|
392
|
-
"description": "Turns on server-side caching for the website for better performance. Use it for faster page\nloads, reduced server load, or improved user experience. Recommended for production websites.\n\nDoes nothing if caching is already enabled.",
|
|
393
|
-
"method": "PATCH",
|
|
394
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/enable",
|
|
395
|
-
"inputSchema": {
|
|
396
|
-
"type": "object",
|
|
397
|
-
"properties": {
|
|
398
|
-
"username": {
|
|
399
|
-
"type": "string",
|
|
400
|
-
"description": "username parameter"
|
|
401
352
|
},
|
|
402
|
-
"
|
|
403
|
-
"type": "
|
|
404
|
-
"description": "
|
|
353
|
+
"enabled": {
|
|
354
|
+
"type": "boolean",
|
|
355
|
+
"description": "Turn server-side caching on (true) or off (false) for the website."
|
|
405
356
|
}
|
|
406
357
|
},
|
|
407
358
|
"required": [
|
|
408
359
|
"username",
|
|
409
|
-
"domain"
|
|
360
|
+
"domain",
|
|
361
|
+
"enabled"
|
|
410
362
|
]
|
|
411
363
|
},
|
|
412
364
|
"security": [
|
|
@@ -1277,6 +1229,35 @@ const tools: OpenApiTool[] = [
|
|
|
1277
1229
|
],
|
|
1278
1230
|
"group": "hosting"
|
|
1279
1231
|
},
|
|
1232
|
+
{
|
|
1233
|
+
"name": "hosting_restartNode.jsApplicationV1",
|
|
1234
|
+
"description": "Restarts the Node.js server process for the website. Does not rebuild or redeploy the\napplication. Use it to apply environment or configuration changes, or to recover a hung\napplication.\n\nOnly applicable to server-side applications (Express, Next.js, NestJS, etc.). Static\nfront-end apps (React, Vue, Vite) have no persistent server process, so restarting them\nhas no effect. Returns success even when the website has no server process to restart.",
|
|
1235
|
+
"method": "POST",
|
|
1236
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart",
|
|
1237
|
+
"inputSchema": {
|
|
1238
|
+
"type": "object",
|
|
1239
|
+
"properties": {
|
|
1240
|
+
"username": {
|
|
1241
|
+
"type": "string",
|
|
1242
|
+
"description": "username parameter"
|
|
1243
|
+
},
|
|
1244
|
+
"domain": {
|
|
1245
|
+
"type": "string",
|
|
1246
|
+
"description": "Domain name"
|
|
1247
|
+
}
|
|
1248
|
+
},
|
|
1249
|
+
"required": [
|
|
1250
|
+
"username",
|
|
1251
|
+
"domain"
|
|
1252
|
+
]
|
|
1253
|
+
},
|
|
1254
|
+
"security": [
|
|
1255
|
+
{
|
|
1256
|
+
"apiToken": []
|
|
1257
|
+
}
|
|
1258
|
+
],
|
|
1259
|
+
"group": "hosting"
|
|
1260
|
+
},
|
|
1280
1261
|
{
|
|
1281
1262
|
"name": "hosting_listOrdersV1",
|
|
1282
1263
|
"description": "Retrieve a paginated list of orders accessible to the authenticated client.\n\nThis endpoint returns orders of your hosting accounts as well as orders\nof other client hosting accounts that have shared access with you.\n\nUse the available query parameters to filter results by order statuses\nor specific order IDs for more targeted results.",
|
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/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
|
@@ -1135,10 +1135,12 @@ Defaults to the website root.
|
|
|
1135
1135
|
};
|
|
1136
1136
|
|
|
1137
1137
|
/**
|
|
1138
|
-
* Turns
|
|
1138
|
+
* Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing
|
|
1139
|
+
is cached, effectively turning off all caching for the website; use it while actively developing,
|
|
1140
|
+
testing changes, debugging issues, or when real-time updates must be visible. Disable it after
|
|
1139
1141
|
finishing development work to restore the performance benefits of caching.
|
|
1140
1142
|
*/
|
|
1141
|
-
"
|
|
1143
|
+
"hosting_toggleCachelessModeV1": {
|
|
1142
1144
|
params: {
|
|
1143
1145
|
/**
|
|
1144
1146
|
* username parameter
|
|
@@ -1148,38 +1150,23 @@ finishing development work to restore the performance benefits of caching.
|
|
|
1148
1150
|
* Domain name
|
|
1149
1151
|
*/
|
|
1150
1152
|
domain: string;
|
|
1151
|
-
};
|
|
1152
|
-
response: any; // Response structure will depend on the API
|
|
1153
|
-
};
|
|
1154
|
-
|
|
1155
|
-
/**
|
|
1156
|
-
* Turns off server-side caching for the website until it is enabled again. May impact performance.
|
|
1157
|
-
Use it when experiencing cache-related issues; to temporarily bypass caching while developing
|
|
1158
|
-
or debugging, prefer enabling cacheless mode instead.
|
|
1159
|
-
|
|
1160
|
-
Does nothing if caching is already disabled.
|
|
1161
|
-
*/
|
|
1162
|
-
"hosting_disableWebsiteCacheV1": {
|
|
1163
|
-
params: {
|
|
1164
|
-
/**
|
|
1165
|
-
* username parameter
|
|
1166
|
-
*/
|
|
1167
|
-
username: string;
|
|
1168
1153
|
/**
|
|
1169
|
-
*
|
|
1154
|
+
* Turn development (cacheless) mode on (true) or off (false) for the website.
|
|
1170
1155
|
*/
|
|
1171
|
-
|
|
1156
|
+
enabled: boolean;
|
|
1172
1157
|
};
|
|
1173
1158
|
response: any; // Response structure will depend on the API
|
|
1174
1159
|
};
|
|
1175
1160
|
|
|
1176
1161
|
/**
|
|
1177
|
-
*
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1162
|
+
* Turns server-side caching for the website on or off, based on the enabled flag. Enable it for
|
|
1163
|
+
faster page loads, reduced server load, and improved user experience; recommended for production
|
|
1164
|
+
websites. Disabling may impact performance; to temporarily bypass caching while developing or
|
|
1165
|
+
debugging, prefer toggling cacheless mode instead.
|
|
1166
|
+
|
|
1167
|
+
Does nothing if caching is already in the requested state.
|
|
1181
1168
|
*/
|
|
1182
|
-
"
|
|
1169
|
+
"hosting_toggleWebsiteCacheV1": {
|
|
1183
1170
|
params: {
|
|
1184
1171
|
/**
|
|
1185
1172
|
* username parameter
|
|
@@ -1189,26 +1176,10 @@ normal caching.
|
|
|
1189
1176
|
* Domain name
|
|
1190
1177
|
*/
|
|
1191
1178
|
domain: string;
|
|
1192
|
-
};
|
|
1193
|
-
response: any; // Response structure will depend on the API
|
|
1194
|
-
};
|
|
1195
|
-
|
|
1196
|
-
/**
|
|
1197
|
-
* Turns on server-side caching for the website for better performance. Use it for faster page
|
|
1198
|
-
loads, reduced server load, or improved user experience. Recommended for production websites.
|
|
1199
|
-
|
|
1200
|
-
Does nothing if caching is already enabled.
|
|
1201
|
-
*/
|
|
1202
|
-
"hosting_enableWebsiteCacheV1": {
|
|
1203
|
-
params: {
|
|
1204
1179
|
/**
|
|
1205
|
-
*
|
|
1206
|
-
*/
|
|
1207
|
-
username: string;
|
|
1208
|
-
/**
|
|
1209
|
-
* Domain name
|
|
1180
|
+
* Turn server-side caching on (true) or off (false) for the website.
|
|
1210
1181
|
*/
|
|
1211
|
-
|
|
1182
|
+
enabled: boolean;
|
|
1212
1183
|
};
|
|
1213
1184
|
response: any; // Response structure will depend on the API
|
|
1214
1185
|
};
|
|
@@ -1828,6 +1799,29 @@ Log content may contain ANSI escape sequences (color codes).
|
|
|
1828
1799
|
response: any; // Response structure will depend on the API
|
|
1829
1800
|
};
|
|
1830
1801
|
|
|
1802
|
+
/**
|
|
1803
|
+
* Restarts the Node.js server process for the website. Does not rebuild or redeploy the
|
|
1804
|
+
application. Use it to apply environment or configuration changes, or to recover a hung
|
|
1805
|
+
application.
|
|
1806
|
+
|
|
1807
|
+
Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static
|
|
1808
|
+
front-end apps (React, Vue, Vite) have no persistent server process, so restarting them
|
|
1809
|
+
has no effect. Returns success even when the website has no server process to restart.
|
|
1810
|
+
*/
|
|
1811
|
+
"hosting_restartNode.jsApplicationV1": {
|
|
1812
|
+
params: {
|
|
1813
|
+
/**
|
|
1814
|
+
* username parameter
|
|
1815
|
+
*/
|
|
1816
|
+
username: string;
|
|
1817
|
+
/**
|
|
1818
|
+
* Domain name
|
|
1819
|
+
*/
|
|
1820
|
+
domain: string;
|
|
1821
|
+
};
|
|
1822
|
+
response: any; // Response structure will depend on the API
|
|
1823
|
+
};
|
|
1824
|
+
|
|
1831
1825
|
/**
|
|
1832
1826
|
* Retrieve a paginated list of orders accessible to the authenticated client.
|
|
1833
1827
|
|