hostinger-api-mcp 1.28.0 → 1.30.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 +156 -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 +322 -0
- package/src/core/tools/all.ts +322 -0
- package/src/core/tools/domains.js +322 -0
- package/src/core/tools/domains.ts +322 -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 +240 -0
package/src/core/tools/all.ts
CHANGED
|
@@ -2014,6 +2014,222 @@ const tools: OpenApiTool[] = [
|
|
|
2014
2014
|
],
|
|
2015
2015
|
"group": "domains"
|
|
2016
2016
|
},
|
|
2017
|
+
{
|
|
2018
|
+
"name": "domains_getIncomingDomainMoveV1",
|
|
2019
|
+
"description": "Retrieve the incoming move for a specified domain.\n\nReturns 404 when no account is moving this domain to you.\n\nUse this endpoint to check whether a domain addressed to you is still waiting to be accepted.",
|
|
2020
|
+
"method": "GET",
|
|
2021
|
+
"path": "/api/domains/v1/move/incoming/{domain}",
|
|
2022
|
+
"inputSchema": {
|
|
2023
|
+
"type": "object",
|
|
2024
|
+
"properties": {
|
|
2025
|
+
"domain": {
|
|
2026
|
+
"type": "string",
|
|
2027
|
+
"description": "Domain name"
|
|
2028
|
+
},
|
|
2029
|
+
"force_sync": {
|
|
2030
|
+
"type": "boolean",
|
|
2031
|
+
"description": "Re-check the move against the registry before responding. Only has an effect while the move is in the `activating` status."
|
|
2032
|
+
}
|
|
2033
|
+
},
|
|
2034
|
+
"required": [
|
|
2035
|
+
"domain"
|
|
2036
|
+
]
|
|
2037
|
+
},
|
|
2038
|
+
"security": [
|
|
2039
|
+
{
|
|
2040
|
+
"apiToken": []
|
|
2041
|
+
}
|
|
2042
|
+
],
|
|
2043
|
+
"group": "domains"
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
"name": "domains_acceptIncomingDomainMoveV1",
|
|
2047
|
+
"description": "Accept an incoming move for a specified domain.\n\nThe provided WHOIS profiles become the contacts of the domain, so they must belong\nto your account and satisfy the requirements of the TLD. Only the contact types the\ndomain actually uses are applied, but all four profile IDs have to be provided.\n\nThe move has to still be waiting for your decision, already accepted moves\ncannot be accepted again.\n\nAccepting does not complete the move. A confirmation email is sent to the email address of\nthe new owner contact, and the domain changes hands only after the change is confirmed from it.\nUntil then the move stays in the `activating` status, which can be followed with the\n[incoming move endpoint](#tag/domains-move).\n\nUse this endpoint to take ownership of a domain offered to you.",
|
|
2048
|
+
"method": "PUT",
|
|
2049
|
+
"path": "/api/domains/v1/move/incoming/{domain}",
|
|
2050
|
+
"inputSchema": {
|
|
2051
|
+
"type": "object",
|
|
2052
|
+
"properties": {
|
|
2053
|
+
"domain": {
|
|
2054
|
+
"type": "string",
|
|
2055
|
+
"description": "Domain name"
|
|
2056
|
+
},
|
|
2057
|
+
"domain_contacts": {
|
|
2058
|
+
"type": "object",
|
|
2059
|
+
"description": "WHOIS profiles of the accepting account. Only the contact types required by the TLD are applied, but all four IDs must be provided.",
|
|
2060
|
+
"properties": {
|
|
2061
|
+
"owner_id": {
|
|
2062
|
+
"type": "integer",
|
|
2063
|
+
"description": "Owner contact WHOIS record ID"
|
|
2064
|
+
},
|
|
2065
|
+
"admin_id": {
|
|
2066
|
+
"type": "integer",
|
|
2067
|
+
"description": "Administrative contact WHOIS record ID"
|
|
2068
|
+
},
|
|
2069
|
+
"billing_id": {
|
|
2070
|
+
"type": "integer",
|
|
2071
|
+
"description": "Billing contact WHOIS record ID"
|
|
2072
|
+
},
|
|
2073
|
+
"tech_id": {
|
|
2074
|
+
"type": "integer",
|
|
2075
|
+
"description": "Technical contact WHOIS record ID"
|
|
2076
|
+
}
|
|
2077
|
+
},
|
|
2078
|
+
"required": [
|
|
2079
|
+
"owner_id",
|
|
2080
|
+
"admin_id",
|
|
2081
|
+
"billing_id",
|
|
2082
|
+
"tech_id"
|
|
2083
|
+
]
|
|
2084
|
+
}
|
|
2085
|
+
},
|
|
2086
|
+
"required": [
|
|
2087
|
+
"domain",
|
|
2088
|
+
"domain_contacts"
|
|
2089
|
+
]
|
|
2090
|
+
},
|
|
2091
|
+
"security": [
|
|
2092
|
+
{
|
|
2093
|
+
"apiToken": []
|
|
2094
|
+
}
|
|
2095
|
+
],
|
|
2096
|
+
"group": "domains"
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
"name": "domains_rejectIncomingDomainMoveV1",
|
|
2100
|
+
"description": "Reject an incoming move for a specified domain.\n\nThe domain stays in the account which initiated the move.\nMoves you have already accepted cannot be rejected anymore.\n\nUse this endpoint to decline a domain you do not want to take over.",
|
|
2101
|
+
"method": "DELETE",
|
|
2102
|
+
"path": "/api/domains/v1/move/incoming/{domain}",
|
|
2103
|
+
"inputSchema": {
|
|
2104
|
+
"type": "object",
|
|
2105
|
+
"properties": {
|
|
2106
|
+
"domain": {
|
|
2107
|
+
"type": "string",
|
|
2108
|
+
"description": "Domain name"
|
|
2109
|
+
}
|
|
2110
|
+
},
|
|
2111
|
+
"required": [
|
|
2112
|
+
"domain"
|
|
2113
|
+
]
|
|
2114
|
+
},
|
|
2115
|
+
"security": [
|
|
2116
|
+
{
|
|
2117
|
+
"apiToken": []
|
|
2118
|
+
}
|
|
2119
|
+
],
|
|
2120
|
+
"group": "domains"
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
"name": "domains_getIncomingDomainMoveListV1",
|
|
2124
|
+
"description": "Retrieve all domains other Hostinger accounts are moving to your account.\n\nMoves of every status are returned, including the ones which already completed.\n\nUse this endpoint to find domains waiting for you to accept them.",
|
|
2125
|
+
"method": "GET",
|
|
2126
|
+
"path": "/api/domains/v1/move/incoming",
|
|
2127
|
+
"inputSchema": {
|
|
2128
|
+
"type": "object",
|
|
2129
|
+
"properties": {},
|
|
2130
|
+
"required": []
|
|
2131
|
+
},
|
|
2132
|
+
"security": [
|
|
2133
|
+
{
|
|
2134
|
+
"apiToken": []
|
|
2135
|
+
}
|
|
2136
|
+
],
|
|
2137
|
+
"group": "domains"
|
|
2138
|
+
},
|
|
2139
|
+
{
|
|
2140
|
+
"name": "domains_getOutgoingDomainMoveV1",
|
|
2141
|
+
"description": "Retrieve the outgoing move for a specified domain.\n\nReturns 404 when the domain has no move in progress.\n\nUse this endpoint to track the status of a move you have initiated for a single domain.",
|
|
2142
|
+
"method": "GET",
|
|
2143
|
+
"path": "/api/domains/v1/move/outgoing/{domain}",
|
|
2144
|
+
"inputSchema": {
|
|
2145
|
+
"type": "object",
|
|
2146
|
+
"properties": {
|
|
2147
|
+
"domain": {
|
|
2148
|
+
"type": "string",
|
|
2149
|
+
"description": "Domain name"
|
|
2150
|
+
}
|
|
2151
|
+
},
|
|
2152
|
+
"required": [
|
|
2153
|
+
"domain"
|
|
2154
|
+
]
|
|
2155
|
+
},
|
|
2156
|
+
"security": [
|
|
2157
|
+
{
|
|
2158
|
+
"apiToken": []
|
|
2159
|
+
}
|
|
2160
|
+
],
|
|
2161
|
+
"group": "domains"
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
"name": "domains_startOutgoingDomainMoveV1",
|
|
2165
|
+
"description": "Initiate a move of a specified domain to another Hostinger account.\n\nThe receiving account has to already exist and accept the move before the domain changes hands.\n\nThe domain must be active. The subscription it belongs to is resolved automatically,\nand the request is rejected with a 404 status code when the domain has no domain\nsubscription of its own.\n\nDomains protected by premium protection require an additional verification step,\nsuch requests are rejected with a 428 status code.\n\nUse this endpoint to hand a domain over to another Hostinger user.",
|
|
2166
|
+
"method": "POST",
|
|
2167
|
+
"path": "/api/domains/v1/move/outgoing/{domain}",
|
|
2168
|
+
"inputSchema": {
|
|
2169
|
+
"type": "object",
|
|
2170
|
+
"properties": {
|
|
2171
|
+
"domain": {
|
|
2172
|
+
"type": "string",
|
|
2173
|
+
"description": "Domain name"
|
|
2174
|
+
},
|
|
2175
|
+
"new_customer_email": {
|
|
2176
|
+
"type": "string",
|
|
2177
|
+
"description": "Email address of the Hostinger account receiving the domain"
|
|
2178
|
+
}
|
|
2179
|
+
},
|
|
2180
|
+
"required": [
|
|
2181
|
+
"domain",
|
|
2182
|
+
"new_customer_email"
|
|
2183
|
+
]
|
|
2184
|
+
},
|
|
2185
|
+
"security": [
|
|
2186
|
+
{
|
|
2187
|
+
"apiToken": []
|
|
2188
|
+
}
|
|
2189
|
+
],
|
|
2190
|
+
"group": "domains"
|
|
2191
|
+
},
|
|
2192
|
+
{
|
|
2193
|
+
"name": "domains_cancelOutgoingDomainMoveV1",
|
|
2194
|
+
"description": "Cancel an outgoing move for a specified domain.\n\nThe move can only be cancelled while the receiving account has not accepted it yet.\nThe domain stays in your account.\n\nUse this endpoint to withdraw a move you no longer want to complete.",
|
|
2195
|
+
"method": "DELETE",
|
|
2196
|
+
"path": "/api/domains/v1/move/outgoing/{domain}",
|
|
2197
|
+
"inputSchema": {
|
|
2198
|
+
"type": "object",
|
|
2199
|
+
"properties": {
|
|
2200
|
+
"domain": {
|
|
2201
|
+
"type": "string",
|
|
2202
|
+
"description": "Domain name"
|
|
2203
|
+
}
|
|
2204
|
+
},
|
|
2205
|
+
"required": [
|
|
2206
|
+
"domain"
|
|
2207
|
+
]
|
|
2208
|
+
},
|
|
2209
|
+
"security": [
|
|
2210
|
+
{
|
|
2211
|
+
"apiToken": []
|
|
2212
|
+
}
|
|
2213
|
+
],
|
|
2214
|
+
"group": "domains"
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
"name": "domains_getOutgoingDomainMoveListV1",
|
|
2218
|
+
"description": "Retrieve all domains you are moving to other Hostinger accounts.\n\nOnly moves which have not completed yet are returned.\n\nUse this endpoint to track moves you have initiated and the accounts they are addressed to.",
|
|
2219
|
+
"method": "GET",
|
|
2220
|
+
"path": "/api/domains/v1/move/outgoing",
|
|
2221
|
+
"inputSchema": {
|
|
2222
|
+
"type": "object",
|
|
2223
|
+
"properties": {},
|
|
2224
|
+
"required": []
|
|
2225
|
+
},
|
|
2226
|
+
"security": [
|
|
2227
|
+
{
|
|
2228
|
+
"apiToken": []
|
|
2229
|
+
}
|
|
2230
|
+
],
|
|
2231
|
+
"group": "domains"
|
|
2232
|
+
},
|
|
2017
2233
|
{
|
|
2018
2234
|
"name": "domains_getDomainAuthorizationCodeV1",
|
|
2019
2235
|
"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.",
|
|
@@ -2038,6 +2254,57 @@ const tools: OpenApiTool[] = [
|
|
|
2038
2254
|
],
|
|
2039
2255
|
"group": "domains"
|
|
2040
2256
|
},
|
|
2257
|
+
{
|
|
2258
|
+
"name": "domains_claimFreeDomainV1",
|
|
2259
|
+
"description": "Claim a free domain available on your account and register it.\n\nUnlike purchasing a domain, this consumes a free domain you already have,\nso no payment method is required.\n\nA successful response means the domain is registered. If registration fails, login to\n[hPanel](https://hpanel.hostinger.com/) and check domain registration status.\n\nIf no WHOIS information is provided, default contact information for that TLD will be used.\nBefore making request, ensure WHOIS information for desired TLD exists in your account.\n\nSome TLDs require `additional_details` to be provided and these will be validated before claiming.\n\nRequests which cannot be fulfilled are rejected with an error code in the response body,\nfor example `2037` when no free domain is available.\n\nUse this endpoint to register a domain using a free domain from your account.",
|
|
2260
|
+
"method": "POST",
|
|
2261
|
+
"path": "/api/domains/v1/portfolio/claim",
|
|
2262
|
+
"inputSchema": {
|
|
2263
|
+
"type": "object",
|
|
2264
|
+
"properties": {
|
|
2265
|
+
"domain": {
|
|
2266
|
+
"type": "string",
|
|
2267
|
+
"description": "Domain name"
|
|
2268
|
+
},
|
|
2269
|
+
"domain_contacts": {
|
|
2270
|
+
"type": "object",
|
|
2271
|
+
"description": "Domain contact information",
|
|
2272
|
+
"properties": {
|
|
2273
|
+
"owner_id": {
|
|
2274
|
+
"type": "integer",
|
|
2275
|
+
"description": "Owner contact WHOIS record ID"
|
|
2276
|
+
},
|
|
2277
|
+
"admin_id": {
|
|
2278
|
+
"type": "integer",
|
|
2279
|
+
"description": "Administrative contact WHOIS record ID"
|
|
2280
|
+
},
|
|
2281
|
+
"billing_id": {
|
|
2282
|
+
"type": "integer",
|
|
2283
|
+
"description": "Billing contact WHOIS record ID"
|
|
2284
|
+
},
|
|
2285
|
+
"tech_id": {
|
|
2286
|
+
"type": "integer",
|
|
2287
|
+
"description": "Technical contact WHOIS record ID"
|
|
2288
|
+
}
|
|
2289
|
+
}
|
|
2290
|
+
},
|
|
2291
|
+
"additional_details": {
|
|
2292
|
+
"type": "object",
|
|
2293
|
+
"description": "Additional registration data, possible values depends on TLD",
|
|
2294
|
+
"properties": {}
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2297
|
+
"required": [
|
|
2298
|
+
"domain"
|
|
2299
|
+
]
|
|
2300
|
+
},
|
|
2301
|
+
"security": [
|
|
2302
|
+
{
|
|
2303
|
+
"apiToken": []
|
|
2304
|
+
}
|
|
2305
|
+
],
|
|
2306
|
+
"group": "domains"
|
|
2307
|
+
},
|
|
2041
2308
|
{
|
|
2042
2309
|
"name": "domains_enableDomainLockV1",
|
|
2043
2310
|
"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.",
|
|
@@ -2309,6 +2576,61 @@ const tools: OpenApiTool[] = [
|
|
|
2309
2576
|
],
|
|
2310
2577
|
"group": "domains"
|
|
2311
2578
|
},
|
|
2579
|
+
{
|
|
2580
|
+
"name": "domains_claimFreeDomainTransferV1",
|
|
2581
|
+
"description": "Claim a free domain transfer available on your account and start the transfer.\n\nUnlike purchasing a transfer, this consumes a free domain transfer you already have,\nso no payment method is required.\n\nBefore making request, unlock the domain at the current registrar and get its authorization\ncode. The transfer is validated first, so domains which cannot be transferred are rejected\nbefore the free domain transfer is consumed.\n\nA successful response means the transfer has been started. Completion depends on the current\nregistrar and can be followed with the [transfer list endpoint](#tag/domains-transfer).\n\nIf no WHOIS information is provided, default contact information for that TLD will be used.\nBefore making request, ensure WHOIS information for desired TLD exists in your account.\n\nRequests which cannot be fulfilled are rejected with an error code in the response body.\n\nUse this endpoint to transfer a domain using a free domain transfer from your account.",
|
|
2582
|
+
"method": "POST",
|
|
2583
|
+
"path": "/api/domains/v1/transfers/claim",
|
|
2584
|
+
"inputSchema": {
|
|
2585
|
+
"type": "object",
|
|
2586
|
+
"properties": {
|
|
2587
|
+
"domain": {
|
|
2588
|
+
"type": "string",
|
|
2589
|
+
"description": "Domain name"
|
|
2590
|
+
},
|
|
2591
|
+
"auth_code": {
|
|
2592
|
+
"type": "string",
|
|
2593
|
+
"description": "Authorization code from the current registrar"
|
|
2594
|
+
},
|
|
2595
|
+
"domain_contacts": {
|
|
2596
|
+
"type": "object",
|
|
2597
|
+
"description": "Domain contact information",
|
|
2598
|
+
"properties": {
|
|
2599
|
+
"owner_id": {
|
|
2600
|
+
"type": "integer",
|
|
2601
|
+
"description": "Owner contact WHOIS record ID"
|
|
2602
|
+
},
|
|
2603
|
+
"admin_id": {
|
|
2604
|
+
"type": "integer",
|
|
2605
|
+
"description": "Administrative contact WHOIS record ID"
|
|
2606
|
+
},
|
|
2607
|
+
"billing_id": {
|
|
2608
|
+
"type": "integer",
|
|
2609
|
+
"description": "Billing contact WHOIS record ID"
|
|
2610
|
+
},
|
|
2611
|
+
"tech_id": {
|
|
2612
|
+
"type": "integer",
|
|
2613
|
+
"description": "Technical contact WHOIS record ID"
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
},
|
|
2617
|
+
"should_keep_ns": {
|
|
2618
|
+
"type": "boolean",
|
|
2619
|
+
"description": "Keep the existing nameservers of the domain"
|
|
2620
|
+
}
|
|
2621
|
+
},
|
|
2622
|
+
"required": [
|
|
2623
|
+
"domain",
|
|
2624
|
+
"auth_code"
|
|
2625
|
+
]
|
|
2626
|
+
},
|
|
2627
|
+
"security": [
|
|
2628
|
+
{
|
|
2629
|
+
"apiToken": []
|
|
2630
|
+
}
|
|
2631
|
+
],
|
|
2632
|
+
"group": "domains"
|
|
2633
|
+
},
|
|
2312
2634
|
{
|
|
2313
2635
|
"name": "domains_getTransferV1",
|
|
2314
2636
|
"description": "Retrieve the transfer for a specified domain.\n\nUse this endpoint to track an incoming or outgoing registrar transfer and its status.",
|
|
@@ -226,6 +226,222 @@ export default [
|
|
|
226
226
|
],
|
|
227
227
|
"group": "domains"
|
|
228
228
|
},
|
|
229
|
+
{
|
|
230
|
+
"name": "domains_getIncomingDomainMoveV1",
|
|
231
|
+
"description": "Retrieve the incoming move for a specified domain.\n\nReturns 404 when no account is moving this domain to you.\n\nUse this endpoint to check whether a domain addressed to you is still waiting to be accepted.",
|
|
232
|
+
"method": "GET",
|
|
233
|
+
"path": "/api/domains/v1/move/incoming/{domain}",
|
|
234
|
+
"inputSchema": {
|
|
235
|
+
"type": "object",
|
|
236
|
+
"properties": {
|
|
237
|
+
"domain": {
|
|
238
|
+
"type": "string",
|
|
239
|
+
"description": "Domain name"
|
|
240
|
+
},
|
|
241
|
+
"force_sync": {
|
|
242
|
+
"type": "boolean",
|
|
243
|
+
"description": "Re-check the move against the registry before responding. Only has an effect while the move is in the `activating` status."
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"required": [
|
|
247
|
+
"domain"
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
"security": [
|
|
251
|
+
{
|
|
252
|
+
"apiToken": []
|
|
253
|
+
}
|
|
254
|
+
],
|
|
255
|
+
"group": "domains"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "domains_acceptIncomingDomainMoveV1",
|
|
259
|
+
"description": "Accept an incoming move for a specified domain.\n\nThe provided WHOIS profiles become the contacts of the domain, so they must belong\nto your account and satisfy the requirements of the TLD. Only the contact types the\ndomain actually uses are applied, but all four profile IDs have to be provided.\n\nThe move has to still be waiting for your decision, already accepted moves\ncannot be accepted again.\n\nAccepting does not complete the move. A confirmation email is sent to the email address of\nthe new owner contact, and the domain changes hands only after the change is confirmed from it.\nUntil then the move stays in the `activating` status, which can be followed with the\n[incoming move endpoint](#tag/domains-move).\n\nUse this endpoint to take ownership of a domain offered to you.",
|
|
260
|
+
"method": "PUT",
|
|
261
|
+
"path": "/api/domains/v1/move/incoming/{domain}",
|
|
262
|
+
"inputSchema": {
|
|
263
|
+
"type": "object",
|
|
264
|
+
"properties": {
|
|
265
|
+
"domain": {
|
|
266
|
+
"type": "string",
|
|
267
|
+
"description": "Domain name"
|
|
268
|
+
},
|
|
269
|
+
"domain_contacts": {
|
|
270
|
+
"type": "object",
|
|
271
|
+
"description": "WHOIS profiles of the accepting account. Only the contact types required by the TLD are applied, but all four IDs must be provided.",
|
|
272
|
+
"properties": {
|
|
273
|
+
"owner_id": {
|
|
274
|
+
"type": "integer",
|
|
275
|
+
"description": "Owner contact WHOIS record ID"
|
|
276
|
+
},
|
|
277
|
+
"admin_id": {
|
|
278
|
+
"type": "integer",
|
|
279
|
+
"description": "Administrative contact WHOIS record ID"
|
|
280
|
+
},
|
|
281
|
+
"billing_id": {
|
|
282
|
+
"type": "integer",
|
|
283
|
+
"description": "Billing contact WHOIS record ID"
|
|
284
|
+
},
|
|
285
|
+
"tech_id": {
|
|
286
|
+
"type": "integer",
|
|
287
|
+
"description": "Technical contact WHOIS record ID"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"required": [
|
|
291
|
+
"owner_id",
|
|
292
|
+
"admin_id",
|
|
293
|
+
"billing_id",
|
|
294
|
+
"tech_id"
|
|
295
|
+
]
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"required": [
|
|
299
|
+
"domain",
|
|
300
|
+
"domain_contacts"
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
"security": [
|
|
304
|
+
{
|
|
305
|
+
"apiToken": []
|
|
306
|
+
}
|
|
307
|
+
],
|
|
308
|
+
"group": "domains"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "domains_rejectIncomingDomainMoveV1",
|
|
312
|
+
"description": "Reject an incoming move for a specified domain.\n\nThe domain stays in the account which initiated the move.\nMoves you have already accepted cannot be rejected anymore.\n\nUse this endpoint to decline a domain you do not want to take over.",
|
|
313
|
+
"method": "DELETE",
|
|
314
|
+
"path": "/api/domains/v1/move/incoming/{domain}",
|
|
315
|
+
"inputSchema": {
|
|
316
|
+
"type": "object",
|
|
317
|
+
"properties": {
|
|
318
|
+
"domain": {
|
|
319
|
+
"type": "string",
|
|
320
|
+
"description": "Domain name"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"required": [
|
|
324
|
+
"domain"
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
"security": [
|
|
328
|
+
{
|
|
329
|
+
"apiToken": []
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"group": "domains"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"name": "domains_getIncomingDomainMoveListV1",
|
|
336
|
+
"description": "Retrieve all domains other Hostinger accounts are moving to your account.\n\nMoves of every status are returned, including the ones which already completed.\n\nUse this endpoint to find domains waiting for you to accept them.",
|
|
337
|
+
"method": "GET",
|
|
338
|
+
"path": "/api/domains/v1/move/incoming",
|
|
339
|
+
"inputSchema": {
|
|
340
|
+
"type": "object",
|
|
341
|
+
"properties": {},
|
|
342
|
+
"required": []
|
|
343
|
+
},
|
|
344
|
+
"security": [
|
|
345
|
+
{
|
|
346
|
+
"apiToken": []
|
|
347
|
+
}
|
|
348
|
+
],
|
|
349
|
+
"group": "domains"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "domains_getOutgoingDomainMoveV1",
|
|
353
|
+
"description": "Retrieve the outgoing move for a specified domain.\n\nReturns 404 when the domain has no move in progress.\n\nUse this endpoint to track the status of a move you have initiated for a single domain.",
|
|
354
|
+
"method": "GET",
|
|
355
|
+
"path": "/api/domains/v1/move/outgoing/{domain}",
|
|
356
|
+
"inputSchema": {
|
|
357
|
+
"type": "object",
|
|
358
|
+
"properties": {
|
|
359
|
+
"domain": {
|
|
360
|
+
"type": "string",
|
|
361
|
+
"description": "Domain name"
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"required": [
|
|
365
|
+
"domain"
|
|
366
|
+
]
|
|
367
|
+
},
|
|
368
|
+
"security": [
|
|
369
|
+
{
|
|
370
|
+
"apiToken": []
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
"group": "domains"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"name": "domains_startOutgoingDomainMoveV1",
|
|
377
|
+
"description": "Initiate a move of a specified domain to another Hostinger account.\n\nThe receiving account has to already exist and accept the move before the domain changes hands.\n\nThe domain must be active. The subscription it belongs to is resolved automatically,\nand the request is rejected with a 404 status code when the domain has no domain\nsubscription of its own.\n\nDomains protected by premium protection require an additional verification step,\nsuch requests are rejected with a 428 status code.\n\nUse this endpoint to hand a domain over to another Hostinger user.",
|
|
378
|
+
"method": "POST",
|
|
379
|
+
"path": "/api/domains/v1/move/outgoing/{domain}",
|
|
380
|
+
"inputSchema": {
|
|
381
|
+
"type": "object",
|
|
382
|
+
"properties": {
|
|
383
|
+
"domain": {
|
|
384
|
+
"type": "string",
|
|
385
|
+
"description": "Domain name"
|
|
386
|
+
},
|
|
387
|
+
"new_customer_email": {
|
|
388
|
+
"type": "string",
|
|
389
|
+
"description": "Email address of the Hostinger account receiving the domain"
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
"required": [
|
|
393
|
+
"domain",
|
|
394
|
+
"new_customer_email"
|
|
395
|
+
]
|
|
396
|
+
},
|
|
397
|
+
"security": [
|
|
398
|
+
{
|
|
399
|
+
"apiToken": []
|
|
400
|
+
}
|
|
401
|
+
],
|
|
402
|
+
"group": "domains"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"name": "domains_cancelOutgoingDomainMoveV1",
|
|
406
|
+
"description": "Cancel an outgoing move for a specified domain.\n\nThe move can only be cancelled while the receiving account has not accepted it yet.\nThe domain stays in your account.\n\nUse this endpoint to withdraw a move you no longer want to complete.",
|
|
407
|
+
"method": "DELETE",
|
|
408
|
+
"path": "/api/domains/v1/move/outgoing/{domain}",
|
|
409
|
+
"inputSchema": {
|
|
410
|
+
"type": "object",
|
|
411
|
+
"properties": {
|
|
412
|
+
"domain": {
|
|
413
|
+
"type": "string",
|
|
414
|
+
"description": "Domain name"
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"required": [
|
|
418
|
+
"domain"
|
|
419
|
+
]
|
|
420
|
+
},
|
|
421
|
+
"security": [
|
|
422
|
+
{
|
|
423
|
+
"apiToken": []
|
|
424
|
+
}
|
|
425
|
+
],
|
|
426
|
+
"group": "domains"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"name": "domains_getOutgoingDomainMoveListV1",
|
|
430
|
+
"description": "Retrieve all domains you are moving to other Hostinger accounts.\n\nOnly moves which have not completed yet are returned.\n\nUse this endpoint to track moves you have initiated and the accounts they are addressed to.",
|
|
431
|
+
"method": "GET",
|
|
432
|
+
"path": "/api/domains/v1/move/outgoing",
|
|
433
|
+
"inputSchema": {
|
|
434
|
+
"type": "object",
|
|
435
|
+
"properties": {},
|
|
436
|
+
"required": []
|
|
437
|
+
},
|
|
438
|
+
"security": [
|
|
439
|
+
{
|
|
440
|
+
"apiToken": []
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
"group": "domains"
|
|
444
|
+
},
|
|
229
445
|
{
|
|
230
446
|
"name": "domains_getDomainAuthorizationCodeV1",
|
|
231
447
|
"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.",
|
|
@@ -250,6 +466,57 @@ export default [
|
|
|
250
466
|
],
|
|
251
467
|
"group": "domains"
|
|
252
468
|
},
|
|
469
|
+
{
|
|
470
|
+
"name": "domains_claimFreeDomainV1",
|
|
471
|
+
"description": "Claim a free domain available on your account and register it.\n\nUnlike purchasing a domain, this consumes a free domain you already have,\nso no payment method is required.\n\nA successful response means the domain is registered. If registration fails, login to\n[hPanel](https://hpanel.hostinger.com/) and check domain registration status.\n\nIf no WHOIS information is provided, default contact information for that TLD will be used.\nBefore making request, ensure WHOIS information for desired TLD exists in your account.\n\nSome TLDs require `additional_details` to be provided and these will be validated before claiming.\n\nRequests which cannot be fulfilled are rejected with an error code in the response body,\nfor example `2037` when no free domain is available.\n\nUse this endpoint to register a domain using a free domain from your account.",
|
|
472
|
+
"method": "POST",
|
|
473
|
+
"path": "/api/domains/v1/portfolio/claim",
|
|
474
|
+
"inputSchema": {
|
|
475
|
+
"type": "object",
|
|
476
|
+
"properties": {
|
|
477
|
+
"domain": {
|
|
478
|
+
"type": "string",
|
|
479
|
+
"description": "Domain name"
|
|
480
|
+
},
|
|
481
|
+
"domain_contacts": {
|
|
482
|
+
"type": "object",
|
|
483
|
+
"description": "Domain contact information",
|
|
484
|
+
"properties": {
|
|
485
|
+
"owner_id": {
|
|
486
|
+
"type": "integer",
|
|
487
|
+
"description": "Owner contact WHOIS record ID"
|
|
488
|
+
},
|
|
489
|
+
"admin_id": {
|
|
490
|
+
"type": "integer",
|
|
491
|
+
"description": "Administrative contact WHOIS record ID"
|
|
492
|
+
},
|
|
493
|
+
"billing_id": {
|
|
494
|
+
"type": "integer",
|
|
495
|
+
"description": "Billing contact WHOIS record ID"
|
|
496
|
+
},
|
|
497
|
+
"tech_id": {
|
|
498
|
+
"type": "integer",
|
|
499
|
+
"description": "Technical contact WHOIS record ID"
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"additional_details": {
|
|
504
|
+
"type": "object",
|
|
505
|
+
"description": "Additional registration data, possible values depends on TLD",
|
|
506
|
+
"properties": {}
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
"required": [
|
|
510
|
+
"domain"
|
|
511
|
+
]
|
|
512
|
+
},
|
|
513
|
+
"security": [
|
|
514
|
+
{
|
|
515
|
+
"apiToken": []
|
|
516
|
+
}
|
|
517
|
+
],
|
|
518
|
+
"group": "domains"
|
|
519
|
+
},
|
|
253
520
|
{
|
|
254
521
|
"name": "domains_enableDomainLockV1",
|
|
255
522
|
"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.",
|
|
@@ -521,6 +788,61 @@ export default [
|
|
|
521
788
|
],
|
|
522
789
|
"group": "domains"
|
|
523
790
|
},
|
|
791
|
+
{
|
|
792
|
+
"name": "domains_claimFreeDomainTransferV1",
|
|
793
|
+
"description": "Claim a free domain transfer available on your account and start the transfer.\n\nUnlike purchasing a transfer, this consumes a free domain transfer you already have,\nso no payment method is required.\n\nBefore making request, unlock the domain at the current registrar and get its authorization\ncode. The transfer is validated first, so domains which cannot be transferred are rejected\nbefore the free domain transfer is consumed.\n\nA successful response means the transfer has been started. Completion depends on the current\nregistrar and can be followed with the [transfer list endpoint](#tag/domains-transfer).\n\nIf no WHOIS information is provided, default contact information for that TLD will be used.\nBefore making request, ensure WHOIS information for desired TLD exists in your account.\n\nRequests which cannot be fulfilled are rejected with an error code in the response body.\n\nUse this endpoint to transfer a domain using a free domain transfer from your account.",
|
|
794
|
+
"method": "POST",
|
|
795
|
+
"path": "/api/domains/v1/transfers/claim",
|
|
796
|
+
"inputSchema": {
|
|
797
|
+
"type": "object",
|
|
798
|
+
"properties": {
|
|
799
|
+
"domain": {
|
|
800
|
+
"type": "string",
|
|
801
|
+
"description": "Domain name"
|
|
802
|
+
},
|
|
803
|
+
"auth_code": {
|
|
804
|
+
"type": "string",
|
|
805
|
+
"description": "Authorization code from the current registrar"
|
|
806
|
+
},
|
|
807
|
+
"domain_contacts": {
|
|
808
|
+
"type": "object",
|
|
809
|
+
"description": "Domain contact information",
|
|
810
|
+
"properties": {
|
|
811
|
+
"owner_id": {
|
|
812
|
+
"type": "integer",
|
|
813
|
+
"description": "Owner contact WHOIS record ID"
|
|
814
|
+
},
|
|
815
|
+
"admin_id": {
|
|
816
|
+
"type": "integer",
|
|
817
|
+
"description": "Administrative contact WHOIS record ID"
|
|
818
|
+
},
|
|
819
|
+
"billing_id": {
|
|
820
|
+
"type": "integer",
|
|
821
|
+
"description": "Billing contact WHOIS record ID"
|
|
822
|
+
},
|
|
823
|
+
"tech_id": {
|
|
824
|
+
"type": "integer",
|
|
825
|
+
"description": "Technical contact WHOIS record ID"
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
},
|
|
829
|
+
"should_keep_ns": {
|
|
830
|
+
"type": "boolean",
|
|
831
|
+
"description": "Keep the existing nameservers of the domain"
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
"required": [
|
|
835
|
+
"domain",
|
|
836
|
+
"auth_code"
|
|
837
|
+
]
|
|
838
|
+
},
|
|
839
|
+
"security": [
|
|
840
|
+
{
|
|
841
|
+
"apiToken": []
|
|
842
|
+
}
|
|
843
|
+
],
|
|
844
|
+
"group": "domains"
|
|
845
|
+
},
|
|
524
846
|
{
|
|
525
847
|
"name": "domains_getTransferV1",
|
|
526
848
|
"description": "Retrieve the transfer for a specified domain.\n\nUse this endpoint to track an incoming or outgoing registrar transfer and its status.",
|