Skip to content

feat(api): api update #2617

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 1702
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-57c705c0689b845f0b2f4ffcde9ba87aae73be3ad3c4736ebfd2ded1098802f4.yml
openapi_spec_hash: 8f6843c5614cd65cf48df4cb4fd59d4a
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-ee88c2251323b89b5328d03ec542cdb78ccef926af1a89eb72c998989a160fce.yml
openapi_spec_hash: 1b14237a3b2c2da1edc123846fff613f
config_hash: 02efc0b488a456e69c13dc4a934c658a
4 changes: 3 additions & 1 deletion src/resources/intel/ips.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import * as Core from '../../core';
export class IPs extends APIResource {
/**
* Gets the geolocation, ASN, infrastructure type of the ASN, and any security
* threat categories of an IP address.
* threat categories of an IP address. This is an alternative to the
* `/intel/ip/{ipv_type}/{ip_address}` endpoint. Must provide query parameters
* containing `IPv4` or `IPv6` and the IP address.
*/
get(params: IPGetParams, options?: Core.RequestOptions): Core.APIPromise<IPGetResponse | null> {
const { account_id, ...query } = params;
Expand Down