🌐 AI搜索 & 代理 主页
Skip to content

Commit c34e30a

Browse files
stainless-app[bot]meorphis
authored andcommitted
feat(api): api update (#2121)
1 parent 55849b2 commit c34e30a

File tree

8 files changed

+11
-8
lines changed

8 files changed

+11
-8
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1365
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4593529df2c582c5e4de92308af748d9f8abbca6c92fff7e99e08bd463b7271e.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-eafbd03fd73e3a55e352ee0c79c070b09d59559f24c33911a864654a501c778f.yml

src/resources/brand-protection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class BrandProtection extends APIResource {
1818
}
1919

2020
/**
21-
* Get results for a URL scan
21+
* Gets phishing details about a URL.
2222
*/
2323
urlInfo(params: BrandProtectionURLInfoParams, options?: Core.RequestOptions): Core.APIPromise<Info> {
2424
const { account_id, ...query } = params;

src/resources/intel/asn/asn.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ export class ASN extends APIResource {
1010
subnets: SubnetsAPI.Subnets = new SubnetsAPI.Subnets(this._client);
1111

1212
/**
13-
* Get ASN Overview
13+
* Gets an overview of the Autonomous System Number (ASN) and a list of subnets for
14+
* it.
1415
*/
1516
get(
1617
asn: Shared.ASNParam,

src/resources/intel/dns.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { V4PagePagination, type V4PagePaginationParams } from '../../pagination'
77

88
export class DNS extends APIResource {
99
/**
10-
* Get Passive DNS by IP
10+
* Gets a list of all the domains that have resolved to a specific IP address.
1111
*/
1212
list(
1313
params: DNSListParams,

src/resources/intel/domain-history.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import * as Core from '../../core';
55

66
export class DomainHistoryResource extends APIResource {
77
/**
8-
* Get Domain History
8+
* Gets historical security threat and content categories currently and previously
9+
* assigned to a domain.
910
*/
1011
get(
1112
params: DomainHistoryGetParams,

src/resources/intel/domains/domains.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class Domains extends APIResource {
99
bulks: BulksAPI.Bulks = new BulksAPI.Bulks(this._client);
1010

1111
/**
12-
* Get Domain Details
12+
* Gets security details and statistics about a domain.
1313
*/
1414
get(params: DomainGetParams, options?: Core.RequestOptions): Core.APIPromise<Domain> {
1515
const { account_id, ...query } = params;

src/resources/intel/ips.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import * as Core from '../../core';
55

66
export class IPs extends APIResource {
77
/**
8-
* Same as summary
8+
* Gets the geolocation, ASN, infrastructure type of the ASN, and any security
9+
* threat categories of an IP address.
910
*/
1011
get(params: IPGetParams, options?: Core.RequestOptions): Core.APIPromise<IPGetResponse | null> {
1112
const { account_id, ...query } = params;

src/resources/intel/miscategorizations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import * as Shared from '../shared';
66

77
export class Miscategorizations extends APIResource {
88
/**
9-
* Create Miscategorization
9+
* Allows you to submit requests to change a domain’s category.
1010
*/
1111
create(
1212
params: MiscategorizationCreateParams,

0 commit comments

Comments
 (0)