Skip to content

Commit 2f10d9c

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): api update (#2143)
1 parent 0b5a5d0 commit 2f10d9c

File tree

8 files changed

+21
-15
lines changed

8 files changed

+21
-15
lines changed

.stats.yml

+1-1
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/cloudflare/resources/brand_protection.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def url_info(
105105
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
106106
) -> Optional[Info]:
107107
"""
108-
Get results for a URL scan
108+
Gets phishing details about a URL.
109109
110110
Args:
111111
account_id: Identifier
@@ -221,7 +221,7 @@ async def url_info(
221221
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
222222
) -> Optional[Info]:
223223
"""
224-
Get results for a URL scan
224+
Gets phishing details about a URL.
225225
226226
Args:
227227
account_id: Identifier

src/cloudflare/resources/intel/asn/asn.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ def get(
6767
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
6868
) -> Optional[ASN]:
6969
"""
70-
Get ASN Overview
70+
Gets an overview of the Autonomous System Number (ASN) and a list of subnets for
71+
it.
7172
7273
Args:
7374
account_id: Identifier
@@ -132,7 +133,8 @@ async def get(
132133
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
133134
) -> Optional[ASN]:
134135
"""
135-
Get ASN Overview
136+
Gets an overview of the Autonomous System Number (ASN) and a list of subnets for
137+
it.
136138
137139
Args:
138140
account_id: Identifier

src/cloudflare/resources/intel/dns.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def list(
5858
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
5959
) -> SyncV4PagePagination[DNSListResponse]:
6060
"""
61-
Get Passive DNS by IP
61+
Gets a list of all the domains that have resolved to a specific IP address.
6262
6363
Args:
6464
account_id: Identifier
@@ -135,7 +135,7 @@ def list(
135135
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
136136
) -> AsyncPaginator[DNSListResponse, AsyncV4PagePagination[DNSListResponse]]:
137137
"""
138-
Get Passive DNS by IP
138+
Gets a list of all the domains that have resolved to a specific IP address.
139139
140140
Args:
141141
account_id: Identifier

src/cloudflare/resources/intel/domain_history.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ def get(
6060
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
6161
) -> Optional[DomainHistoryGetResponse]:
6262
"""
63-
Get Domain History
63+
Gets historical security threat and content categories currently and previously
64+
assigned to a domain.
6465
6566
Args:
6667
account_id: Identifier
@@ -122,7 +123,8 @@ async def get(
122123
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
123124
) -> Optional[DomainHistoryGetResponse]:
124125
"""
125-
Get Domain History
126+
Gets historical security threat and content categories currently and previously
127+
assigned to a domain.
126128
127129
Args:
128130
account_id: Identifier

src/cloudflare/resources/intel/domains/domains.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def get(
7272
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
7373
) -> Optional[Domain]:
7474
"""
75-
Get Domain Details
75+
Gets security details and statistics about a domain.
7676
7777
Args:
7878
account_id: Identifier
@@ -138,7 +138,7 @@ async def get(
138138
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
139139
) -> Optional[Domain]:
140140
"""
141-
Get Domain Details
141+
Gets security details and statistics about a domain.
142142
143143
Args:
144144
account_id: Identifier

src/cloudflare/resources/intel/ips.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ def get(
6161
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
6262
) -> Optional[IPGetResponse]:
6363
"""
64-
Same as summary
64+
Gets the geolocation, ASN, infrastructure type of the ASN, and any security
65+
threat categories of an IP address.
6566
6667
Args:
6768
account_id: Identifier
@@ -130,7 +131,8 @@ async def get(
130131
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
131132
) -> Optional[IPGetResponse]:
132133
"""
133-
Same as summary
134+
Gets the geolocation, ASN, infrastructure type of the ASN, and any security
135+
threat categories of an IP address.
134136
135137
Args:
136138
account_id: Identifier

src/cloudflare/resources/intel/miscategorizations.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def create(
6666
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
6767
) -> MiscategorizationCreateResponse:
6868
"""
69-
Create Miscategorization
69+
Allows you to submit requests to change a domain’s category.
7070
7171
Args:
7272
account_id: Identifier
@@ -155,7 +155,7 @@ async def create(
155155
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
156156
) -> MiscategorizationCreateResponse:
157157
"""
158-
Create Miscategorization
158+
Allows you to submit requests to change a domain’s category.
159159
160160
Args:
161161
account_id: Identifier

0 commit comments

Comments
 (0)