Skip to content

Commit 845fba2

Browse files
feat: feat(radar): add new group by dimension endpoints; deprecate to_markdown endpoint
1 parent 70e068e commit 845fba2

86 files changed

Lines changed: 15342 additions & 396 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 @@
1-
configured_endpoints: 1827
1+
configured_endpoints: 1849
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-fa078e98d33794f32c77256479dceb7d6b9e0ad95da89fa01474b2c1731cad3d.yml
33
openapi_spec_hash: eb25624c59f39858b740347f8f092a1d
4-
config_hash: 60a39444e2cbcf922682f07f51b97d08
4+
config_hash: eab23d0b8fa818f1d1dc0e9e18de4266

api.md

Lines changed: 125 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7338,6 +7338,20 @@ Methods:
73387338

73397339
### Inference
73407340

7341+
Types:
7342+
7343+
```python
7344+
from cloudflare.types.radar.ai import (
7345+
InferenceSummaryV2Response,
7346+
InferenceTimeseriesGroupsV2Response,
7347+
)
7348+
```
7349+
7350+
Methods:
7351+
7352+
- <code title="get /radar/ai/inference/summary/{dimension}">client.radar.ai.inference.<a href="./src/cloudflare/resources/radar/ai/inference/inference.py">summary_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/ai/inference_summary_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ai/inference_summary_v2_response.py">InferenceSummaryV2Response</a></code>
7353+
- <code title="get /radar/ai/inference/timeseries_groups/{dimension}">client.radar.ai.inference.<a href="./src/cloudflare/resources/radar/ai/inference/inference.py">timeseries_groups_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/ai/inference_timeseries_groups_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ai/inference_timeseries_groups_v2_response.py">InferenceTimeseriesGroupsV2Response</a></code>
7354+
73417355
#### Summary
73427356

73437357
Types:
@@ -7371,6 +7385,22 @@ Methods:
73717385

73727386
### Bots
73737387

