Skip to content

Commit a459687

Browse files
feat(api): OpenAPI spec update via Stainless API (#421)
1 parent 9cccb41 commit a459687

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
@@ -114,19 +114,19 @@ def scan(
114114
115115
page_asn: Filter scans by main page Autonomous System Number (ASN).
116116
117-
page_hostname: Filter scans by main page hostname .
117+
page_hostname: Filter scans by main page hostname (domain of effective URL).
118118
119119
page_ip: Filter scans by main page IP address (IPv4 or IPv6).
120120
121-
page_path: Filter scans by exact match URL path (also supports suffix search).
121+
page_path: Filter scans by exact match of effective URL path (also supports suffix search).
122122
123-
page_url: Filter scans by exact match to scanned URL (_after redirects_)
123+
page_url: Filter scans by submitted or scanned URL
124124
125125
path: Filter scans by url path of _any_ request made by the webpage.
126126
127127
scan_id: Scan uuid
128128
129-
url: Filter scans by exact match URL of _any_ request made by the webpage
129+
url: Filter scans by URL of _any_ request made by the webpage
130130
131131
extra_headers: Send extra headers
132132
@@ -250,19 +250,19 @@ async def scan(
250250
251251
page_asn: Filter scans by main page Autonomous System Number (ASN).
252252
253-
page_hostname: Filter scans by main page hostname .
253+
page_hostname: Filter scans by main page hostname (domain of effective URL).
254254
255255
page_ip: Filter scans by main page IP address (IPv4 or IPv6).
256256
257-
page_path: Filter scans by exact match URL path (also supports suffix search).
257+
page_path: Filter scans by exact match of effective URL path (also supports suffix search).
258258
259-
page_url: Filter scans by exact match to scanned URL (_after redirects_)
259+
page_url: Filter scans by submitted or scanned URL
260260
261261
path: Filter scans by url path of _any_ request made by the webpage.
262262
263263
scan_id: Scan uuid
264264
265-
url: Filter scans by exact match URL of _any_ request made by the webpage
265+
url: Filter scans by URL of _any_ request made by the webpage
266266
267267
extra_headers: Send extra headers
268268

src/cloudflare/types/url_scanner/url_scanner_scan_params.py

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

5151
page_hostname: str
52-
"""Filter scans by main page hostname ."""
52+
"""Filter scans by main page hostname (domain of effective URL)."""
5353

5454
page_ip: str
5555
"""Filter scans by main page IP address (IPv4 or IPv6)."""
5656

5757
page_path: str
58-
"""Filter scans by exact match URL path (also supports suffix search)."""
58+
"""
59+
Filter scans by exact match of effective URL path (also supports suffix search).
60+
"""
5961

6062
page_url: str
61-
"""Filter scans by exact match to scanned URL (_after redirects_)"""
63+
"""Filter scans by submitted or scanned URL"""
6264

6365
path: str
6466
"""Filter scans by url path of _any_ request made by the webpage."""
@@ -67,4 +69,4 @@ class URLScannerScanParams(TypedDict, total=False):
6769
"""Scan uuid"""
6870

6971
url: str
70-
"""Filter scans by exact match URL of _any_ request made by the webpage"""
72+
"""Filter scans by URL of _any_ request made by the webpage"""

0 commit comments

Comments
 (0)