Skip to content

Commit 875e4d1

Browse files
feat(api): api update (#2617)
1 parent d7d30a0 commit 875e4d1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
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/resources/intel/ips.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ import * as Core from '../../core';
66
export class IPs extends APIResource {
77
/**
88
* Gets the geolocation, ASN, infrastructure type of the ASN, and any security
9-
* threat categories of an IP address.
9+
* threat categories of an IP address. This is an alternative to the
10+
* `/intel/ip/{ipv_type}/{ip_address}` endpoint. Must provide query parameters
11+
* containing `IPv4` or `IPv6` and the IP address.
1012
*/
1113
get(params: IPGetParams, options?: Core.RequestOptions): Core.APIPromise<IPGetResponse | null> {
1214
const { account_id, ...query } = params;

0 commit comments

Comments
 (0)