@apifreaks/openapi-specs 0.2.0 → 0.3.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 +37 -38
- package/dist/index.cjs +5561 -2991
- package/dist/index.d.cts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +5561 -2991
- package/dist/specs/{general → billing}/usage-credits.yaml +11 -0
- package/dist/specs/commodity/commodity-fluctuation.yaml +14 -0
- package/dist/specs/commodity/commodity-prices.yaml +14 -0
- package/dist/specs/commodity/commodity-symbols.yaml +8 -0
- package/dist/specs/commodity/commodity-time-series.yaml +14 -0
- package/dist/specs/commodity/historical-commodity-prices.yaml +14 -0
- package/dist/specs/currency/currency-converter.yaml +14 -0
- package/dist/specs/currency/currency-fluctuation.yaml +14 -0
- package/dist/specs/currency/currency-historical-data-limit.yaml +11 -0
- package/dist/specs/currency/currency-rate.yaml +14 -0
- package/dist/specs/currency/currency-supported.yaml +11 -0
- package/dist/specs/currency/currency-symbols.yaml +11 -0
- package/dist/specs/currency/currency-time-series.yaml +14 -0
- package/dist/specs/currency/geolocalized-currency-conversion.yaml +14 -0
- package/dist/specs/currency/historical-currency-converter.yaml +14 -0
- package/dist/specs/currency/historical-currency-rate.yaml +14 -0
- package/dist/specs/dns/bulk-dns-lookup.yaml +14 -0
- package/dist/specs/dns/dns-history-lookup.yaml +14 -0
- package/dist/specs/dns/dns-lookup.yaml +11 -0
- package/dist/specs/dns/reverse-dns-lookup.yaml +34 -0
- package/dist/specs/domain/bulk-domain-checker.yaml +17 -0
- package/dist/specs/domain/domain-search-with-suggestions.yaml +14 -0
- package/dist/specs/domain/domain-search.yaml +14 -0
- package/dist/specs/domain/subdomain-lookup.yaml +14 -0
- package/dist/specs/email-validation/bulk-email-validation.yaml +76 -12
- package/dist/specs/email-validation/email-checker.yaml +93 -10
- package/dist/specs/financial/bulk-vat-rates-country.yaml +14 -0
- package/dist/specs/financial/financial-apis-supported-countries.yaml +8 -0
- package/dist/specs/financial/iban-validation.yaml +11 -0
- package/dist/specs/financial/swift-code-finder.yaml +11 -0
- package/dist/specs/financial/swift-code-lookup.yaml +14 -0
- package/dist/specs/financial/vat-number-validation.yaml +14 -0
- package/dist/specs/financial/vat-rates-by-ip.yaml +14 -0
- package/dist/specs/financial/vat-rates-country.yaml +14 -0
- package/dist/specs/geocoding/forward-geocoding.yaml +14 -0
- package/dist/specs/geocoding/reverse-geocoding.yaml +11 -0
- package/dist/specs/{geodb → geography}/administrative-units-details.yaml +14 -0
- package/dist/specs/{geodb → geography}/administrative-units-levels.yaml +14 -0
- package/dist/specs/{geodb → geography}/administrative-units.yaml +14 -0
- package/dist/specs/{geodb → geography}/cities.yaml +14 -0
- package/dist/specs/{geodb → geography}/countries-details.yaml +11 -0
- package/dist/specs/{geodb → geography}/countries.yaml +11 -0
- package/dist/specs/{geodb → geography}/flags-supported.yaml +8 -0
- package/dist/specs/{geodb → geography}/flags.yaml +14 -0
- package/dist/specs/{geodb → geography}/regions.yaml +8 -0
- package/dist/specs/{geodb → geography}/subregions.yaml +14 -0
- package/dist/specs/ip-intelligence/bulk-ip-lookup.yaml +14 -0
- package/dist/specs/ip-intelligence/bulk-ip-threat-intelligence.yaml +11 -0
- package/dist/specs/ip-intelligence/ip-locator.yaml +17 -0
- package/dist/specs/ip-intelligence/ip-threat-intelligence.yaml +14 -0
- package/dist/specs/pdf/bulk-pdf-generator.yaml +32 -0
- package/dist/specs/pdf/delete-pdf-page.yaml +14 -0
- package/dist/specs/pdf/linearize-pdf.yaml +14 -0
- package/dist/specs/pdf/merge-pdf.yaml +14 -0
- package/dist/specs/pdf/pdf-compress.yaml +14 -0
- package/dist/specs/pdf/pdf-decrypt.yaml +14 -0
- package/dist/specs/pdf/pdf-encrypt.yaml +14 -0
- package/dist/specs/pdf/pdf-extract-pages.yaml +14 -0
- package/dist/specs/pdf/pdf-file-status.yaml +14 -0
- package/dist/specs/pdf/pdf-file.yaml +14 -0
- package/dist/specs/pdf/pdf-files.yaml +8 -0
- package/dist/specs/pdf/pdf-generator.yaml +32 -0
- package/dist/specs/pdf/pdf-resource-download.yaml +14 -0
- package/dist/specs/pdf/pdf-resource-upload-binary.yaml +14 -0
- package/dist/specs/pdf/pdf-resource-upload.yaml +14 -0
- package/dist/specs/pdf/pdf-restrict.yaml +14 -0
- package/dist/specs/pdf/pdf-split-pages.yaml +14 -0
- package/dist/specs/pdf/pdf-task-status.yaml +14 -0
- package/dist/specs/pdf/pdf-to-image.yaml +35 -0
- package/dist/specs/pdf/pdf-unrestrict.yaml +14 -0
- package/dist/specs/pdf/rotate-pdf-pages.yaml +14 -0
- package/dist/specs/phone-validation/bulk-phone-number-validation.yaml +23 -0
- package/dist/specs/phone-validation/phone-number-validation.yaml +20 -0
- package/dist/specs/scraper/web-scraper.yaml +34 -0
- package/dist/specs/screenshot/bulk-screenshot.yaml +34 -0
- package/dist/specs/screenshot/website-screenshot.yaml +34 -0
- package/dist/specs/ssl/ssl-certificate-chain-lookup.yaml +17 -0
- package/dist/specs/ssl/ssl-certificate-lookup.yaml +17 -0
- package/dist/specs/timezone/timezone-converter.yaml +14 -0
- package/dist/specs/timezone/timezone-lookup.yaml +14 -0
- package/dist/specs/user-agent/bulk-user-agent-parser.yaml +11 -0
- package/dist/specs/user-agent/user-agent-parser.yaml +11 -0
- package/dist/specs/weather/air-quality.yaml +14 -0
- package/dist/specs/{other → weather}/astronomy-data.yaml +14 -0
- package/dist/specs/weather/bulk-live-weather.yaml +11 -0
- package/dist/specs/weather/flood-forecast.yaml +14 -0
- package/dist/specs/weather/historical-weather.yaml +14 -0
- package/dist/specs/weather/live-weather.yaml +14 -0
- package/dist/specs/weather/marine-weather.yaml +14 -0
- package/dist/specs/weather/time-series-weather.yaml +11 -0
- package/dist/specs/weather/weather-forecast.yaml +11 -0
- package/dist/specs/whois/asn-lookup.yaml +14 -0
- package/dist/specs/whois/bulk-whois-lookup.yaml +17 -0
- package/dist/specs/whois/domain-whois-history-lookup.yaml +14 -0
- package/dist/specs/whois/reverse-whois.yaml +34 -0
- package/dist/specs/whois/whois-domain-lookup.yaml +17 -0
- package/dist/specs/whois/whois-ip-lookup.yaml +14 -0
- package/dist/specs/zip-code/bulk-zip-code-lookup.yaml +14 -0
- package/dist/specs/zip-code/zip-code-api.yaml +14 -0
- package/dist/specs/zip-code/zip-code-distance-match.yaml +14 -0
- package/dist/specs/zip-code/zip-code-distance.yaml +14 -0
- package/dist/specs/zip-code/zip-codes-by-city.yaml +14 -0
- package/dist/specs/zip-code/zip-codes-by-region.yaml +14 -0
- package/dist/specs/zip-code/zip-codes-radius-search.yaml +34 -0
- package/package.json +1 -1
- package/specs/{general → billing}/usage-credits.json +18 -0
- package/specs/commodity/commodity-fluctuation.json +23 -0
- package/specs/commodity/commodity-prices.json +23 -0
- package/specs/commodity/commodity-symbols.json +13 -0
- package/specs/commodity/commodity-time-series.json +27 -13
- package/specs/commodity/historical-commodity-prices.json +23 -0
- package/specs/currency/currency-converter.json +23 -0
- package/specs/currency/currency-fluctuation.json +23 -0
- package/specs/currency/currency-historical-data-limit.json +18 -0
- package/specs/currency/currency-rate.json +23 -0
- package/specs/currency/currency-supported.json +18 -0
- package/specs/currency/currency-symbols.json +18 -0
- package/specs/currency/currency-time-series.json +23 -0
- package/specs/currency/geolocalized-currency-conversion.json +23 -0
- package/specs/currency/historical-currency-converter.json +23 -0
- package/specs/currency/historical-currency-rate.json +23 -0
- package/specs/dns/bulk-dns-lookup.json +23 -0
- package/specs/dns/dns-history-lookup.json +23 -0
- package/specs/dns/dns-lookup.json +18 -0
- package/specs/dns/reverse-dns-lookup.json +61 -1
- package/specs/domain/bulk-domain-checker.json +28 -0
- package/specs/domain/domain-search-with-suggestions.json +23 -0
- package/specs/domain/domain-search.json +23 -0
- package/specs/domain/subdomain-lookup.json +23 -0
- package/specs/email-validation/bulk-email-validation.json +118 -13
- package/specs/email-validation/email-checker.json +131 -11
- package/specs/financial/bulk-vat-rates-country.json +23 -0
- package/specs/financial/financial-apis-supported-countries.json +34 -5
- package/specs/financial/iban-validation.json +18 -0
- package/specs/financial/swift-code-finder.json +31 -2
- package/specs/financial/swift-code-lookup.json +23 -0
- package/specs/financial/vat-number-validation.json +23 -0
- package/specs/financial/vat-rates-by-ip.json +23 -0
- package/specs/financial/vat-rates-country.json +23 -0
- package/specs/geocoding/forward-geocoding.json +23 -0
- package/specs/geocoding/reverse-geocoding.json +18 -0
- package/specs/{geodb → geography}/administrative-units-details.json +23 -0
- package/specs/{geodb → geography}/administrative-units-levels.json +23 -0
- package/specs/{geodb → geography}/administrative-units.json +23 -0
- package/specs/{geodb → geography}/cities.json +23 -0
- package/specs/{geodb → geography}/countries-details.json +18 -0
- package/specs/{geodb → geography}/countries.json +18 -0
- package/specs/{geodb → geography}/flags-supported.json +13 -0
- package/specs/{geodb → geography}/flags.json +23 -0
- package/specs/{geodb → geography}/regions.json +13 -0
- package/specs/{geodb → geography}/subregions.json +23 -0
- package/specs/ip-intelligence/bulk-ip-lookup.json +23 -0
- package/specs/ip-intelligence/bulk-ip-threat-intelligence.json +18 -0
- package/specs/ip-intelligence/ip-locator.json +33 -5
- package/specs/ip-intelligence/ip-threat-intelligence.json +23 -0
- package/specs/pdf/bulk-pdf-generator.json +61 -8
- package/specs/pdf/delete-pdf-page.json +33 -21
- package/specs/pdf/linearize-pdf.json +31 -19
- package/specs/pdf/merge-pdf.json +30 -18
- package/specs/pdf/pdf-compress.json +32 -25
- package/specs/pdf/pdf-decrypt.json +32 -21
- package/specs/pdf/pdf-encrypt.json +31 -19
- package/specs/pdf/pdf-extract-pages.json +33 -21
- package/specs/pdf/pdf-file-status.json +23 -0
- package/specs/pdf/pdf-file.json +23 -0
- package/specs/pdf/pdf-files.json +13 -0
- package/specs/pdf/pdf-generator.json +61 -8
- package/specs/pdf/pdf-resource-download.json +23 -0
- package/specs/pdf/pdf-resource-upload-binary.json +29 -16
- package/specs/pdf/pdf-resource-upload.json +30 -19
- package/specs/pdf/pdf-restrict.json +32 -20
- package/specs/pdf/pdf-split-pages.json +33 -21
- package/specs/pdf/pdf-task-status.json +23 -0
- package/specs/pdf/pdf-to-image.json +90 -101
- package/specs/pdf/pdf-unrestrict.json +32 -20
- package/specs/pdf/rotate-pdf-pages.json +32 -20
- package/specs/phone-validation/bulk-phone-number-validation.json +54 -16
- package/specs/phone-validation/phone-number-validation.json +33 -0
- package/specs/scraper/web-scraper.json +53 -0
- package/specs/screenshot/bulk-screenshot.json +53 -0
- package/specs/screenshot/website-screenshot.json +53 -0
- package/specs/ssl/ssl-certificate-chain-lookup.json +28 -0
- package/specs/ssl/ssl-certificate-lookup.json +28 -0
- package/specs/timezone/timezone-converter.json +23 -0
- package/specs/timezone/timezone-lookup.json +25 -2
- package/specs/user-agent/bulk-user-agent-parser.json +20 -2
- package/specs/user-agent/user-agent-parser.json +18 -0
- package/specs/weather/air-quality.json +23 -0
- package/specs/{other → weather}/astronomy-data.json +24 -2
- package/specs/weather/bulk-live-weather.json +18 -0
- package/specs/weather/flood-forecast.json +23 -0
- package/specs/weather/historical-weather.json +23 -0
- package/specs/weather/live-weather.json +23 -0
- package/specs/weather/marine-weather.json +23 -0
- package/specs/weather/time-series-weather.json +18 -0
- package/specs/weather/weather-forecast.json +18 -0
- package/specs/whois/asn-lookup.json +23 -0
- package/specs/whois/bulk-whois-lookup.json +28 -0
- package/specs/whois/domain-whois-history-lookup.json +23 -0
- package/specs/whois/reverse-whois.json +53 -0
- package/specs/whois/whois-domain-lookup.json +28 -0
- package/specs/whois/whois-ip-lookup.json +23 -0
- package/specs/zip-code/bulk-zip-code-lookup.json +23 -0
- package/specs/zip-code/zip-code-api.json +23 -0
- package/specs/zip-code/zip-code-distance-match.json +23 -0
- package/specs/zip-code/zip-code-distance.json +23 -0
- package/specs/zip-code/zip-codes-by-city.json +23 -0
- package/specs/zip-code/zip-codes-by-region.json +24 -7
- package/specs/zip-code/zip-codes-radius-search.json +53 -0
|
@@ -124,6 +124,11 @@
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
+
},
|
|
128
|
+
"headers": {
|
|
129
|
+
"X-AF-Credits-Cost": {
|
|
130
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
131
|
+
}
|
|
127
132
|
}
|
|
128
133
|
},
|
|
129
134
|
"400": {
|
|
@@ -145,6 +150,11 @@
|
|
|
145
150
|
}
|
|
146
151
|
}
|
|
147
152
|
}
|
|
153
|
+
},
|
|
154
|
+
"headers": {
|
|
155
|
+
"X-AF-Credits-Cost": {
|
|
156
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
157
|
+
}
|
|
148
158
|
}
|
|
149
159
|
},
|
|
150
160
|
"403": {
|
|
@@ -166,6 +176,11 @@
|
|
|
166
176
|
}
|
|
167
177
|
}
|
|
168
178
|
}
|
|
179
|
+
},
|
|
180
|
+
"headers": {
|
|
181
|
+
"X-AF-Credits-Cost": {
|
|
182
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
183
|
+
}
|
|
169
184
|
}
|
|
170
185
|
},
|
|
171
186
|
"404": {
|
|
@@ -187,6 +202,11 @@
|
|
|
187
202
|
}
|
|
188
203
|
}
|
|
189
204
|
}
|
|
205
|
+
},
|
|
206
|
+
"headers": {
|
|
207
|
+
"X-AF-Credits-Cost": {
|
|
208
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
209
|
+
}
|
|
190
210
|
}
|
|
191
211
|
}
|
|
192
212
|
}
|
|
@@ -621,6 +641,14 @@
|
|
|
621
641
|
}
|
|
622
642
|
}
|
|
623
643
|
}
|
|
644
|
+
},
|
|
645
|
+
"headers": {
|
|
646
|
+
"X-AF-Credits-Cost": {
|
|
647
|
+
"description": "Specifies the number of credits consumed by the current request.",
|
|
648
|
+
"schema": {
|
|
649
|
+
"type": "integer"
|
|
650
|
+
}
|
|
651
|
+
}
|
|
624
652
|
}
|
|
625
653
|
},
|
|
626
654
|
"security": [
|
|
@@ -204,6 +204,11 @@
|
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
+
},
|
|
208
|
+
"headers": {
|
|
209
|
+
"X-AF-Credits-Cost": {
|
|
210
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
211
|
+
}
|
|
207
212
|
}
|
|
208
213
|
},
|
|
209
214
|
"400": {
|
|
@@ -246,6 +251,11 @@
|
|
|
246
251
|
}
|
|
247
252
|
}
|
|
248
253
|
}
|
|
254
|
+
},
|
|
255
|
+
"headers": {
|
|
256
|
+
"X-AF-Credits-Cost": {
|
|
257
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
258
|
+
}
|
|
249
259
|
}
|
|
250
260
|
},
|
|
251
261
|
"404": {
|
|
@@ -270,6 +280,11 @@
|
|
|
270
280
|
}
|
|
271
281
|
}
|
|
272
282
|
}
|
|
283
|
+
},
|
|
284
|
+
"headers": {
|
|
285
|
+
"X-AF-Credits-Cost": {
|
|
286
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
287
|
+
}
|
|
273
288
|
}
|
|
274
289
|
}
|
|
275
290
|
}
|
|
@@ -349,6 +364,14 @@
|
|
|
349
364
|
}
|
|
350
365
|
}
|
|
351
366
|
}
|
|
367
|
+
},
|
|
368
|
+
"headers": {
|
|
369
|
+
"X-AF-Credits-Cost": {
|
|
370
|
+
"description": "Specifies the number of credits consumed by the current request.",
|
|
371
|
+
"schema": {
|
|
372
|
+
"type": "integer"
|
|
373
|
+
}
|
|
374
|
+
}
|
|
352
375
|
}
|
|
353
376
|
},
|
|
354
377
|
"security": [
|
|
@@ -421,6 +421,11 @@
|
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
+
},
|
|
425
|
+
"headers": {
|
|
426
|
+
"X-AF-Credits-Cost": {
|
|
427
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
428
|
+
}
|
|
424
429
|
}
|
|
425
430
|
},
|
|
426
431
|
"400": {
|
|
@@ -463,6 +468,11 @@
|
|
|
463
468
|
}
|
|
464
469
|
}
|
|
465
470
|
}
|
|
471
|
+
},
|
|
472
|
+
"headers": {
|
|
473
|
+
"X-AF-Credits-Cost": {
|
|
474
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
475
|
+
}
|
|
466
476
|
}
|
|
467
477
|
},
|
|
468
478
|
"404": {
|
|
@@ -487,6 +497,11 @@
|
|
|
487
497
|
}
|
|
488
498
|
}
|
|
489
499
|
}
|
|
500
|
+
},
|
|
501
|
+
"headers": {
|
|
502
|
+
"X-AF-Credits-Cost": {
|
|
503
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
504
|
+
}
|
|
490
505
|
}
|
|
491
506
|
}
|
|
492
507
|
}
|
|
@@ -577,7 +592,7 @@
|
|
|
577
592
|
},
|
|
578
593
|
"current_time": {
|
|
579
594
|
"type": "string",
|
|
580
|
-
"description": "The current date and time with timezone offset in YYYY-MM-DD HH:mm:ss.SSS
|
|
595
|
+
"description": "The current date and time with timezone offset in YYYY-MM-DD HH:mm:ss.SSS±ZZZZ format."
|
|
581
596
|
},
|
|
582
597
|
"current_time_unix": {
|
|
583
598
|
"type": "number",
|
|
@@ -602,7 +617,7 @@
|
|
|
602
617
|
},
|
|
603
618
|
"date_time_ymd": {
|
|
604
619
|
"type": "string",
|
|
605
|
-
"description": "The date and time with timezone offset in ISO 8601 format YYYY-MM-DDTHH:mm:ss
|
|
620
|
+
"description": "The date and time with timezone offset in ISO 8601 format YYYY-MM-DDTHH:mm:ss±HHMM."
|
|
606
621
|
},
|
|
607
622
|
"time_24": {
|
|
608
623
|
"type": "string",
|
|
@@ -897,6 +912,14 @@
|
|
|
897
912
|
}
|
|
898
913
|
}
|
|
899
914
|
}
|
|
915
|
+
},
|
|
916
|
+
"headers": {
|
|
917
|
+
"X-AF-Credits-Cost": {
|
|
918
|
+
"description": "Specifies the number of credits consumed by the current request.",
|
|
919
|
+
"schema": {
|
|
920
|
+
"type": "integer"
|
|
921
|
+
}
|
|
922
|
+
}
|
|
900
923
|
}
|
|
901
924
|
},
|
|
902
925
|
"security": [
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
]
|
|
152
152
|
},
|
|
153
153
|
"mixedWithUnparsable": {
|
|
154
|
-
"summary": "Batch with a malformed (non-empty) string
|
|
154
|
+
"summary": "Batch with a malformed (non-empty) string — still 200, that entry comes back as Hacker",
|
|
155
155
|
"value": [
|
|
156
156
|
{
|
|
157
157
|
"user_agent_string": "asdkjaslkdjaslkdj12312",
|
|
@@ -209,10 +209,15 @@
|
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
|
+
},
|
|
213
|
+
"headers": {
|
|
214
|
+
"X-AF-Credits-Cost": {
|
|
215
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
216
|
+
}
|
|
212
217
|
}
|
|
213
218
|
},
|
|
214
219
|
"400": {
|
|
215
|
-
"description": "Bad Request
|
|
220
|
+
"description": "Bad Request — Invalid/missing request body, or an empty/null string anywhere in uaStrings (fails the whole batch, not a per-item error)",
|
|
216
221
|
"content": {
|
|
217
222
|
"application/json": {
|
|
218
223
|
"schema": {
|
|
@@ -237,6 +242,11 @@
|
|
|
237
242
|
}
|
|
238
243
|
}
|
|
239
244
|
}
|
|
245
|
+
},
|
|
246
|
+
"headers": {
|
|
247
|
+
"X-AF-Credits-Cost": {
|
|
248
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
249
|
+
}
|
|
240
250
|
}
|
|
241
251
|
}
|
|
242
252
|
}
|
|
@@ -428,6 +438,14 @@
|
|
|
428
438
|
}
|
|
429
439
|
}
|
|
430
440
|
}
|
|
441
|
+
},
|
|
442
|
+
"headers": {
|
|
443
|
+
"X-AF-Credits-Cost": {
|
|
444
|
+
"description": "Specifies the number of credits consumed by the current request.",
|
|
445
|
+
"schema": {
|
|
446
|
+
"type": "integer"
|
|
447
|
+
}
|
|
448
|
+
}
|
|
431
449
|
}
|
|
432
450
|
},
|
|
433
451
|
"security": [
|
|
@@ -143,6 +143,11 @@
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
|
+
},
|
|
147
|
+
"headers": {
|
|
148
|
+
"X-AF-Credits-Cost": {
|
|
149
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
150
|
+
}
|
|
146
151
|
}
|
|
147
152
|
},
|
|
148
153
|
"400": {
|
|
@@ -165,6 +170,11 @@
|
|
|
165
170
|
}
|
|
166
171
|
}
|
|
167
172
|
}
|
|
173
|
+
},
|
|
174
|
+
"headers": {
|
|
175
|
+
"X-AF-Credits-Cost": {
|
|
176
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
177
|
+
}
|
|
168
178
|
}
|
|
169
179
|
}
|
|
170
180
|
}
|
|
@@ -333,6 +343,14 @@
|
|
|
333
343
|
}
|
|
334
344
|
}
|
|
335
345
|
}
|
|
346
|
+
},
|
|
347
|
+
"headers": {
|
|
348
|
+
"X-AF-Credits-Cost": {
|
|
349
|
+
"description": "Specifies the number of credits consumed by the current request.",
|
|
350
|
+
"schema": {
|
|
351
|
+
"type": "integer"
|
|
352
|
+
}
|
|
353
|
+
}
|
|
336
354
|
}
|
|
337
355
|
},
|
|
338
356
|
"security": [
|
|
@@ -203,6 +203,11 @@
|
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
+
},
|
|
207
|
+
"headers": {
|
|
208
|
+
"X-AF-Credits-Cost": {
|
|
209
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
210
|
+
}
|
|
206
211
|
}
|
|
207
212
|
},
|
|
208
213
|
"400": {
|
|
@@ -285,6 +290,11 @@
|
|
|
285
290
|
}
|
|
286
291
|
}
|
|
287
292
|
}
|
|
293
|
+
},
|
|
294
|
+
"headers": {
|
|
295
|
+
"X-AF-Credits-Cost": {
|
|
296
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
297
|
+
}
|
|
288
298
|
}
|
|
289
299
|
},
|
|
290
300
|
"404": {
|
|
@@ -307,6 +317,11 @@
|
|
|
307
317
|
}
|
|
308
318
|
}
|
|
309
319
|
}
|
|
320
|
+
},
|
|
321
|
+
"headers": {
|
|
322
|
+
"X-AF-Credits-Cost": {
|
|
323
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
324
|
+
}
|
|
310
325
|
}
|
|
311
326
|
}
|
|
312
327
|
}
|
|
@@ -766,6 +781,14 @@
|
|
|
766
781
|
}
|
|
767
782
|
}
|
|
768
783
|
}
|
|
784
|
+
},
|
|
785
|
+
"headers": {
|
|
786
|
+
"X-AF-Credits-Cost": {
|
|
787
|
+
"description": "Specifies the number of credits consumed by the current request.",
|
|
788
|
+
"schema": {
|
|
789
|
+
"type": "integer"
|
|
790
|
+
}
|
|
791
|
+
}
|
|
769
792
|
}
|
|
770
793
|
},
|
|
771
794
|
"security": [
|
|
@@ -340,10 +340,15 @@
|
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
+
},
|
|
344
|
+
"headers": {
|
|
345
|
+
"X-AF-Credits-Cost": {
|
|
346
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
347
|
+
}
|
|
343
348
|
}
|
|
344
349
|
},
|
|
345
350
|
"400": {
|
|
346
|
-
"description": "Bad Request
|
|
351
|
+
"description": "Bad Request – Invalid parameters provided",
|
|
347
352
|
"content": {
|
|
348
353
|
"application/json": {
|
|
349
354
|
"schema": {
|
|
@@ -370,6 +375,11 @@
|
|
|
370
375
|
}
|
|
371
376
|
}
|
|
372
377
|
}
|
|
378
|
+
},
|
|
379
|
+
"headers": {
|
|
380
|
+
"X-AF-Credits-Cost": {
|
|
381
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
382
|
+
}
|
|
373
383
|
}
|
|
374
384
|
},
|
|
375
385
|
"404": {
|
|
@@ -388,6 +398,11 @@
|
|
|
388
398
|
}
|
|
389
399
|
}
|
|
390
400
|
}
|
|
401
|
+
},
|
|
402
|
+
"headers": {
|
|
403
|
+
"X-AF-Credits-Cost": {
|
|
404
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
405
|
+
}
|
|
391
406
|
}
|
|
392
407
|
}
|
|
393
408
|
}
|
|
@@ -427,7 +442,6 @@
|
|
|
427
442
|
},
|
|
428
443
|
"description": "Astronomy data response containing location information and astronomical data."
|
|
429
444
|
},
|
|
430
|
-
|
|
431
445
|
"AstronomyLocation": {
|
|
432
446
|
"type": "object",
|
|
433
447
|
"description": "Geographic location information for the astronomy calculation. The set of populated fields depends on which lookup mode the request used: (1) location param (geocode-by-address) returns location_string plus a basic field set (country_name, state_prov, city, locality, latitude, longitude, elevation); (2) lat + long params (geocode-by-coordinates) returns the same basic field set minus location_string, and locality may be an empty string when the coordinates don't resolve to a named sub-area; (3) ip param, or no location/lat/long/ip param at all (falls back to geo-IP lookup of the client's IP), returns the full geo-IP field set — continent_code, continent_name, country_code2, country_code3, country_name_official, is_eu, state_code, district, zipcode — in addition to the basic fields, but never location_string. elevation can be an empty string when elevation data is unavailable for the resolved location.",
|
|
@@ -790,6 +804,14 @@
|
|
|
790
804
|
}
|
|
791
805
|
}
|
|
792
806
|
}
|
|
807
|
+
},
|
|
808
|
+
"headers": {
|
|
809
|
+
"X-AF-Credits-Cost": {
|
|
810
|
+
"description": "Specifies the number of credits consumed by the current request.",
|
|
811
|
+
"schema": {
|
|
812
|
+
"type": "integer"
|
|
813
|
+
}
|
|
814
|
+
}
|
|
793
815
|
}
|
|
794
816
|
},
|
|
795
817
|
"security": [
|
|
@@ -168,6 +168,11 @@
|
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
+
},
|
|
172
|
+
"headers": {
|
|
173
|
+
"X-AF-Credits-Cost": {
|
|
174
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
175
|
+
}
|
|
171
176
|
}
|
|
172
177
|
},
|
|
173
178
|
"400": {
|
|
@@ -200,6 +205,11 @@
|
|
|
200
205
|
}
|
|
201
206
|
}
|
|
202
207
|
}
|
|
208
|
+
},
|
|
209
|
+
"headers": {
|
|
210
|
+
"X-AF-Credits-Cost": {
|
|
211
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
212
|
+
}
|
|
203
213
|
}
|
|
204
214
|
}
|
|
205
215
|
},
|
|
@@ -821,6 +831,14 @@
|
|
|
821
831
|
},
|
|
822
832
|
"description": "Standard error envelope returned by the API on failed requests."
|
|
823
833
|
}
|
|
834
|
+
},
|
|
835
|
+
"headers": {
|
|
836
|
+
"X-AF-Credits-Cost": {
|
|
837
|
+
"description": "Specifies the number of credits consumed by the current request.",
|
|
838
|
+
"schema": {
|
|
839
|
+
"type": "integer"
|
|
840
|
+
}
|
|
841
|
+
}
|
|
824
842
|
}
|
|
825
843
|
},
|
|
826
844
|
"security": [
|
|
@@ -220,6 +220,11 @@
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
+
},
|
|
224
|
+
"headers": {
|
|
225
|
+
"X-AF-Credits-Cost": {
|
|
226
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
227
|
+
}
|
|
223
228
|
}
|
|
224
229
|
},
|
|
225
230
|
"400": {
|
|
@@ -312,6 +317,11 @@
|
|
|
312
317
|
}
|
|
313
318
|
}
|
|
314
319
|
}
|
|
320
|
+
},
|
|
321
|
+
"headers": {
|
|
322
|
+
"X-AF-Credits-Cost": {
|
|
323
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
324
|
+
}
|
|
315
325
|
}
|
|
316
326
|
},
|
|
317
327
|
"404": {
|
|
@@ -334,6 +344,11 @@
|
|
|
334
344
|
}
|
|
335
345
|
}
|
|
336
346
|
}
|
|
347
|
+
},
|
|
348
|
+
"headers": {
|
|
349
|
+
"X-AF-Credits-Cost": {
|
|
350
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
351
|
+
}
|
|
337
352
|
}
|
|
338
353
|
}
|
|
339
354
|
}
|
|
@@ -680,6 +695,14 @@
|
|
|
680
695
|
}
|
|
681
696
|
}
|
|
682
697
|
}
|
|
698
|
+
},
|
|
699
|
+
"headers": {
|
|
700
|
+
"X-AF-Credits-Cost": {
|
|
701
|
+
"description": "Specifies the number of credits consumed by the current request.",
|
|
702
|
+
"schema": {
|
|
703
|
+
"type": "integer"
|
|
704
|
+
}
|
|
705
|
+
}
|
|
683
706
|
}
|
|
684
707
|
},
|
|
685
708
|
"security": [
|
|
@@ -238,6 +238,11 @@
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
+
},
|
|
242
|
+
"headers": {
|
|
243
|
+
"X-AF-Credits-Cost": {
|
|
244
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
245
|
+
}
|
|
241
246
|
}
|
|
242
247
|
},
|
|
243
248
|
"400": {
|
|
@@ -330,6 +335,11 @@
|
|
|
330
335
|
}
|
|
331
336
|
}
|
|
332
337
|
}
|
|
338
|
+
},
|
|
339
|
+
"headers": {
|
|
340
|
+
"X-AF-Credits-Cost": {
|
|
341
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
342
|
+
}
|
|
333
343
|
}
|
|
334
344
|
},
|
|
335
345
|
"404": {
|
|
@@ -352,6 +362,11 @@
|
|
|
352
362
|
}
|
|
353
363
|
}
|
|
354
364
|
}
|
|
365
|
+
},
|
|
366
|
+
"headers": {
|
|
367
|
+
"X-AF-Credits-Cost": {
|
|
368
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
369
|
+
}
|
|
355
370
|
}
|
|
356
371
|
}
|
|
357
372
|
}
|
|
@@ -1006,6 +1021,14 @@
|
|
|
1006
1021
|
}
|
|
1007
1022
|
}
|
|
1008
1023
|
}
|
|
1024
|
+
},
|
|
1025
|
+
"headers": {
|
|
1026
|
+
"X-AF-Credits-Cost": {
|
|
1027
|
+
"description": "Specifies the number of credits consumed by the current request.",
|
|
1028
|
+
"schema": {
|
|
1029
|
+
"type": "integer"
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1009
1032
|
}
|
|
1010
1033
|
},
|
|
1011
1034
|
"security": [
|
|
@@ -153,6 +153,11 @@
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
+
},
|
|
157
|
+
"headers": {
|
|
158
|
+
"X-AF-Credits-Cost": {
|
|
159
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
160
|
+
}
|
|
156
161
|
}
|
|
157
162
|
},
|
|
158
163
|
"400": {
|
|
@@ -205,6 +210,11 @@
|
|
|
205
210
|
}
|
|
206
211
|
}
|
|
207
212
|
}
|
|
213
|
+
},
|
|
214
|
+
"headers": {
|
|
215
|
+
"X-AF-Credits-Cost": {
|
|
216
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
217
|
+
}
|
|
208
218
|
}
|
|
209
219
|
},
|
|
210
220
|
"404": {
|
|
@@ -227,6 +237,11 @@
|
|
|
227
237
|
}
|
|
228
238
|
}
|
|
229
239
|
}
|
|
240
|
+
},
|
|
241
|
+
"headers": {
|
|
242
|
+
"X-AF-Credits-Cost": {
|
|
243
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
244
|
+
}
|
|
230
245
|
}
|
|
231
246
|
}
|
|
232
247
|
}
|
|
@@ -776,6 +791,14 @@
|
|
|
776
791
|
},
|
|
777
792
|
"description": "Standard error envelope returned by the API on failed requests."
|
|
778
793
|
}
|
|
794
|
+
},
|
|
795
|
+
"headers": {
|
|
796
|
+
"X-AF-Credits-Cost": {
|
|
797
|
+
"description": "Specifies the number of credits consumed by the current request.",
|
|
798
|
+
"schema": {
|
|
799
|
+
"type": "integer"
|
|
800
|
+
}
|
|
801
|
+
}
|
|
779
802
|
}
|
|
780
803
|
},
|
|
781
804
|
"security": [
|
|
@@ -241,6 +241,11 @@
|
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
|
+
},
|
|
245
|
+
"headers": {
|
|
246
|
+
"X-AF-Credits-Cost": {
|
|
247
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
248
|
+
}
|
|
244
249
|
}
|
|
245
250
|
},
|
|
246
251
|
"400": {
|
|
@@ -313,6 +318,11 @@
|
|
|
313
318
|
}
|
|
314
319
|
}
|
|
315
320
|
}
|
|
321
|
+
},
|
|
322
|
+
"headers": {
|
|
323
|
+
"X-AF-Credits-Cost": {
|
|
324
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
325
|
+
}
|
|
316
326
|
}
|
|
317
327
|
},
|
|
318
328
|
"404": {
|
|
@@ -335,6 +345,11 @@
|
|
|
335
345
|
}
|
|
336
346
|
}
|
|
337
347
|
}
|
|
348
|
+
},
|
|
349
|
+
"headers": {
|
|
350
|
+
"X-AF-Credits-Cost": {
|
|
351
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
352
|
+
}
|
|
338
353
|
}
|
|
339
354
|
}
|
|
340
355
|
}
|
|
@@ -927,6 +942,14 @@
|
|
|
927
942
|
}
|
|
928
943
|
}
|
|
929
944
|
}
|
|
945
|
+
},
|
|
946
|
+
"headers": {
|
|
947
|
+
"X-AF-Credits-Cost": {
|
|
948
|
+
"description": "Specifies the number of credits consumed by the current request.",
|
|
949
|
+
"schema": {
|
|
950
|
+
"type": "integer"
|
|
951
|
+
}
|
|
952
|
+
}
|
|
930
953
|
}
|
|
931
954
|
},
|
|
932
955
|
"security": [
|
|
@@ -252,6 +252,11 @@
|
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
|
+
},
|
|
256
|
+
"headers": {
|
|
257
|
+
"X-AF-Credits-Cost": {
|
|
258
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
259
|
+
}
|
|
255
260
|
}
|
|
256
261
|
},
|
|
257
262
|
"400": {
|
|
@@ -384,6 +389,11 @@
|
|
|
384
389
|
}
|
|
385
390
|
}
|
|
386
391
|
}
|
|
392
|
+
},
|
|
393
|
+
"headers": {
|
|
394
|
+
"X-AF-Credits-Cost": {
|
|
395
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
396
|
+
}
|
|
387
397
|
}
|
|
388
398
|
}
|
|
389
399
|
}
|
|
@@ -1043,6 +1053,14 @@
|
|
|
1043
1053
|
},
|
|
1044
1054
|
"required": ["date"]
|
|
1045
1055
|
}
|
|
1056
|
+
},
|
|
1057
|
+
"headers": {
|
|
1058
|
+
"X-AF-Credits-Cost": {
|
|
1059
|
+
"description": "Specifies the number of credits consumed by the current request.",
|
|
1060
|
+
"schema": {
|
|
1061
|
+
"type": "integer"
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1046
1064
|
}
|
|
1047
1065
|
},
|
|
1048
1066
|
"security": [
|
|
@@ -272,6 +272,11 @@
|
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
|
+
},
|
|
276
|
+
"headers": {
|
|
277
|
+
"X-AF-Credits-Cost": {
|
|
278
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
279
|
+
}
|
|
275
280
|
}
|
|
276
281
|
},
|
|
277
282
|
"400": {
|
|
@@ -384,6 +389,11 @@
|
|
|
384
389
|
}
|
|
385
390
|
}
|
|
386
391
|
}
|
|
392
|
+
},
|
|
393
|
+
"headers": {
|
|
394
|
+
"X-AF-Credits-Cost": {
|
|
395
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
396
|
+
}
|
|
387
397
|
}
|
|
388
398
|
}
|
|
389
399
|
}
|
|
@@ -1189,6 +1199,14 @@
|
|
|
1189
1199
|
}
|
|
1190
1200
|
}
|
|
1191
1201
|
}
|
|
1202
|
+
},
|
|
1203
|
+
"headers": {
|
|
1204
|
+
"X-AF-Credits-Cost": {
|
|
1205
|
+
"description": "Specifies the number of credits consumed by the current request.",
|
|
1206
|
+
"schema": {
|
|
1207
|
+
"type": "integer"
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1192
1210
|
}
|
|
1193
1211
|
},
|
|
1194
1212
|
"security": [
|