Skip to content

Commit d81b910

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): OpenAPI spec update via Stainless API (#421)
1 parent e62e98e commit d81b910

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1267
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-cc3299608e8bb30103d79d6bdc29758d43899b0393afe2153bea75e201ac0795.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-e766041655f0afd0c3d17f358598272442d420c51c0d73c87f17f5a0d9dc3990.yml

src/cloudflare/resources/url_scanner/url_scanner.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -111,19 +111,19 @@ def scan(
111111
112112
page_asn: Filter scans by main page Autonomous System Number (ASN).
113113
114-
page_hostname: Filter scans by main page hostname .
114+
page_hostname: Filter scans by main page hostname (domain of effective URL).
115115
116116
page_ip: Filter scans by main page IP address (IPv4 or IPv6).
117117
118-
page_path: Filter scans by exact match URL path (also supports suffix search).
118+
page_path: Filter scans by exact match of effective URL path (also supports suffix search).
119119
120-
page_url: Filter scans by exact match to scanned URL (_after redirects_)
120+
page_url: Filter scans by submitted or scanned URL
121121
122122
path: Filter scans by url path of _any_ request made by the webpage.
123123
124124
scan_id: Scan uuid
125125
126-
url: Filter scans by exact match URL of _any_ request made by the webpage
126+
url: Filter scans by URL of _any_ request made by the webpage
127127
128128
extra_headers: Send extra headers
129129
@@ -243,19 +243,19 @@ async def scan(
243243
244244
page_asn: Filter scans by main page Autonomous System Number (ASN).
245245
246-
page_hostname: Filter scans by main page hostname .
246+
page_hostname: Filter scans by main page hostname (domain of effective URL).
247247
248248
page_ip: Filter scans by main page IP address (IPv4 or IPv6).
249249
250-
page_path: Filter scans by exact match URL path (also supports suffix search).
250+
page_path: Filter scans by exact match of effective URL path (also supports suffix search).
251251
252-
page_url: Filter scans by exact match to scanned URL (_after redirects_)
252+
page_url: Filter scans by submitted or scanned URL
253253
254254
path: Filter scans by url path of _any_ request made by the webpage.
255255
256256
scan_id: Scan uuid
257257
258-
url: Filter scans by exact match URL of _any_ request made by the webpage
258+
url: Filter scans by URL of _any_ request made by the webpage
259259
260260
extra_headers: Send extra headers
261261

src/cloudflare/types/url_scanner/url_scanner_scan_params.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,18 @@ class URLScannerScanParams(TypedDict, total=False):
4646
"""Filter scans by main page Autonomous System Number (ASN)."""
4747

4848
page_hostname: str
49-
"""Filter scans by main page hostname ."""
49+
"""Filter scans by main page hostname (domain of effective URL)."""
5050

5151
page_ip: str
5252
"""Filter scans by main page IP address (IPv4 or IPv6)."""
5353

5454
page_path: str
55-
"""Filter scans by exact match URL path (also supports suffix search)."""
55+
"""
56+
Filter scans by exact match of effective URL path (also supports suffix search).
57+
"""
5658

5759
page_url: str
58-
"""Filter scans by exact match to scanned URL (_after redirects_)"""
60+
"""Filter scans by submitted or scanned URL"""
5961

6062
path: str
6163
"""Filter scans by url path of _any_ request made by the webpage."""
@@ -64,4 +66,4 @@ class URLScannerScanParams(TypedDict, total=False):
6466
"""Scan uuid"""
6567

6668
url: str
67-
"""Filter scans by exact match URL of _any_ request made by the webpage"""
69+
"""Filter scans by URL of _any_ request made by the webpage"""

0 commit comments

Comments
 (0)