@apifreaks/openapi-specs 0.4.22 → 0.4.24
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/dist/index.cjs +309 -239
- package/dist/index.js +309 -239
- package/dist/specs/dns/dns-lookup.yaml +4 -4
- package/dist/specs/phone-number-validation/bulk-phone-number-validation.yaml +0 -18
- package/dist/specs/phone-number-validation/phone-validation.yaml +0 -18
- package/dist/specs/whois/asn-lookup.yaml +0 -15
- package/dist/specs/whois/bulk-whois-lookup.yaml +177 -25
- package/dist/specs/whois/domain-whois-history-lookup.yaml +97 -20
- package/dist/specs/whois/whois-domain-lookup.yaml +109 -21
- package/dist/specs/whois/whois-ip-lookup.yaml +86 -16
- package/package.json +1 -1
- package/specs/dns/dns-lookup.json +4 -4
- package/specs/phone-number-validation/bulk-phone-number-validation.json +0 -27
- package/specs/phone-number-validation/phone-validation.json +0 -27
- package/specs/whois/asn-lookup.json +0 -22
- package/specs/whois/bulk-whois-lookup.json +116 -47
- package/specs/whois/domain-whois-history-lookup.json +58 -32
- package/specs/whois/whois-domain-lookup.json +99 -39
- package/specs/whois/whois-ip-lookup.json +21 -33
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"get": {
|
|
22
22
|
"tags": ["WHOIS APIs"],
|
|
23
23
|
"summary": "Retrieve WHOIS registration and ownership data for an IP address",
|
|
24
|
-
"description": "Returns WHOIS details for an IPv4 or IPv6 address including IP range, organization, contacts, routes, and raw WHOIS output.",
|
|
24
|
+
"description": "Returns WHOIS details for an IPv4 or IPv6 address including IP range, organization, contacts, routes, and raw WHOIS output. Private, loopback and other reserved addresses return the IANA special-use block and are charged like any other lookup; the IPv6 loopback address ::1 returns only the raw registry reply.",
|
|
25
25
|
"operationId": "lookupIpWhois",
|
|
26
26
|
"parameters": [
|
|
27
27
|
{
|
|
@@ -122,6 +122,17 @@
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
+
},
|
|
126
|
+
"application/xml": {
|
|
127
|
+
"schema": {
|
|
128
|
+
"$ref": "#/components/schemas/IpWhoisResponse"
|
|
129
|
+
},
|
|
130
|
+
"examples": {
|
|
131
|
+
"typicalSuccessXml": {
|
|
132
|
+
"summary": "Typical successful response, as XML (format=xml)",
|
|
133
|
+
"value": "<whois>\n <status>true</status>\n <ip_address>8.8.8.8</ip_address>\n <query_time>2026-11-25 07:13:41</query_time>\n <whois_server>whois.arin.net</whois_server>\n <inet_nums>\n <inet_nums>\n <start_ip>8.8.8.0</start_ip>\n <end_ip>8.8.8.255</end_ip>\n <cidr>\n <cidr>8.8.8.0/24</cidr>\n </cidr>\n <net_name>GOGL</net_name>\n <net_handle>NET-8-8-8-0-2</net_handle>\n <status>Direct Allocation</status>\n <organization>Google LLC (GOGL)</organization>\n <date_created>2023-12-28</date_created>\n <date_updated>2023-12-28</date_updated>\n <source>https://rdap.arin.net/registry/ip/8.8.8.0</source>\n <parents>\n <parents>NET8 (NET-8-0-0-0-0)</parents>\n </parents>\n </inet_nums>\n </inet_nums>\n <organization>\n <handle>GOGL</handle>\n <name>Google LLC</name>\n <address>\n <address>1600 Amphitheatre Parkway</address>\n <address>Mountain View</address>\n <address>CA</address>\n <address>94043</address>\n <address>US</address>\n </address>\n <street>Amphitheatre Parkway</street>\n <city>Mountain View</city>\n <state>CA</state>\n <zip_code>94043</zip_code>\n <country>\n <country>US</country>\n </country>\n <date_created>2000-03-30</date_created>\n <date_updated>2019-10-31</date_updated>\n <source>https://rdap.arin.net/registry/entity/GOGL</source>\n </organization>\n <technical_contacts>\n <technical_contacts>\n <handle>ZG39-ARIN</handle>\n <name>Google LLC</name>\n <email>\n <email>arin-contact@google.com</email>\n </email>\n <phone>\n <phone>+1-650-253-0000</phone>\n </phone>\n <source>https://rdap.arin.net/registry/entity/ZG39-ARIN</source>\n </technical_contacts>\n </technical_contacts>\n <abuse_contacts>\n <abuse_contacts>\n <handle>ABUSE5250-ARIN</handle>\n <name>Abuse</name>\n <email>\n <email>network-abuse@google.com</email>\n </email>\n <phone>\n <phone>+1-650-253-0000</phone>\n </phone>\n <source>https://rdap.arin.net/registry/entity/ABUSE5250-ARIN</source>\n </abuse_contacts>\n </abuse_contacts>\n <routes>\n <routes>\n <source>https://rdap.arin.net/registry/ip/8.8.8.0</source>\n </routes>\n </routes>\n <whois_raw_response># # ARIN WHOIS data and services are subject to the Terms of Use # available at: https://w ...</whois_raw_response>\n</whois>"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
125
136
|
}
|
|
126
137
|
},
|
|
127
138
|
"headers": {
|
|
@@ -149,9 +160,7 @@
|
|
|
149
160
|
{
|
|
150
161
|
"start_ip": "8.8.8.0",
|
|
151
162
|
"end_ip": "8.8.8.255",
|
|
152
|
-
"cidr": [
|
|
153
|
-
"8.8.8.0/24"
|
|
154
|
-
],
|
|
163
|
+
"cidr": ["8.8.8.0/24"],
|
|
155
164
|
"net_name": "GOGL",
|
|
156
165
|
"net_handle": "NET-8-8-8-0-2",
|
|
157
166
|
"status": "Direct Allocation",
|
|
@@ -159,9 +168,7 @@
|
|
|
159
168
|
"date_created": "2023-12-28",
|
|
160
169
|
"date_updated": "2023-12-28",
|
|
161
170
|
"source": "https://rdap.arin.net/registry/ip/8.8.8.0",
|
|
162
|
-
"parents": [
|
|
163
|
-
"NET8 (NET-8-0-0-0-0)"
|
|
164
|
-
]
|
|
171
|
+
"parents": ["NET8 (NET-8-0-0-0-0)"]
|
|
165
172
|
}
|
|
166
173
|
]
|
|
167
174
|
}
|
|
@@ -429,28 +436,6 @@
|
|
|
429
436
|
}
|
|
430
437
|
}
|
|
431
438
|
},
|
|
432
|
-
"429": {
|
|
433
|
-
"description": "Too Many Requests -- The per-minute request limit is reached",
|
|
434
|
-
"content": {
|
|
435
|
-
"application/json": {
|
|
436
|
-
"schema": {
|
|
437
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
438
|
-
},
|
|
439
|
-
"examples": {
|
|
440
|
-
"rateLimited": {
|
|
441
|
-
"summary": "Per-minute request limit reached",
|
|
442
|
-
"value": {
|
|
443
|
-
"timestamp": "2024-07-10T13:47:02.486Z",
|
|
444
|
-
"status": 429,
|
|
445
|
-
"error": "Fetching Whois Data Failed",
|
|
446
|
-
"message": "Please slow down. Your maximum request limit per minute reached.",
|
|
447
|
-
"path": "/v1.0/ip/whois/live"
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
},
|
|
454
439
|
"499": {
|
|
455
440
|
"description": "Client Closed Request -- The request or connection timeout set by the client is too short",
|
|
456
441
|
"content": {
|
|
@@ -576,7 +561,13 @@
|
|
|
576
561
|
"IpWhoisPartialResponse": {
|
|
577
562
|
"type": "object",
|
|
578
563
|
"description": "Partial WHOIS response (HTTP 206). Same shape as IpWhoisResponse, but only the fields the registry returned are present; whois_raw_response, the organization and the contact lists may be missing.",
|
|
579
|
-
"required": [
|
|
564
|
+
"required": [
|
|
565
|
+
"status",
|
|
566
|
+
"ip_address",
|
|
567
|
+
"query_time",
|
|
568
|
+
"whois_server",
|
|
569
|
+
"inet_nums"
|
|
570
|
+
],
|
|
580
571
|
"properties": {
|
|
581
572
|
"status": {
|
|
582
573
|
"$ref": "#/components/schemas/IpWhoisResponse/properties/status"
|
|
@@ -718,7 +709,6 @@
|
|
|
718
709
|
"type": "string",
|
|
719
710
|
"description": "Unparsed WHOIS response from the WHOIS server."
|
|
720
711
|
}
|
|
721
|
-
|
|
722
712
|
}
|
|
723
713
|
},
|
|
724
714
|
"InetNum": {
|
|
@@ -974,8 +964,6 @@
|
|
|
974
964
|
"type": "string",
|
|
975
965
|
"description": "WHOIS data source for this IRT object."
|
|
976
966
|
}
|
|
977
|
-
|
|
978
|
-
|
|
979
967
|
}
|
|
980
968
|
},
|
|
981
969
|
"IpWhoisOrganization": {
|