Skip to content

Commit 6d4ac53

Browse files
chore(api): update composite API spec
1 parent ac10968 commit 6d4ac53

95 files changed

Lines changed: 2551 additions & 1086 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1826
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-b90ed3987670d34d97709653099cbed1bd06f3ec41c5565a4b6946f61f6d2415.yml
3-
openapi_spec_hash: 034d0c35baac1bb73f2c31dc1b1cb748
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-ee71fdff73aad5b416ef000df305d9bb4f521cde8109b25ad10bbcc66d83c6f8.yml
3+
openapi_spec_hash: c9cc5f1f51f2636e6d8bb28b63ae17b6
44
config_hash: 59212900ef3970ac3c41ca2537fabe7b

src/cloudflare/resources/radar/http/ases/ases.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ def get(
154154
date_start: SequenceNotStr[Union[str, datetime]] | Omit = omit,
155155
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | Omit = omit,
156156
format: Literal["JSON", "CSV"] | Omit = omit,
157+
geo_id: SequenceNotStr[str] | Omit = omit,
157158
http_protocol: List[Literal["HTTP", "HTTPS"]] | Omit = omit,
158159
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | Omit = omit,
159160
ip_version: List[Literal["IPv4", "IPv6"]] | Omit = omit,
@@ -199,6 +200,11 @@ def get(
199200
200201
format: Format in which results will be returned.
201202
203+
geo_id: Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs.
204+
Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689`
205+
excludes results from the 2267056 (Lisbon), but includes results from 5128638
206+
(New York).
207+
202208
http_protocol: Filters results by HTTP protocol (HTTP vs. HTTPS).
203209
204210
http_version: Filters results by HTTP version.
@@ -243,6 +249,7 @@ def get(
243249
"date_start": date_start,
244250
"device_type": device_type,
245251
"format": format,
252+
"geo_id": geo_id,
246253
"http_protocol": http_protocol,
247254
"http_version": http_version,
248255
"ip_version": ip_version,
@@ -324,6 +331,7 @@ async def get(
324331
date_start: SequenceNotStr[Union[str, datetime]] | Omit = omit,
325332
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | Omit = omit,
326333
format: Literal["JSON", "CSV"] | Omit = omit,
334+
geo_id: SequenceNotStr[str] | Omit = omit,
327335
http_protocol: List[Literal["HTTP", "HTTPS"]] | Omit = omit,
328336
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | Omit = omit,
329337
ip_version: List[Literal["IPv4", "IPv6"]] | Omit = omit,
@@ -369,6 +377,11 @@ async def get(
369377
370378
format: Format in which results will be returned.
371379
380+
geo_id: Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs.
381+
Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689`
382+
excludes results from the 2267056 (Lisbon), but includes results from 5128638
383+
(New York).
384+
372385
http_protocol: Filters results by HTTP protocol (HTTP vs. HTTPS).
373386
374387
http_version: Filters results by HTTP version.
@@ -413,6 +426,7 @@ async def get(
413426
"date_start": date_start,
414427
"device_type": device_type,
415428
"format": format,
429+
"geo_id": geo_id,
416430
"http_protocol": http_protocol,
417431
"http_version": http_version,
418432
"ip_version": ip_version,

src/cloudflare/resources/radar/http/ases/bot_class.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def get(
5858
date_start: SequenceNotStr[Union[str, datetime]] | Omit = omit,
5959
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | Omit = omit,
6060
format: Literal["JSON", "CSV"] | Omit = omit,
61+
geo_id: SequenceNotStr[str] | Omit = omit,
6162
http_protocol: List[Literal["HTTP", "HTTPS"]] | Omit = omit,
6263
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | Omit = omit,
6364
ip_version: List[Literal["IPv4", "IPv6"]] | Omit = omit,
@@ -104,6 +105,11 @@ def get(
104105
105106
format: Format in which results will be returned.
106107
108+
geo_id: Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs.
109+
Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689`
110+
excludes results from the 2267056 (Lisbon), but includes results from 5128638
111+
(New York).
112+
107113
http_protocol: Filters results by HTTP protocol (HTTP vs. HTTPS).
108114
109115
http_version: Filters results by HTTP version.
@@ -149,6 +155,7 @@ def get(
149155
"date_start": date_start,
150156
"device_type": device_type,
151157
"format": format,
158+
"geo_id": geo_id,
152159
"http_protocol": http_protocol,
153160
"http_version": http_version,
154161
"ip_version": ip_version,
@@ -198,6 +205,7 @@ async def get(
198205
date_start: SequenceNotStr[Union[str, datetime]] | Omit = omit,
199206
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | Omit = omit,
200207
format: Literal["JSON", "CSV"] | Omit = omit,
208+
geo_id: SequenceNotStr[str] | Omit = omit,
201209
http_protocol: List[Literal["HTTP", "HTTPS"]] | Omit = omit,
202210
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | Omit = omit,
203211
ip_version: List[Literal["IPv4", "IPv6"]] | Omit = omit,
@@ -244,6 +252,11 @@ async def get(
244252
245253
format: Format in which results will be returned.
246254
255+
geo_id: Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs.
256+
Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689`
257+
excludes results from the 2267056 (Lisbon), but includes results from 5128638
258+
(New York).
259+
247260
http_protocol: Filters results by HTTP protocol (HTTP vs. HTTPS).
248261
249262
http_version: Filters results by HTTP version.
@@ -289,6 +302,7 @@ async def get(
289302
"date_start": date_start,
290303
"device_type": device_type,
291304
"format": format,
305+
"geo_id": geo_id,
292306
"http_protocol": http_protocol,
293307
"http_version": http_version,
294308
"ip_version": ip_version,

src/cloudflare/resources/radar/http/ases/browser_family.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def get(
5858
date_start: SequenceNotStr[Union[str, datetime]] | Omit = omit,
5959
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | Omit = omit,
6060
format: Literal["JSON", "CSV"] | Omit = omit,
61+
geo_id: SequenceNotStr[str] | Omit = omit,
6162
http_protocol: List[Literal["HTTP", "HTTPS"]] | Omit = omit,
6263
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | Omit = omit,
6364
ip_version: List[Literal["IPv4", "IPv6"]] | Omit = omit,
@@ -104,6 +105,11 @@ def get(
104105
105106
format: Format in which results will be returned.
106107
108+
geo_id: Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs.
109+
Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689`
110+
excludes results from the 2267056 (Lisbon), but includes results from 5128638
111+
(New York).
112+
107113
http_protocol: Filters results by HTTP protocol (HTTP vs. HTTPS).
108114
109115
http_version: Filters results by HTTP version.
@@ -149,6 +155,7 @@ def get(
149155
"date_start": date_start,
150156
"device_type": device_type,
151157
"format": format,
158+
"geo_id": geo_id,
152159
"http_protocol": http_protocol,
153160
"http_version": http_version,
154161
"ip_version": ip_version,
@@ -198,6 +205,7 @@ async def get(
198205
date_start: SequenceNotStr[Union[str, datetime]] | Omit = omit,
199206
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | Omit = omit,
200207
format: Literal["JSON", "CSV"] | Omit = omit,
208+
geo_id: SequenceNotStr[str] | Omit = omit,
201209
http_protocol: List[Literal["HTTP", "HTTPS"]] | Omit = omit,
202210
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | Omit = omit,
203211
ip_version: List[Literal["IPv4", "IPv6"]] | Omit = omit,
@@ -244,6 +252,11 @@ async def get(
244252
245253
format: Format in which results will be returned.
246254
255+
geo_id: Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs.
256+
Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689`
257+
excludes results from the 2267056 (Lisbon), but includes results from 5128638
258+
(New York).
259+
247260
http_protocol: Filters results by HTTP protocol (HTTP vs. HTTPS).
248261
249262
http_version: Filters results by HTTP version.
@@ -289,6 +302,7 @@ async def get(
289302
"date_start": date_start,
290303
"device_type": device_type,
291304
"format": format,
305+
"geo_id": geo_id,
292306
"http_protocol": http_protocol,
293307
"http_version": http_version,
294308
"ip_version": ip_version,

src/cloudflare/resources/radar/http/ases/device_type.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def get(
5858
date_range: SequenceNotStr[str] | Omit = omit,
5959
date_start: SequenceNotStr[Union[str, datetime]] | Omit = omit,
6060
format: Literal["JSON", "CSV"] | Omit = omit,
61+
geo_id: SequenceNotStr[str] | Omit = omit,
6162
http_protocol: List[Literal["HTTP", "HTTPS"]] | Omit = omit,
6263
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | Omit = omit,
6364
ip_version: List[Literal["IPv4", "IPv6"]] | Omit = omit,
@@ -104,6 +105,11 @@ def get(
104105
105106
format: Format in which results will be returned.
106107
108+
geo_id: Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs.
109+
Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689`
110+
excludes results from the 2267056 (Lisbon), but includes results from 5128638
111+
(New York).
112+
107113
http_protocol: Filters results by HTTP protocol (HTTP vs. HTTPS).
108114
109115
http_version: Filters results by HTTP version.
@@ -149,6 +155,7 @@ def get(
149155
"date_range": date_range,
150156
"date_start": date_start,
151157
"format": format,
158+
"geo_id": geo_id,
152159
"http_protocol": http_protocol,
153160
"http_version": http_version,
154161
"ip_version": ip_version,
@@ -198,6 +205,7 @@ async def get(
198205
date_range: SequenceNotStr[str] | Omit = omit,
199206
date_start: SequenceNotStr[Union[str, datetime]] | Omit = omit,
200207
format: Literal["JSON", "CSV"] | Omit = omit,
208+
geo_id: SequenceNotStr[str] | Omit = omit,
201209
http_protocol: List[Literal["HTTP", "HTTPS"]] | Omit = omit,
202210
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | Omit = omit,
203211
ip_version: List[Literal["IPv4", "IPv6"]] | Omit = omit,
@@ -244,6 +252,11 @@ async def get(
244252
245253
format: Format in which results will be returned.
246254
255+
geo_id: Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs.
256+
Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689`
257+
excludes results from the 2267056 (Lisbon), but includes results from 5128638
258+
(New York).
259+
247260
http_protocol: Filters results by HTTP protocol (HTTP vs. HTTPS).
248261
249262
http_version: Filters results by HTTP version.
@@ -289,6 +302,7 @@ async def get(
289302
"date_range": date_range,
290303
"date_start": date_start,
291304
"format": format,
305+
"geo_id": geo_id,
292306
"http_protocol": http_protocol,
293307
"http_version": http_version,
294308
"ip_version": ip_version,

src/cloudflare/resources/radar/http/ases/http_method.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def get(
5959
date_start: SequenceNotStr[Union[str, datetime]] | Omit = omit,
6060
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | Omit = omit,
6161
format: Literal["JSON", "CSV"] | Omit = omit,
62+
geo_id: SequenceNotStr[str] | Omit = omit,
6263
http_protocol: List[Literal["HTTP", "HTTPS"]] | Omit = omit,
6364
ip_version: List[Literal["IPv4", "IPv6"]] | Omit = omit,
6465
limit: int | Omit = omit,
@@ -106,6 +107,11 @@ def get(
106107
107108
format: Format in which results will be returned.
108109
110+
geo_id: Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs.
111+
Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689`
112+
excludes results from the 2267056 (Lisbon), but includes results from 5128638
113+
(New York).
114+
109115
http_protocol: Filters results by HTTP protocol (HTTP vs. HTTPS).
110116
111117
ip_version: Filters results by IP version (Ipv4 vs. IPv6).
@@ -150,6 +156,7 @@ def get(
150156
"date_start": date_start,
151157
"device_type": device_type,
152158
"format": format,
159+
"geo_id": geo_id,
153160
"http_protocol": http_protocol,
154161
"ip_version": ip_version,
155162
"limit": limit,
@@ -199,6 +206,7 @@ async def get(
199206
date_start: SequenceNotStr[Union[str, datetime]] | Omit = omit,
200207
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | Omit = omit,
201208
format: Literal["JSON", "CSV"] | Omit = omit,
209+
geo_id: SequenceNotStr[str] | Omit = omit,
202210
http_protocol: List[Literal["HTTP", "HTTPS"]] | Omit = omit,
203211
ip_version: List[Literal["IPv4", "IPv6"]] | Omit = omit,
204212
limit: int | Omit = omit,
@@ -246,6 +254,11 @@ async def get(
246254
247255
format: Format in which results will be returned.
248256
257+
geo_id: Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs.
258+
Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689`
259+
excludes results from the 2267056 (Lisbon), but includes results from 5128638
260+
(New York).
261+
249262
http_protocol: Filters results by HTTP protocol (HTTP vs. HTTPS).
250263
251264
ip_version: Filters results by IP version (Ipv4 vs. IPv6).
@@ -290,6 +303,7 @@ async def get(
290303
"date_start": date_start,
291304
"device_type": device_type,
292305
"format": format,
306+
"geo_id": geo_id,
293307
"http_protocol": http_protocol,
294308
"ip_version": ip_version,
295309
"limit": limit,

src/cloudflare/resources/radar/http/ases/http_protocol.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def get(
5959
date_start: SequenceNotStr[Union[str, datetime]] | Omit = omit,
6060
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | Omit = omit,
6161
format: Literal["JSON", "CSV"] | Omit = omit,
62+
geo_id: SequenceNotStr[str] | Omit = omit,
6263
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | Omit = omit,
6364
ip_version: List[Literal["IPv4", "IPv6"]] | Omit = omit,
6465
limit: int | Omit = omit,
@@ -106,6 +107,11 @@ def get(
106107
107108
format: Format in which results will be returned.
108109
110+
geo_id: Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs.
111+
Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689`
112+
excludes results from the 2267056 (Lisbon), but includes results from 5128638
113+
(New York).
114+
109115
http_version: Filters results by HTTP version.
110116
111117
ip_version: Filters results by IP version (Ipv4 vs. IPv6).
@@ -150,6 +156,7 @@ def get(
150156
"date_start": date_start,
151157
"device_type": device_type,
152158
"format": format,
159+
"geo_id": geo_id,
153160
"http_version": http_version,
154161
"ip_version": ip_version,
155162
"limit": limit,
@@ -199,6 +206,7 @@ async def get(
199206
date_start: SequenceNotStr[Union[str, datetime]] | Omit = omit,
200207
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | Omit = omit,
201208
format: Literal["JSON", "CSV"] | Omit = omit,
209+
geo_id: SequenceNotStr[str] | Omit = omit,
202210
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | Omit = omit,
203211
ip_version: List[Literal["IPv4", "IPv6"]] | Omit = omit,
204212
limit: int | Omit = omit,
@@ -246,6 +254,11 @@ async def get(
246254
247255
format: Format in which results will be returned.
248256
257+
geo_id: Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs.
258+
Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689`
259+
excludes results from the 2267056 (Lisbon), but includes results from 5128638
260+
(New York).
261+
249262
http_version: Filters results by HTTP version.
250263
251264
ip_version: Filters results by IP version (Ipv4 vs. IPv6).
@@ -290,6 +303,7 @@ async def get(
290303
"date_start": date_start,
291304
"device_type": device_type,
292305
"format": format,
306+
"geo_id": geo_id,
293307
"http_version": http_version,
294308
"ip_version": ip_version,
295309
"limit": limit,

src/cloudflare/resources/radar/http/ases/ip_version.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def get(
5959
date_start: SequenceNotStr[Union[str, datetime]] | Omit = omit,
6060
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | Omit = omit,
6161
format: Literal["JSON", "CSV"] | Omit = omit,
62+
geo_id: SequenceNotStr[str] | Omit = omit,
6263
http_protocol: List[Literal["HTTP", "HTTPS"]] | Omit = omit,
6364
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | Omit = omit,
6465
limit: int | Omit = omit,
@@ -106,6 +107,11 @@ def get(
106107
107108
format: Format in which results will be returned.
108109
110+
geo_id: Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs.
111+
Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689`
112+
excludes results from the 2267056 (Lisbon), but includes results from 5128638
113+
(New York).
114+
109115
http_protocol: Filters results by HTTP protocol (HTTP vs. HTTPS).
110116
111117
http_version: Filters results by HTTP version.
@@ -150,6 +156,7 @@ def get(
150156
"date_start": date_start,
151157
"device_type": device_type,
152158
"format": format,
159+
"geo_id": geo_id,
153160
"http_protocol": http_protocol,
154161
"http_version": http_version,
155162
"limit": limit,
@@ -199,6 +206,7 @@ async def get(
199206
date_start: SequenceNotStr[Union[str, datetime]] | Omit = omit,
200207
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | Omit = omit,
201208
format: Literal["JSON", "CSV"] | Omit = omit,
209+
geo_id: SequenceNotStr[str] | Omit = omit,
202210
http_protocol: List[Literal["HTTP", "HTTPS"]] | Omit = omit,
203211
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | Omit = omit,
204212
limit: int | Omit = omit,
@@ -246,6 +254,11 @@ async def get(
246254
247255
format: Format in which results will be returned.
248256
257+
geo_id: Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs.
258+
Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689`
259+
excludes results from the 2267056 (Lisbon), but includes results from 5128638
260+
(New York).
261+
249262
http_protocol: Filters results by HTTP protocol (HTTP vs. HTTPS).
250263
251264
http_version: Filters results by HTTP version.
@@ -290,6 +303,7 @@ async def get(
290303
"date_start": date_start,
291304
"device_type": device_type,
292305
"format": format,
306+
"geo_id": geo_id,
293307
"http_protocol": http_protocol,
294308
"http_version": http_version,
295309
"limit": limit,

0 commit comments

Comments
 (0)