Skip to content

Commit

Permalink
Merge pull request #1064 from maxmind/greg/anycast-ws
Browse files Browse the repository at this point in the history
Add documentation for is_anycast in the web services
  • Loading branch information
horgh authored Nov 22, 2023
2 parents a3de8d9 + f513970 commit 7247f91
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions content/geoip/docs/web-services/_examples/geoip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export const city = {
autonomous_system_organization: 'Linkem IR WiMax Network',
connection_type: "Cable/DSL",
domain: 'example.com',
is_anycast: true,
isp: 'Linkem spa',
mobile_country_code: '310',
mobile_network_code: '004',
Expand Down
11 changes: 11 additions & 0 deletions content/geoip/docs/web-services/_schemas/ResponseTraits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,17 @@ import responseJson from '../_examples/geoip';

</Property>

<Property
name="is_anycast"
services={[
'city',
'insights',
]}
>
This is `true` if the IP address belongs to an [anycast network](https://en.wikipedia.org/wiki/Anycast).

</Property>

<Property
name="is_hosting_provider"
services={[
Expand Down
1 change: 1 addition & 0 deletions content/minfraud/api-documentation/_examples/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ export const insights = {
is_anonymous: true,
is_anonymous_proxy: true,
is_anonymous_vpn: true,
is_anycast: true,
is_hosting_provider: true,
is_public_proxy: true,
is_residential_proxy: true,
Expand Down

0 comments on commit 7247f91

Please sign in to comment.