Skip to content

Commit c19449e

Browse files
feat(api): api update (#2636)
1 parent 7fc5804 commit c19449e

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.stats.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1702
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-57c705c0689b845f0b2f4ffcde9ba87aae73be3ad3c4736ebfd2ded1098802f4.yml
3-
openapi_spec_hash: 8f6843c5614cd65cf48df4cb4fd59d4a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-ee88c2251323b89b5328d03ec542cdb78ccef926af1a89eb72c998989a160fce.yml
3+
openapi_spec_hash: 1b14237a3b2c2da1edc123846fff613f
44
config_hash: 02efc0b488a456e69c13dc4a934c658a

src/cloudflare/resources/intel/ips.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ def get(
6262
) -> Optional[IPGetResponse]:
6363
"""
6464
Gets the geolocation, ASN, infrastructure type of the ASN, and any security
65-
threat categories of an IP address.
65+
threat categories of an IP address. This is an alternative to the
66+
`/intel/ip/{ipv_type}/{ip_address}` endpoint. Must provide query parameters
67+
containing `IPv4` or `IPv6` and the IP address.
6668
6769
Args:
6870
account_id: Identifier
@@ -132,7 +134,9 @@ async def get(
132134
) -> Optional[IPGetResponse]:
133135
"""
134136
Gets the geolocation, ASN, infrastructure type of the ASN, and any security
135-
threat categories of an IP address.
137+
threat categories of an IP address. This is an alternative to the
138+
`/intel/ip/{ipv_type}/{ip_address}` endpoint. Must provide query parameters
139+
containing `IPv4` or `IPv6` and the IP address.
136140
137141
Args:
138142
account_id: Identifier

0 commit comments

Comments
 (0)