7388+
Types:
7389+
7390+
```python
7391+
from cloudflare.types.radar.ai import (
7392+
BotSummaryV2Response,
7393+
BotTimeseriesResponse,
7394+
BotTimeseriesGroupsResponse,
7395+
)
7396+
```
7397+
7398+
Methods:
7399+
7400+
- <code title="get /radar/ai/bots/summary/{dimension}">client.radar.ai.bots.<a href="./src/cloudflare/resources/radar/ai/bots/bots.py">summary_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/ai/bot_summary_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ai/bot_summary_v2_response.py">BotSummaryV2Response</a></code>
7401+
- <code title="get /radar/ai/bots/timeseries">client.radar.ai.bots.<a href="./src/cloudflare/resources/radar/ai/bots/bots.py">timeseries</a>(\*\*<a href="src/cloudflare/types/radar/ai/bot_timeseries_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ai/bot_timeseries_response.py">BotTimeseriesResponse</a></code>
7402+
- <code title="get /radar/ai/bots/timeseries_groups/{dimension}">client.radar.ai.bots.<a href="./src/cloudflare/resources/radar/ai/bots/bots.py">timeseries_groups</a>(dimension, \*\*<a href="src/cloudflare/types/radar/ai/bot_timeseries_groups_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ai/bot_timeseries_groups_response.py">BotTimeseriesGroupsResponse</a></code>
7403+
73747404
#### Summary
73757405

73767406
Types:
@@ -7628,12 +7658,18 @@ Methods:
76287658
Types:
76297659

76307660
```python
7631-
from cloudflare.types.radar import DNSTimeseriesResponse
7661+
from cloudflare.types.radar import (
7662+
DNSSummaryV2Response,
7663+
DNSTimeseriesResponse,
7664+
DNSTimeseriesGroupsV2Response,
7665+
)
76327666
```
76337667

76347668
Methods:
76357669

7670+
- <code title="get /radar/dns/summary/{dimension}">client.radar.dns.<a href="./src/cloudflare/resources/radar/dns/dns.py">summary_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/dns_summary_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/dns_summary_v2_response.py">DNSSummaryV2Response</a></code>
76367671
- <code title="get /radar/dns/timeseries">client.radar.dns.<a href="./src/cloudflare/resources/radar/dns/dns.py">timeseries</a>(\*\*<a href="src/cloudflare/types/radar/dns_timeseries_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/dns_timeseries_response.py">DNSTimeseriesResponse</a></code>
7672+
- <code title="get /radar/dns/timeseries_groups/{dimension}">client.radar.dns.<a href="./src/cloudflare/resources/radar/dns/dns.py">timeseries_groups_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/dns_timeseries_groups_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/dns_timeseries_groups_v2_response.py">DNSTimeseriesGroupsV2Response</a></code>
76377673

76387674
### Top
76397675

@@ -7717,13 +7753,20 @@ Methods:
77177753
Types:
77187754

77197755
```python
7720-
from cloudflare.types.radar import NetflowSummaryResponse, NetflowTimeseriesResponse
7756+
from cloudflare.types.radar import (
7757+
NetflowSummaryResponse,
7758+
NetflowSummaryV2Response,
7759+
NetflowTimeseriesResponse,
7760+
NetflowTimeseriesGroupsResponse,
7761+
)
77217762
```
77227763

77237764
Methods:
77247765

77257766
- <code title="get /radar/netflows/summary">client.radar.netflows.<a href="./src/cloudflare/resources/radar/netflows/netflows.py">summary</a>(\*\*<a href="src/cloudflare/types/radar/netflow_summary_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/netflow_summary_response.py">NetflowSummaryResponse</a></code>
7767+
- <code title="get /radar/netflows/summary/{dimension}">client.radar.netflows.<a href="./src/cloudflare/resources/radar/netflows/netflows.py">summary_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/netflow_summary_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/netflow_summary_v2_response.py">NetflowSummaryV2Response</a></code>
77267768
- <code title="get /radar/netflows/timeseries">client.radar.netflows.<a href="./src/cloudflare/resources/radar/netflows/netflows.py">timeseries</a>(\*\*<a href="src/cloudflare/types/radar/netflow_timeseries_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/netflow_timeseries_response.py">NetflowTimeseriesResponse</a></code>
7769+
- <code title="get /radar/netflows/timeseries_groups/{dimension}">client.radar.netflows.<a href="./src/cloudflare/resources/radar/netflows/netflows.py">timeseries_groups</a>(dimension, \*\*<a href="src/cloudflare/types/radar/netflow_timeseries_groups_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/netflow_timeseries_groups_response.py">NetflowTimeseriesGroupsResponse</a></code>
77277770

77287771
### Top
77297772

@@ -7770,12 +7813,18 @@ Methods:
77707813
Types:
77717814

77727815
```python
7773-
from cloudflare.types.radar import AS112TimeseriesResponse
7816+
from cloudflare.types.radar import (
7817+
AS112SummaryV2Response,
7818+
AS112TimeseriesResponse,
7819+
AS112TimeseriesGroupsV2Response,
7820+
)
77747821
```
77757822

77767823
Methods:
77777824

7825+
- <code title="get /radar/as112/summary/{dimension}">client.radar.as112.<a href="./src/cloudflare/resources/radar/as112/as112.py">summary_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/as112_summary_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/as112_summary_v2_response.py">AS112SummaryV2Response</a></code>
77787826
- <code title="get /radar/as112/timeseries">client.radar.as112.<a href="./src/cloudflare/resources/radar/as112/as112.py">timeseries</a>(\*\*<a href="src/cloudflare/types/radar/as112_timeseries_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/as112_timeseries_response.py">AS112TimeseriesResponse</a></code>
7827+
- <code title="get /radar/as112/timeseries_groups/{dimension}">client.radar.as112.<a href="./src/cloudflare/resources/radar/as112/as112.py">timeseries_groups_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/as112_timeseries_groups_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/as112_timeseries_groups_v2_response.py">AS112TimeseriesGroupsV2Response</a></code>
77797828

77807829
### Summary
77817830

@@ -7855,6 +7904,17 @@ from cloudflare.types.radar import RadarEmailSeries, RadarEmailSummary
78557904

78567905
### Routing
78577906

7907+
Types:
7908+
7909+
```python
7910+
from cloudflare.types.radar.email import RoutingSummaryV2Response, RoutingTimeseriesGroupsV2Response
7911+
```
7912+
7913+
Methods:
7914+
7915+
- <code title="get /radar/email/routing/summary/{dimension}">client.radar.email.routing.<a href="./src/cloudflare/resources/radar/email/routing/routing.py">summary_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/email/routing_summary_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/routing_summary_v2_response.py">RoutingSummaryV2Response</a></code>
7916+
- <code title="get /radar/email/routing/timeseries_groups/{dimension}">client.radar.email.routing.<a href="./src/cloudflare/resources/radar/email/routing/routing.py">timeseries_groups_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/email/routing_timeseries_groups_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/routing_timeseries_groups_v2_response.py">RoutingTimeseriesGroupsV2Response</a></code>
7917+
78587918
#### Summary
78597919

78607920
Types:
@@ -7905,6 +7965,20 @@ Methods:
79057965

79067966
### Security
79077967

7968+
Types:
7969+
7970+
```python
7971+
from cloudflare.types.radar.email import (
7972+
SecuritySummaryV2Response,
7973+
SecurityTimeseriesGroupsV2Response,
7974+
)
7975+
```
7976+
7977+
Methods:
7978+
7979+
- <code title="get /radar/email/security/summary/{dimension}">client.radar.email.security.<a href="./src/cloudflare/resources/radar/email/security/security.py">summary_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/email/security_summary_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/security_summary_v2_response.py">SecuritySummaryV2Response</a></code>
7980+
- <code title="get /radar/email/security/timeseries_groups/{dimension}">client.radar.email.security.<a href="./src/cloudflare/resources/radar/email/security/security.py">timeseries_groups_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/email/security_timeseries_groups_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/security_timeseries_groups_v2_response.py">SecurityTimeseriesGroupsV2Response</a></code>
7981+
79087982
#### Top
79097983

79107984
##### Tlds
@@ -8022,12 +8096,18 @@ Methods:
80228096
Types:
80238097

80248098
```python
8025-
from cloudflare.types.radar.attacks import Layer3TimeseriesResponse
8099+
from cloudflare.types.radar.attacks import (
8100+
Layer3SummaryV2Response,
8101+
Layer3TimeseriesResponse,
8102+
Layer3TimeseriesGroupsV2Response,
8103+
)
80268104
```
80278105

80288106
Methods:
80298107

8108+
- <code title="get /radar/attacks/layer3/summary/{dimension}">client.radar.attacks.layer3.<a href="./src/cloudflare/resources/radar/attacks/layer3/layer3.py">summary_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/attacks/layer3_summary_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/attacks/layer3_summary_v2_response.py">Layer3SummaryV2Response</a></code>
80308109
- <code title="get /radar/attacks/layer3/timeseries">client.radar.attacks.layer3.<a href="./src/cloudflare/resources/radar/attacks/layer3/layer3.py">timeseries</a>(\*\*<a href="src/cloudflare/types/radar/attacks/layer3_timeseries_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/attacks/layer3_timeseries_response.py">Layer3TimeseriesResponse</a></code>
8110+
- <code title="get /radar/attacks/layer3/timeseries_groups/{dimension}">client.radar.attacks.layer3.<a href="./src/cloudflare/resources/radar/attacks/layer3/layer3.py">timeseries_groups_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/attacks/layer3_timeseries_groups_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/attacks/layer3_timeseries_groups_v2_response.py">Layer3TimeseriesGroupsV2Response</a></code>
80318111

80328112
#### Summary
80338113

@@ -8117,12 +8197,18 @@ Methods:
81178197
Types:
81188198

81198199
```python
8120-
from cloudflare.types.radar.attacks import Layer7TimeseriesResponse
8200+
from cloudflare.types.radar.attacks import (
8201+
Layer7SummaryV2Response,
8202+
Layer7TimeseriesResponse,
8203+
Layer7TimeseriesGroupsV2Response,
8204+
)
81218205
```
81228206

81238207
Methods:
81248208

8209+
- <code title="get /radar/attacks/layer7/summary/{dimension}">client.radar.attacks.layer7.<a href="./src/cloudflare/resources/radar/attacks/layer7/layer7.py">summary_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/attacks/layer7_summary_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/attacks/layer7_summary_v2_response.py">Layer7SummaryV2Response</a></code>
81258210
- <code title="get /radar/attacks/layer7/timeseries">client.radar.attacks.layer7.<a href="./src/cloudflare/resources/radar/attacks/layer7/layer7.py">timeseries</a>(\*\*<a href="src/cloudflare/types/radar/attacks/layer7_timeseries_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/attacks/layer7_timeseries_response.py">Layer7TimeseriesResponse</a></code>
8211+
- <code title="get /radar/attacks/layer7/timeseries_groups/{dimension}">client.radar.attacks.layer7.<a href="./src/cloudflare/resources/radar/attacks/layer7/layer7.py">timeseries_groups_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/attacks/layer7_timeseries_groups_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/attacks/layer7_timeseries_groups_v2_response.py">Layer7TimeseriesGroupsV2Response</a></code>
81268212

81278213
#### Summary
81288214

@@ -8266,17 +8352,36 @@ Methods:
82668352
- <code title="get /radar/entities/locations">client.radar.entities.locations.<a href="./src/cloudflare/resources/radar/entities/locations.py">list</a>(\*\*<a href="src/cloudflare/types/radar/entities/location_list_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/entities/location_list_response.py">LocationListResponse</a></code>
82678353
- <code title="get /radar/entities/locations/{location}">client.radar.entities.locations.<a href="./src/cloudflare/resources/radar/entities/locations.py">get</a>(location, \*\*<a href="src/cloudflare/types/radar/entities/location_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/entities/location_get_response.py">LocationGetResponse</a></code>
82688354

8355+
## Geolocations
8356+
8357+
Types:
8358+
8359+
```python
8360+
from cloudflare.types.radar import GeolocationListResponse, GeolocationGetResponse
8361+
```
8362+
8363+
Methods:
8364+
8365+
- <code title="get /radar/geolocations">client.radar.geolocations.<a href="./src/cloudflare/resources/radar/geolocations.py">list</a>(\*\*<a href="src/cloudflare/types/radar/geolocation_list_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/geolocation_list_response.py">GeolocationListResponse</a></code>
8366+
- <code title="get /radar/geolocations/{geo_id}">client.radar.geolocations.<a href="./src/cloudflare/resources/radar/geolocations.py">get</a>(geo_id, \*\*<a href="src/cloudflare/types/radar/geolocation_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/geolocation_get_response.py">GeolocationGetResponse</a></code>
8367+
82698368
## HTTP
82708369

82718370
Types:
82728371

82738372
```python
8274-
from cloudflare.types.radar import HTTPTimeseriesResponse
8373+
from cloudflare.types.radar import (
8374+
HTTPSummaryV2Response,
8375+
HTTPTimeseriesResponse,
8376+
HTTPTimeseriesGroupsV2Response,
8377+
)
82758378
```
82768379

82778380
Methods:
82788381

8382+
- <code title="get /radar/http/summary/{dimension}">client.radar.http.<a href="./src/cloudflare/resources/radar/http/http.py">summary_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/http_summary_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/http_summary_v2_response.py">HTTPSummaryV2Response</a></code>
82798383
- <code title="get /radar/http/timeseries">client.radar.http.<a href="./src/cloudflare/resources/radar/http/http.py">timeseries</a>(\*\*<a href="src/cloudflare/types/radar/http_timeseries_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/http_timeseries_response.py">HTTPTimeseriesResponse</a></code>
8384+
- <code title="get /radar/http/timeseries_groups/{dimension}">client.radar.http.<a href="./src/cloudflare/resources/radar/http/http.py">timeseries_groups_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/http_timeseries_groups_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/http_timeseries_groups_v2_response.py">HTTPTimeseriesGroupsV2Response</a></code>
82808385

82818386
### Locations
82828387

@@ -8719,6 +8824,20 @@ Methods:
87198824

87208825
## LeakedCredentials
87218826

8827+
Types:
8828+
8829+
```python
8830+
from cloudflare.types.radar import (
8831+
LeakedCredentialSummaryV2Response,
8832+
LeakedCredentialTimeseriesGroupsV2Response,
8833+
)
8834+
```
8835+
8836+
Methods:
8837+
8838+
- <code title="get /radar/leaked_credential_checks/summary/{dimension}">client.radar.leaked_credentials.<a href="./src/cloudflare/resources/radar/leaked_credentials/leaked_credentials.py">summary_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/leaked_credential_summary_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/leaked_credential_summary_v2_response.py">LeakedCredentialSummaryV2Response</a></code>
8839+
- <code title="get /radar/leaked_credential_checks/timeseries_groups/{dimension}">client.radar.leaked_credentials.<a href="./src/cloudflare/resources/radar/leaked_credentials/leaked_credentials.py">timeseries_groups_v2</a>(dimension, \*\*<a href="src/cloudflare/types/radar/leaked_credential_timeseries_groups_v2_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/leaked_credential_timeseries_groups_v2_response.py">LeakedCredentialTimeseriesGroupsV2Response</a></code>
8840+
87228841
### Summary
87238842

87248843
Types:

src/cloudflare/resources/radar/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,14 @@
144144
AnnotationsResourceWithStreamingResponse,
145145
AsyncAnnotationsResourceWithStreamingResponse,
146146
)
147+
from .geolocations import (
148+
GeolocationsResource,
149+
AsyncGeolocationsResource,
150+
GeolocationsResourceWithRawResponse,
151+
AsyncGeolocationsResourceWithRawResponse,
152+
GeolocationsResourceWithStreamingResponse,
153+
AsyncGeolocationsResourceWithStreamingResponse,
154+
)
147155
from .verified_bots import (
148156
VerifiedBotsResource,
149157
AsyncVerifiedBotsResource,
@@ -262,6 +270,12 @@
262270
"AsyncEntitiesResourceWithRawResponse",
263271
"EntitiesResourceWithStreamingResponse",
264272
"AsyncEntitiesResourceWithStreamingResponse",
273+
"GeolocationsResource",
274+
"AsyncGeolocationsResource",
275+
"GeolocationsResourceWithRawResponse",
276+
"AsyncGeolocationsResourceWithRawResponse",
277+
"GeolocationsResourceWithStreamingResponse",
278+
"AsyncGeolocationsResourceWithStreamingResponse",
265279
"HTTPResource",
266280
"AsyncHTTPResource",
267281
"HTTPResourceWithRawResponse",

0 commit comments

Comments
 (0)