internetdata 2.14.0__tar.gz → 2.15.0__tar.gz
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.
- {internetdata-2.14.0 → internetdata-2.15.0}/PKG-INFO +4 -3
- {internetdata-2.14.0 → internetdata-2.15.0}/README.md +3 -2
- {internetdata-2.14.0 → internetdata-2.15.0}/spec/openapi.yaml +164 -60
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/__init__.py +1 -1
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/account/account_identity.py +8 -8
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/api_keys/account_create_apikey.py +4 -4
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/lookup/lookup_batch.py +8 -4
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/apikey_detail.py +2 -2
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/asn_lookup_response.py +11 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/database.py +1 -1
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/database_version.py +1 -1
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/domain_lookup_response.py +11 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/download.py +2 -2
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/entitlement_apikey.py +1 -1
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/entitlement_usage.py +6 -3
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/lookup_response.py +11 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/models.py +7 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/testdata/testdata.json +257 -16
- {internetdata-2.14.0 → internetdata-2.15.0}/tests/test_lookup.py +3 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/.gitignore +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/LICENSE +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/pyproject.toml +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/scripts/download-spec.sh +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/scripts/generate.sh +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/scripts/publish.sh +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/scripts/v2_subset.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_bogons.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_core.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/__init__.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/__init__.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/account/__init__.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/api_keys/__init__.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/api_keys/account_list_apikeys.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/api_keys/account_reveal_apikey.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/api_keys/account_revoke_apikey.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/api_keys/account_rotate_apikey.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/authorization/__init__.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/authorization/oauth_authorize.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/authorization/oauth_device_authorization.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/authorization/oauth_metadata.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/authorization/oauth_register.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/authorization/oauth_revoke.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/authorization/oauth_token.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/database_v_2/__init__.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/database_v_2/database_checksum_v2.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/database_v_2/database_metadata_v2.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/database_v_2/download_database_v2.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/database_v_2/list_databases.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/database_v_2/list_downloads.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/entitlement/__init__.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/entitlement/my_entitlement.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/lookup/__init__.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/lookup/lookup_asn.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/lookup/lookup_domain.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/lookup/lookup_ip.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/lookup/lookup_my_ip.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/organization/__init__.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/organization/account_org.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/api/organization/account_org_members.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/client.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/errors.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/__init__.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/abuse_contact.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/account_create_apikey_request.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/account_created_apikey.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/account_org.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/account_org_ref.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/account_org_wrap.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/account_rc.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/account_revealed_apikey.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/account_user.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/apikey_list.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/asn.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/asn_hosted_domains.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/asn_lookup_response_whois.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/asn_prefix.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/batch_lookup_error.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/batch_lookup_request.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/batch_lookup_response.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/batch_lookup_response_errors.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/batch_lookup_response_results.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/bit_torrent_detail.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/carrier_detail.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/class_detail.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/client_registration.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/client_registration_request.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/company.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/database_checksum_v2_response_200.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/database_format.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/database_license_type_type_1.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/database_license_type_type_2_type_1.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/database_license_type_type_3_type_1.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/database_metadata.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/database_metadata_column.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/database_metadata_sample.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/database_metadata_sample_additional_property_item.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/database_metadata_sample_size.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/database_metadata_schema.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/database_metadata_size.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/db_checksums.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/device_authorization.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/device_authorization_request.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/disposable_detail.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/dns_address_record.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/dns_cname_record.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/dns_mx_record.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/dns_ns_record.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/dns_resolver_detail.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/domain_dns.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/domain_ip_range.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/domain_ip_ranges.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/download_outcome.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/entitlement.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/entitlement_error.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/entitlement_plan.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/entitlement_plan_tier.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/error.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/hosted_domains.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/identity.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/list_databases_response_200.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/list_downloads_response_200.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/location.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/lookup_error.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/oauth_authorize_code_challenge_method.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/oauth_authorize_response_type.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/oauth_error.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/oauth_metadata.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/oauth_revoke_response_200.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/proxy_detail.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/pubproxy_detail.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/revoke_request.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/rwhois.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/satellite_detail.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/smtp_detail.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/ssh_detail.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/standing.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/token_request.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/token_response.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/web_detail.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/models/whois.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/_generated/types.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/aio.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/bogon.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/client.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/errors.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/middleware/__init__.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/middleware/condition.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/middleware/core.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/src/internetdata/py.typed +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/testdata/bogons.json +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/tests/conftest.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/tests/helpers.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/tests/test_client.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/tests/test_conformance.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/tests/test_download.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/tests/test_middleware.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/tests/test_oauth.py +0 -0
- {internetdata-2.14.0 → internetdata-2.15.0}/tests/test_sharing.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: internetdata
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.15.0
|
|
4
4
|
Summary: Official Python client library for the InternetData API. Look up IP addresses, ASNs and domains, and download licensed IP databases.
|
|
5
5
|
Project-URL: Homepage, https://internetdata.io
|
|
6
6
|
Project-URL: Documentation, https://docs.internetdata.io
|
|
@@ -234,7 +234,7 @@ result = client.lookup("146.70.116.130", timeout=2)
|
|
|
234
234
|
|
|
235
235
|
**Changed in 2.2.0:** a timeout of 0 or less, NaN or a string used to be accepted, and failed every call.
|
|
236
236
|
|
|
237
|
-
Note that `rate_limited` and `quota_exceeded` both arrive as HTTP 429 and are not the same thing. A rate limit carries `Retry-After`, and retrying after it works: Unlimited's per-minute limit is one.
|
|
237
|
+
Note that `rate_limited` and `quota_exceeded` both arrive as HTTP 429 and are not the same thing. A rate limit carries `Retry-After`, and retrying after it works: Unlimited's per-minute limit is one. One without it is `quota_exceeded`. The library retries rate limits for you, but not `quota_exceeded`, and nothing else you sent either. The API itself always sends `Retry-After` with a 429, so that one comes from something in between, such as a proxy; a paid key past its overage cap gets `cap_reached` instead.
|
|
238
238
|
|
|
239
239
|
### Database downloads
|
|
240
240
|
|
|
@@ -387,13 +387,14 @@ Each redirect URI must be https on a public host name, or http on a loopback add
|
|
|
387
387
|
|
|
388
388
|
### Fields your plan does not include
|
|
389
389
|
|
|
390
|
-
Unlimited leaves out the VPN, proxy, hosting and CDN flags, the detail behind every flag but Tor's and relay's, the city and region, the Whois records and the hosted domains; a free-plan key's answer carries `trial_expired`, true once its daily trial is spent. Those are `None` when your key does not include them, which means "not in your plan" rather than "checked, and no", inside `location`, `asn`, `company` and `abuse` too.
|
|
390
|
+
Unlimited leaves out the VPN, proxy, hosting and CDN flags, the detail behind every flag but Tor's and relay's, the city and region, the Whois records and the hosted domains; a free-plan key's answer carries `trial_expired`, true once its daily trial is spent. A paid key's carries `cap_reached`, true once its organization's overage cap is reached, when the answer has Unlimited's fields and isn't billed. Those are `None` when your key does not include them, which means "not in your plan" rather than "checked, and no", inside `location`, `asn`, `company` and `abuse` too.
|
|
391
391
|
|
|
392
392
|
```python
|
|
393
393
|
result.flagged("is_hosting") # False rather than None on a plan without it
|
|
394
394
|
result.is_hosting is None # True on Unlimited: not in your plan
|
|
395
395
|
result.location.city is None # True on Unlimited
|
|
396
396
|
result.trial_expired is True # a free-plan key's daily trial is spent
|
|
397
|
+
result.cap_reached is True # a paid key is past its overage cap
|
|
397
398
|
```
|
|
398
399
|
|
|
399
400
|
## Other Libraries
|
|
@@ -199,7 +199,7 @@ result = client.lookup("146.70.116.130", timeout=2)
|
|
|
199
199
|
|
|
200
200
|
**Changed in 2.2.0:** a timeout of 0 or less, NaN or a string used to be accepted, and failed every call.
|
|
201
201
|
|
|
202
|
-
Note that `rate_limited` and `quota_exceeded` both arrive as HTTP 429 and are not the same thing. A rate limit carries `Retry-After`, and retrying after it works: Unlimited's per-minute limit is one.
|
|
202
|
+
Note that `rate_limited` and `quota_exceeded` both arrive as HTTP 429 and are not the same thing. A rate limit carries `Retry-After`, and retrying after it works: Unlimited's per-minute limit is one. One without it is `quota_exceeded`. The library retries rate limits for you, but not `quota_exceeded`, and nothing else you sent either. The API itself always sends `Retry-After` with a 429, so that one comes from something in between, such as a proxy; a paid key past its overage cap gets `cap_reached` instead.
|
|
203
203
|
|
|
204
204
|
### Database downloads
|
|
205
205
|
|
|
@@ -352,13 +352,14 @@ Each redirect URI must be https on a public host name, or http on a loopback add
|
|
|
352
352
|
|
|
353
353
|
### Fields your plan does not include
|
|
354
354
|
|
|
355
|
-
Unlimited leaves out the VPN, proxy, hosting and CDN flags, the detail behind every flag but Tor's and relay's, the city and region, the Whois records and the hosted domains; a free-plan key's answer carries `trial_expired`, true once its daily trial is spent. Those are `None` when your key does not include them, which means "not in your plan" rather than "checked, and no", inside `location`, `asn`, `company` and `abuse` too.
|
|
355
|
+
Unlimited leaves out the VPN, proxy, hosting and CDN flags, the detail behind every flag but Tor's and relay's, the city and region, the Whois records and the hosted domains; a free-plan key's answer carries `trial_expired`, true once its daily trial is spent. A paid key's carries `cap_reached`, true once its organization's overage cap is reached, when the answer has Unlimited's fields and isn't billed. Those are `None` when your key does not include them, which means "not in your plan" rather than "checked, and no", inside `location`, `asn`, `company` and `abuse` too.
|
|
356
356
|
|
|
357
357
|
```python
|
|
358
358
|
result.flagged("is_hosting") # False rather than None on a plan without it
|
|
359
359
|
result.is_hosting is None # True on Unlimited: not in your plan
|
|
360
360
|
result.location.city is None # True on Unlimited
|
|
361
361
|
result.trial_expired is True # a free-plan key's daily trial is spent
|
|
362
|
+
result.cap_reached is True # a paid key is past its overage cap
|
|
362
363
|
```
|
|
363
364
|
|
|
364
365
|
## Other Libraries
|
|
@@ -13,7 +13,7 @@ info:
|
|
|
13
13
|
email: support@internetdata.io
|
|
14
14
|
url: https://internetdata.io
|
|
15
15
|
termsOfService: https://internetdata.io/terms
|
|
16
|
-
version: 2026.11.
|
|
16
|
+
version: 2026.11.17
|
|
17
17
|
servers:
|
|
18
18
|
- url: https://internetdata.io
|
|
19
19
|
tags:
|
|
@@ -28,16 +28,16 @@ tags:
|
|
|
28
28
|
the query parameter is there for curl and the browser, which is how a
|
|
29
29
|
database is usually fetched.
|
|
30
30
|
|
|
31
|
-
Access is granted by
|
|
31
|
+
Access is granted by contract, one dataset family at a time: there is no
|
|
32
32
|
self-service purchase and no subscription behind it. The Open databases
|
|
33
33
|
are licensed to every organization from the start, a `standard` license
|
|
34
34
|
to each, and are free under CC BY-SA 4.0 besides. `list` marks them
|
|
35
35
|
`open`.
|
|
36
36
|
|
|
37
37
|
A successful download answers `302` with a time-limited URL pointing
|
|
38
|
-
straight at object storage. Follow the redirect (`curl -L`)
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
straight at object storage. Follow the redirect (`curl -L`). The link only
|
|
39
|
+
has to be valid when a transfer starts, so one already running isn't cut
|
|
40
|
+
off when it lapses.
|
|
41
41
|
x-displayName: Database v2
|
|
42
42
|
- name: Account
|
|
43
43
|
description: Who the credential belongs to, and what it may do.
|
|
@@ -368,14 +368,14 @@ paths:
|
|
|
368
368
|
The identity behind this credential: what it is, the organization it is
|
|
369
369
|
scoped to, and the scopes it currently holds.
|
|
370
370
|
|
|
371
|
-
`user` is present for an OAuth token and
|
|
371
|
+
`user` is present for an OAuth token and absent for an API key, which
|
|
372
372
|
has an organization but no person behind it. `credential.kind` says
|
|
373
373
|
which you are holding, so a client can branch without guessing from a
|
|
374
374
|
missing field.
|
|
375
375
|
|
|
376
376
|
Narrower than what the console shows its own user on purpose: an
|
|
377
377
|
integration needs a name to display and an organization to address, not
|
|
378
|
-
a profile. The `scopes` array is what the credential may do
|
|
378
|
+
a profile. The `scopes` array is what the credential may do right now,
|
|
379
379
|
so a client can render its own capabilities rather than discovering
|
|
380
380
|
them from a 403.
|
|
381
381
|
security:
|
|
@@ -493,7 +493,7 @@ paths:
|
|
|
493
493
|
description: |
|
|
494
494
|
Creates a key and returns its secret.
|
|
495
495
|
|
|
496
|
-
This is the
|
|
496
|
+
This is the only response that ever carries the secret, and only
|
|
497
497
|
because this is the moment it comes into existence. Store it now.
|
|
498
498
|
security:
|
|
499
499
|
- BearerAuth:
|
|
@@ -1238,6 +1238,7 @@ paths:
|
|
|
1238
1238
|
hosted_domains:
|
|
1239
1239
|
total: 0
|
|
1240
1240
|
domains: []
|
|
1241
|
+
cap_reached: false
|
|
1241
1242
|
paidServices:
|
|
1242
1243
|
summary: 'A paid plan: an anycast resolver with its services'
|
|
1243
1244
|
value:
|
|
@@ -1390,6 +1391,50 @@ paths:
|
|
|
1390
1391
|
- getusinfo.com
|
|
1391
1392
|
- medicinanet.com.br
|
|
1392
1393
|
- imgup.net
|
|
1394
|
+
cap_reached: false
|
|
1395
|
+
capReached:
|
|
1396
|
+
summary: >-
|
|
1397
|
+
A key on a paid plan past its organization's overage cap, with Unlimited's
|
|
1398
|
+
fields
|
|
1399
|
+
value:
|
|
1400
|
+
ip: 146.70.116.130
|
|
1401
|
+
is_bogon: false
|
|
1402
|
+
is_tor: false
|
|
1403
|
+
is_relay: false
|
|
1404
|
+
is_anycast: false
|
|
1405
|
+
is_carrier: false
|
|
1406
|
+
is_satellite: false
|
|
1407
|
+
is_ssh: false
|
|
1408
|
+
is_smtp: false
|
|
1409
|
+
is_web: false
|
|
1410
|
+
is_dns_resolver: false
|
|
1411
|
+
is_bittorrent: false
|
|
1412
|
+
location:
|
|
1413
|
+
continent: EU
|
|
1414
|
+
continent_name: Europe
|
|
1415
|
+
country: AT
|
|
1416
|
+
country_name: Austria
|
|
1417
|
+
timezone: Europe/Vienna
|
|
1418
|
+
currency_code: EUR
|
|
1419
|
+
currency_name: Euro
|
|
1420
|
+
currency_symbol: €
|
|
1421
|
+
flag_emoji: 🇦🇹
|
|
1422
|
+
flag_unicode: U+1F1E6 U+1F1F9
|
|
1423
|
+
tor: {}
|
|
1424
|
+
relay: {}
|
|
1425
|
+
asn:
|
|
1426
|
+
asn: 9009
|
|
1427
|
+
name: M247 Europe SRL
|
|
1428
|
+
domain: m247global.com
|
|
1429
|
+
type: hosting
|
|
1430
|
+
prefix: 146.70.116.0/24
|
|
1431
|
+
company:
|
|
1432
|
+
name: M247 LTD Vienna Infrastructure
|
|
1433
|
+
domain: m247.ro
|
|
1434
|
+
hostname: ''
|
|
1435
|
+
abuse:
|
|
1436
|
+
email: abuse@m247.ro
|
|
1437
|
+
cap_reached: true
|
|
1393
1438
|
bogon:
|
|
1394
1439
|
summary: A private address on a paid plan
|
|
1395
1440
|
value:
|
|
@@ -1492,6 +1537,7 @@ paths:
|
|
|
1492
1537
|
hosted_domains:
|
|
1493
1538
|
total: 0
|
|
1494
1539
|
domains: []
|
|
1540
|
+
cap_reached: false
|
|
1495
1541
|
'400':
|
|
1496
1542
|
description: Not an address, an AS number or a domain.
|
|
1497
1543
|
content:
|
|
@@ -1545,8 +1591,9 @@ paths:
|
|
|
1545
1591
|
error: API key lacks the ip.lookup scope; add Lookups to it in the console
|
|
1546
1592
|
'429':
|
|
1547
1593
|
description: |
|
|
1548
|
-
A rate limit, with `Retry-After
|
|
1549
|
-
limit
|
|
1594
|
+
A rate limit, always with `Retry-After`: this API protecting itself, or Unlimited's
|
|
1595
|
+
per-minute limit. A paid plan's overage cap is never a `429`: it answers `200` with
|
|
1596
|
+
Unlimited's fields and `cap_reached` `true`.
|
|
1550
1597
|
content:
|
|
1551
1598
|
application/json:
|
|
1552
1599
|
schema:
|
|
@@ -1564,13 +1611,9 @@ paths:
|
|
|
1564
1611
|
error: >-
|
|
1565
1612
|
per-minute limit for Unlimited lookups exceeded; retry shortly, or use a paid
|
|
1566
1613
|
plan
|
|
1567
|
-
e3:
|
|
1568
|
-
summary: overage cap reached; raise or remove it in Billing
|
|
1569
|
-
value:
|
|
1570
|
-
error: overage cap reached; raise or remove it in Billing
|
|
1571
1614
|
headers:
|
|
1572
1615
|
Retry-After:
|
|
1573
|
-
description: Seconds until a rate limit lets the request through.
|
|
1616
|
+
description: Seconds until a rate limit lets the request through.
|
|
1574
1617
|
schema:
|
|
1575
1618
|
type: integer
|
|
1576
1619
|
'500':
|
|
@@ -1691,8 +1734,9 @@ paths:
|
|
|
1691
1734
|
error: API key lacks the ip.lookup scope; add Lookups to it in the console
|
|
1692
1735
|
'429':
|
|
1693
1736
|
description: |
|
|
1694
|
-
A rate limit, with `Retry-After
|
|
1695
|
-
limit
|
|
1737
|
+
A rate limit, always with `Retry-After`: this API protecting itself, or Unlimited's
|
|
1738
|
+
per-minute limit. A paid plan's overage cap is never a `429`: it answers `200` with
|
|
1739
|
+
Unlimited's fields and `cap_reached` `true`.
|
|
1696
1740
|
content:
|
|
1697
1741
|
application/json:
|
|
1698
1742
|
schema:
|
|
@@ -1710,13 +1754,9 @@ paths:
|
|
|
1710
1754
|
error: >-
|
|
1711
1755
|
per-minute limit for Unlimited lookups exceeded; retry shortly, or use a paid
|
|
1712
1756
|
plan
|
|
1713
|
-
e3:
|
|
1714
|
-
summary: overage cap reached; raise or remove it in Billing
|
|
1715
|
-
value:
|
|
1716
|
-
error: overage cap reached; raise or remove it in Billing
|
|
1717
1757
|
headers:
|
|
1718
1758
|
Retry-After:
|
|
1719
|
-
description: Seconds until a rate limit lets the request through.
|
|
1759
|
+
description: Seconds until a rate limit lets the request through.
|
|
1720
1760
|
schema:
|
|
1721
1761
|
type: integer
|
|
1722
1762
|
'500':
|
|
@@ -1878,6 +1918,19 @@ paths:
|
|
|
1878
1918
|
domains:
|
|
1879
1919
|
- fotopedia.com
|
|
1880
1920
|
- kissfm.ro
|
|
1921
|
+
cap_reached: false
|
|
1922
|
+
capReached:
|
|
1923
|
+
summary: >-
|
|
1924
|
+
A key on a paid plan past its organization's overage cap, with Unlimited's
|
|
1925
|
+
fields
|
|
1926
|
+
value:
|
|
1927
|
+
asn: 9009
|
|
1928
|
+
name: M247 Europe SRL
|
|
1929
|
+
country: RO
|
|
1930
|
+
registry: ripe
|
|
1931
|
+
allocated: '2005-06-06'
|
|
1932
|
+
domain: m247global.com
|
|
1933
|
+
cap_reached: true
|
|
1881
1934
|
'400':
|
|
1882
1935
|
description: Not an address, an AS number or a domain.
|
|
1883
1936
|
content:
|
|
@@ -1931,8 +1984,9 @@ paths:
|
|
|
1931
1984
|
error: API key lacks the ip.lookup scope; add Lookups to it in the console
|
|
1932
1985
|
'429':
|
|
1933
1986
|
description: |
|
|
1934
|
-
A rate limit, with `Retry-After
|
|
1935
|
-
limit
|
|
1987
|
+
A rate limit, always with `Retry-After`: this API protecting itself, or Unlimited's
|
|
1988
|
+
per-minute limit. A paid plan's overage cap is never a `429`: it answers `200` with
|
|
1989
|
+
Unlimited's fields and `cap_reached` `true`.
|
|
1936
1990
|
content:
|
|
1937
1991
|
application/json:
|
|
1938
1992
|
schema:
|
|
@@ -1950,13 +2004,9 @@ paths:
|
|
|
1950
2004
|
error: >-
|
|
1951
2005
|
per-minute limit for Unlimited lookups exceeded; retry shortly, or use a paid
|
|
1952
2006
|
plan
|
|
1953
|
-
e3:
|
|
1954
|
-
summary: overage cap reached; raise or remove it in Billing
|
|
1955
|
-
value:
|
|
1956
|
-
error: overage cap reached; raise or remove it in Billing
|
|
1957
2007
|
headers:
|
|
1958
2008
|
Retry-After:
|
|
1959
|
-
description: Seconds until a rate limit lets the request through.
|
|
2009
|
+
description: Seconds until a rate limit lets the request through.
|
|
1960
2010
|
schema:
|
|
1961
2011
|
type: integer
|
|
1962
2012
|
'500':
|
|
@@ -2060,6 +2110,20 @@ paths:
|
|
|
2060
2110
|
name: EXAMPLE-NET
|
|
2061
2111
|
country: US
|
|
2062
2112
|
disposable: {}
|
|
2113
|
+
cap_reached: false
|
|
2114
|
+
capReached:
|
|
2115
|
+
summary: >-
|
|
2116
|
+
A key on a paid plan past its organization's overage cap, with Unlimited's
|
|
2117
|
+
fields
|
|
2118
|
+
value:
|
|
2119
|
+
domain: example.com
|
|
2120
|
+
is_registered: true
|
|
2121
|
+
has_a: true
|
|
2122
|
+
has_aaaa: true
|
|
2123
|
+
has_mx: true
|
|
2124
|
+
has_ns: true
|
|
2125
|
+
has_cname: false
|
|
2126
|
+
cap_reached: true
|
|
2063
2127
|
'400':
|
|
2064
2128
|
description: Not an address, an AS number or a domain.
|
|
2065
2129
|
content:
|
|
@@ -2113,8 +2177,9 @@ paths:
|
|
|
2113
2177
|
error: API key lacks the ip.lookup scope; add Lookups to it in the console
|
|
2114
2178
|
'429':
|
|
2115
2179
|
description: |
|
|
2116
|
-
A rate limit, with `Retry-After
|
|
2117
|
-
limit
|
|
2180
|
+
A rate limit, always with `Retry-After`: this API protecting itself, or Unlimited's
|
|
2181
|
+
per-minute limit. A paid plan's overage cap is never a `429`: it answers `200` with
|
|
2182
|
+
Unlimited's fields and `cap_reached` `true`.
|
|
2118
2183
|
content:
|
|
2119
2184
|
application/json:
|
|
2120
2185
|
schema:
|
|
@@ -2132,13 +2197,9 @@ paths:
|
|
|
2132
2197
|
error: >-
|
|
2133
2198
|
per-minute limit for Unlimited lookups exceeded; retry shortly, or use a paid
|
|
2134
2199
|
plan
|
|
2135
|
-
e3:
|
|
2136
|
-
summary: overage cap reached; raise or remove it in Billing
|
|
2137
|
-
value:
|
|
2138
|
-
error: overage cap reached; raise or remove it in Billing
|
|
2139
2200
|
headers:
|
|
2140
2201
|
Retry-After:
|
|
2141
|
-
description: Seconds until a rate limit lets the request through.
|
|
2202
|
+
description: Seconds until a rate limit lets the request through.
|
|
2142
2203
|
schema:
|
|
2143
2204
|
type: integer
|
|
2144
2205
|
'500':
|
|
@@ -2175,7 +2236,10 @@ paths:
|
|
|
2175
2236
|
the order you sent them; duplicates collapse. Needs a paid plan: a batch of one item is
|
|
2176
2237
|
answered as the
|
|
2177
2238
|
|
|
2178
|
-
lookup it is on any plan.
|
|
2239
|
+
lookup it is on any plan. An overage cap reached part way through answers the remaining
|
|
2240
|
+
items with
|
|
2241
|
+
|
|
2242
|
+
Unlimited's fields and `cap_reached` `true`, in `results`.
|
|
2179
2243
|
requestBody:
|
|
2180
2244
|
required: true
|
|
2181
2245
|
content:
|
|
@@ -2310,18 +2374,26 @@ paths:
|
|
|
2310
2374
|
hosted_domains:
|
|
2311
2375
|
total: 0
|
|
2312
2376
|
domains: []
|
|
2377
|
+
cap_reached: false
|
|
2313
2378
|
errors:
|
|
2314
2379
|
146.70.116:
|
|
2315
2380
|
status: 400
|
|
2316
2381
|
error: not a valid IP address, AS number or domain
|
|
2317
2382
|
failures:
|
|
2318
|
-
summary:
|
|
2383
|
+
summary: >-
|
|
2384
|
+
An AS answered past the overage cap with Unlimited's fields, and a domain our
|
|
2385
|
+
data could not answer
|
|
2319
2386
|
value:
|
|
2320
|
-
results:
|
|
2321
|
-
errors:
|
|
2387
|
+
results:
|
|
2322
2388
|
AS9009:
|
|
2323
|
-
|
|
2324
|
-
|
|
2389
|
+
asn: 9009
|
|
2390
|
+
name: M247 Europe SRL
|
|
2391
|
+
country: RO
|
|
2392
|
+
registry: ripe
|
|
2393
|
+
allocated: '2005-06-06'
|
|
2394
|
+
domain: m247global.com
|
|
2395
|
+
cap_reached: true
|
|
2396
|
+
errors:
|
|
2325
2397
|
example.com:
|
|
2326
2398
|
status: 500
|
|
2327
2399
|
error: lookup failed
|
|
@@ -2410,7 +2482,7 @@ paths:
|
|
|
2410
2482
|
description: A rate limit; retry after `Retry-After`.
|
|
2411
2483
|
headers:
|
|
2412
2484
|
Retry-After:
|
|
2413
|
-
description: Seconds until a rate limit lets the request through.
|
|
2485
|
+
description: Seconds until a rate limit lets the request through.
|
|
2414
2486
|
schema:
|
|
2415
2487
|
type: integer
|
|
2416
2488
|
content:
|
|
@@ -2517,13 +2589,19 @@ paths:
|
|
|
2517
2589
|
'403':
|
|
2518
2590
|
description: |
|
|
2519
2591
|
The key restricts which source addresses may use it, and this
|
|
2520
|
-
request did not come from one of them
|
|
2592
|
+
request did not come from one of them; or the key was sent over
|
|
2593
|
+
plain HTTP, which is refused whatever the key.
|
|
2521
2594
|
content:
|
|
2522
2595
|
application/json:
|
|
2523
2596
|
schema:
|
|
2524
2597
|
$ref: '#/components/schemas/EntitlementError'
|
|
2525
|
-
|
|
2526
|
-
|
|
2598
|
+
examples:
|
|
2599
|
+
source:
|
|
2600
|
+
value:
|
|
2601
|
+
error: source address not allowed for this API key
|
|
2602
|
+
plain_http:
|
|
2603
|
+
value:
|
|
2604
|
+
error: API key sent over plain HTTP; use https://
|
|
2527
2605
|
'503':
|
|
2528
2606
|
description: |
|
|
2529
2607
|
The usage counters could not be read. Reported rather than guessed
|
|
@@ -2657,7 +2735,7 @@ components:
|
|
|
2657
2735
|
Database:
|
|
2658
2736
|
type: object
|
|
2659
2737
|
description: |
|
|
2660
|
-
One database
|
|
2738
|
+
One database family, with your organization's license beside it. A
|
|
2661
2739
|
license covers the family, while a download names a specific version,
|
|
2662
2740
|
so the IDs passed to `download` and `checksum` come from `versions`.
|
|
2663
2741
|
required:
|
|
@@ -2757,7 +2835,7 @@ components:
|
|
|
2757
2835
|
formats:
|
|
2758
2836
|
type: array
|
|
2759
2837
|
description: |
|
|
2760
|
-
The formats this version is
|
|
2838
|
+
The formats this version is built in. Asking for another is a 400,
|
|
2761
2839
|
not a gap - the `_provider` catalogs are keyed by provider ID, so no
|
|
2762
2840
|
MMDB exists for them.
|
|
2763
2841
|
items:
|
|
@@ -2769,7 +2847,7 @@ components:
|
|
|
2769
2847
|
$ref: '#/components/schemas/DatabaseFormat'
|
|
2770
2848
|
Download:
|
|
2771
2849
|
type: object
|
|
2772
|
-
description: One download
|
|
2850
|
+
description: One download attempt, refusals included.
|
|
2773
2851
|
required:
|
|
2774
2852
|
- dataset_id
|
|
2775
2853
|
- format
|
|
@@ -2808,7 +2886,7 @@ components:
|
|
|
2808
2886
|
format: int64
|
|
2809
2887
|
nullable: true
|
|
2810
2888
|
description: |
|
|
2811
|
-
Object size at redirect time,
|
|
2889
|
+
Object size at redirect time, not bytes delivered: the transfer is a
|
|
2812
2890
|
presigned redirect straight to object storage, so we never observe
|
|
2813
2891
|
how much of it was taken.
|
|
2814
2892
|
http_status:
|
|
@@ -3102,7 +3180,7 @@ components:
|
|
|
3102
3180
|
- rc
|
|
3103
3181
|
- keys
|
|
3104
3182
|
ApikeyDetail:
|
|
3105
|
-
description: Key
|
|
3183
|
+
description: Key metadata. Never the key itself.
|
|
3106
3184
|
type: object
|
|
3107
3185
|
properties:
|
|
3108
3186
|
id:
|
|
@@ -3132,7 +3210,7 @@ components:
|
|
|
3132
3210
|
type: array
|
|
3133
3211
|
items:
|
|
3134
3212
|
type: string
|
|
3135
|
-
description: Source-IP allowlist.
|
|
3213
|
+
description: Source-IP allowlist. Empty means unrestricted, not deny-all.
|
|
3136
3214
|
allowed_scopes:
|
|
3137
3215
|
type: array
|
|
3138
3216
|
items:
|
|
@@ -3602,6 +3680,13 @@ components:
|
|
|
3602
3680
|
description: >-
|
|
3603
3681
|
On every answer to a key on the free plan, and on no other: `false` while the day's
|
|
3604
3682
|
trial of every field lasts, `true` once the answer has Unlimited's fields.
|
|
3683
|
+
cap_reached:
|
|
3684
|
+
type: boolean
|
|
3685
|
+
description: >-
|
|
3686
|
+
On every answer to a key on a paid plan, and on no other: `false` while the answer has
|
|
3687
|
+
every field, `true` once its organization's overage cap is reached and the answer has
|
|
3688
|
+
Unlimited's. Lookups answered past the cap are not billed; raising or removing the cap
|
|
3689
|
+
in Billing turns it `false` again.
|
|
3605
3690
|
required:
|
|
3606
3691
|
- ip
|
|
3607
3692
|
- is_bogon
|
|
@@ -4241,6 +4326,13 @@ components:
|
|
|
4241
4326
|
description: >-
|
|
4242
4327
|
On every answer to a key on the free plan, and on no other: `false` while the day's
|
|
4243
4328
|
trial of every field lasts, `true` once the answer has Unlimited's fields.
|
|
4329
|
+
cap_reached:
|
|
4330
|
+
type: boolean
|
|
4331
|
+
description: >-
|
|
4332
|
+
On every answer to a key on a paid plan, and on no other: `false` while the answer has
|
|
4333
|
+
every field, `true` once its organization's overage cap is reached and the answer has
|
|
4334
|
+
Unlimited's. Lookups answered past the cap are not billed; raising or removing the cap
|
|
4335
|
+
in Billing turns it `false` again.
|
|
4244
4336
|
required:
|
|
4245
4337
|
- asn
|
|
4246
4338
|
- name
|
|
@@ -4323,6 +4415,13 @@ components:
|
|
|
4323
4415
|
description: >-
|
|
4324
4416
|
On every answer to a key on the free plan, and on no other: `false` while the day's
|
|
4325
4417
|
trial of every field lasts, `true` once the answer has Unlimited's fields.
|
|
4418
|
+
cap_reached:
|
|
4419
|
+
type: boolean
|
|
4420
|
+
description: >-
|
|
4421
|
+
On every answer to a key on a paid plan, and on no other: `false` while the answer has
|
|
4422
|
+
every field, `true` once its organization's overage cap is reached and the answer has
|
|
4423
|
+
Unlimited's. Lookups answered past the cap are not billed; raising or removing the cap
|
|
4424
|
+
in Billing turns it `false` again.
|
|
4326
4425
|
required:
|
|
4327
4426
|
- domain
|
|
4328
4427
|
- is_registered
|
|
@@ -4573,7 +4672,7 @@ components:
|
|
|
4573
4672
|
items:
|
|
4574
4673
|
type: string
|
|
4575
4674
|
description: |
|
|
4576
|
-
The source addresses this key may be used from.
|
|
4675
|
+
The source addresses this key may be used from. Empty means
|
|
4577
4676
|
unrestricted, never "deny all".
|
|
4578
4677
|
EntitlementPlan:
|
|
4579
4678
|
type: object
|
|
@@ -4634,9 +4733,12 @@ components:
|
|
|
4634
4733
|
format: int64
|
|
4635
4734
|
nullable: true
|
|
4636
4735
|
description: |
|
|
4637
|
-
Where
|
|
4638
|
-
|
|
4639
|
-
|
|
4736
|
+
Where full answers stop: past it, a paid key is answered with
|
|
4737
|
+
Unlimited's fields and `cap_reached: true`, uncharged, until the
|
|
4738
|
+
window ends or the cap is raised. `null` means never, which is the
|
|
4739
|
+
normal state of an uncapped paid plan and is not the same as zero.
|
|
4740
|
+
Above the quota and below this, requests are served and billed as
|
|
4741
|
+
overage.
|
|
4640
4742
|
window_start:
|
|
4641
4743
|
type: string
|
|
4642
4744
|
format: date-time
|
|
@@ -4667,8 +4769,9 @@ components:
|
|
|
4667
4769
|
description: |
|
|
4668
4770
|
The request comes from an address outside the key's or its
|
|
4669
4771
|
organization's allowed addresses. Change the allowlist or call from an
|
|
4670
|
-
allowed address: the key itself is fine.
|
|
4671
|
-
|
|
4772
|
+
allowed address: the key itself is fine. Or the key was sent over
|
|
4773
|
+
plain HTTP, refused whatever the key: use `https://`.
|
|
4774
|
+
`rc`: `IP_NOT_ALLOWED`, `KEY_OVER_HTTP`.
|
|
4672
4775
|
content:
|
|
4673
4776
|
application/json:
|
|
4674
4777
|
schema:
|
|
@@ -4678,8 +4781,9 @@ components:
|
|
|
4678
4781
|
Your organization holds no license for this database (`NOT_LICENSED`),
|
|
4679
4782
|
or its term has ended (`LICENSE_EXPIRED`); or the request comes from an
|
|
4680
4783
|
address outside the key's or its organization's allowed addresses
|
|
4681
|
-
(`IP_NOT_ALLOWED`)
|
|
4682
|
-
|
|
4784
|
+
(`IP_NOT_ALLOWED`); or the key was sent over plain HTTP, refused
|
|
4785
|
+
whatever the key (`KEY_OVER_HTTP`): use `https://`.
|
|
4786
|
+
`rc`: `NOT_LICENSED`, `LICENSE_EXPIRED`, `IP_NOT_ALLOWED`, `KEY_OVER_HTTP`.
|
|
4683
4787
|
content:
|
|
4684
4788
|
application/json:
|
|
4685
4789
|
schema:
|
|
@@ -64,14 +64,14 @@ def sync_detailed(
|
|
|
64
64
|
The identity behind this credential: what it is, the organization it is
|
|
65
65
|
scoped to, and the scopes it currently holds.
|
|
66
66
|
|
|
67
|
-
`user` is present for an OAuth token and
|
|
67
|
+
`user` is present for an OAuth token and absent for an API key, which
|
|
68
68
|
has an organization but no person behind it. `credential.kind` says
|
|
69
69
|
which you are holding, so a client can branch without guessing from a
|
|
70
70
|
missing field.
|
|
71
71
|
|
|
72
72
|
Narrower than what the console shows its own user on purpose: an
|
|
73
73
|
integration needs a name to display and an organization to address, not
|
|
74
|
-
a profile. The `scopes` array is what the credential may do
|
|
74
|
+
a profile. The `scopes` array is what the credential may do right now,
|
|
75
75
|
so a client can render its own capabilities rather than discovering
|
|
76
76
|
them from a 403.
|
|
77
77
|
|
|
@@ -101,14 +101,14 @@ def sync(
|
|
|
101
101
|
The identity behind this credential: what it is, the organization it is
|
|
102
102
|
scoped to, and the scopes it currently holds.
|
|
103
103
|
|
|
104
|
-
`user` is present for an OAuth token and
|
|
104
|
+
`user` is present for an OAuth token and absent for an API key, which
|
|
105
105
|
has an organization but no person behind it. `credential.kind` says
|
|
106
106
|
which you are holding, so a client can branch without guessing from a
|
|
107
107
|
missing field.
|
|
108
108
|
|
|
109
109
|
Narrower than what the console shows its own user on purpose: an
|
|
110
110
|
integration needs a name to display and an organization to address, not
|
|
111
|
-
a profile. The `scopes` array is what the credential may do
|
|
111
|
+
a profile. The `scopes` array is what the credential may do right now,
|
|
112
112
|
so a client can render its own capabilities rather than discovering
|
|
113
113
|
them from a 403.
|
|
114
114
|
|
|
@@ -134,14 +134,14 @@ async def asyncio_detailed(
|
|
|
134
134
|
The identity behind this credential: what it is, the organization it is
|
|
135
135
|
scoped to, and the scopes it currently holds.
|
|
136
136
|
|
|
137
|
-
`user` is present for an OAuth token and
|
|
137
|
+
`user` is present for an OAuth token and absent for an API key, which
|
|
138
138
|
has an organization but no person behind it. `credential.kind` says
|
|
139
139
|
which you are holding, so a client can branch without guessing from a
|
|
140
140
|
missing field.
|
|
141
141
|
|
|
142
142
|
Narrower than what the console shows its own user on purpose: an
|
|
143
143
|
integration needs a name to display and an organization to address, not
|
|
144
|
-
a profile. The `scopes` array is what the credential may do
|
|
144
|
+
a profile. The `scopes` array is what the credential may do right now,
|
|
145
145
|
so a client can render its own capabilities rather than discovering
|
|
146
146
|
them from a 403.
|
|
147
147
|
|
|
@@ -169,14 +169,14 @@ async def asyncio(
|
|
|
169
169
|
The identity behind this credential: what it is, the organization it is
|
|
170
170
|
scoped to, and the scopes it currently holds.
|
|
171
171
|
|
|
172
|
-
`user` is present for an OAuth token and
|
|
172
|
+
`user` is present for an OAuth token and absent for an API key, which
|
|
173
173
|
has an organization but no person behind it. `credential.kind` says
|
|
174
174
|
which you are holding, so a client can branch without guessing from a
|
|
175
175
|
missing field.
|
|
176
176
|
|
|
177
177
|
Narrower than what the console shows its own user on purpose: an
|
|
178
178
|
integration needs a name to display and an organization to address, not
|
|
179
|
-
a profile. The `scopes` array is what the credential may do
|
|
179
|
+
a profile. The `scopes` array is what the credential may do right now,
|
|
180
180
|
so a client can render its own capabilities rather than discovering
|
|
181
181
|
them from a 403.
|
|
182
182
|
|
|
@@ -79,7 +79,7 @@ def sync_detailed(
|
|
|
79
79
|
|
|
80
80
|
Creates a key and returns its secret.
|
|
81
81
|
|
|
82
|
-
This is the
|
|
82
|
+
This is the only response that ever carries the secret, and only
|
|
83
83
|
because this is the moment it comes into existence. Store it now.
|
|
84
84
|
|
|
85
85
|
Args:
|
|
@@ -113,7 +113,7 @@ def sync(
|
|
|
113
113
|
|
|
114
114
|
Creates a key and returns its secret.
|
|
115
115
|
|
|
116
|
-
This is the
|
|
116
|
+
This is the only response that ever carries the secret, and only
|
|
117
117
|
because this is the moment it comes into existence. Store it now.
|
|
118
118
|
|
|
119
119
|
Args:
|
|
@@ -142,7 +142,7 @@ async def asyncio_detailed(
|
|
|
142
142
|
|
|
143
143
|
Creates a key and returns its secret.
|
|
144
144
|
|
|
145
|
-
This is the
|
|
145
|
+
This is the only response that ever carries the secret, and only
|
|
146
146
|
because this is the moment it comes into existence. Store it now.
|
|
147
147
|
|
|
148
148
|
Args:
|
|
@@ -174,7 +174,7 @@ async def asyncio(
|
|
|
174
174
|
|
|
175
175
|
Creates a key and returns its secret.
|
|
176
176
|
|
|
177
|
-
This is the
|
|
177
|
+
This is the only response that ever carries the secret, and only
|
|
178
178
|
because this is the moment it comes into existence. Store it now.
|
|
179
179
|
|
|
180
180
|
Args:
|