Skip to content

Commit 5f2bc15

Browse files
feat(api): api update
1 parent 9a4394b commit 5f2bc15

37 files changed

+168
-166
lines changed

.stats.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1706
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-c604a27d8996ae46abf63c3f3c6f8f0f2a187bebd9c65b172454e04062908ccb.yml
3-
openapi_spec_hash: 4d425e91075e97543a0892523999da37
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-ff3943e45b90174a03c768de1ce4a4f0a56e866695a13968179f152a58a70047.yml
3+
openapi_spec_hash: 6d5975e6c5af063fee2ff3dadad49832
44
config_hash: 67f412c990647f3cb598378fa22a9db5

src/cloudflare/resources/filters.py

+14-14
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def create(
6565
Creates one or more filters.
6666
6767
Args:
68-
zone_id: Identifier
68+
zone_id: Defines an identifier.
6969
7070
expression: The filter expression. For more information, refer to
7171
[Expressions](https://developers.cloudflare.com/ruleset-engine/rules-language/expressions/).
@@ -111,7 +111,7 @@ def update(
111111
Updates an existing filter.
112112
113113
Args:
114-
zone_id: Identifier
114+
zone_id: Defines an identifier.
115115
116116
filter_id: The unique identifier of the filter.
117117
@@ -167,7 +167,7 @@ def list(
167167
parameters.
168168
169169
Args:
170-
zone_id: Identifier
170+
zone_id: Defines an identifier.
171171
172172
id: The unique identifier of the filter.
173173
@@ -236,7 +236,7 @@ def delete(
236236
Deletes an existing filter.
237237
238238
Args:
239-
zone_id: Identifier
239+
zone_id: Defines an identifier.
240240
241241
filter_id: The unique identifier of the filter.
242242
@@ -282,7 +282,7 @@ def bulk_delete(
282282
Deletes one or more existing filters.
283283
284284
Args:
285-
zone_id: Identifier
285+
zone_id: Defines an identifier.
286286
287287
extra_headers: Send extra headers
288288
@@ -322,7 +322,7 @@ def bulk_update(
322322
Updates one or more existing filters.
323323
324324
Args:
325-
zone_id: Identifier
325+
zone_id: Defines an identifier.
326326
327327
extra_headers: Send extra headers
328328
@@ -363,7 +363,7 @@ def get(
363363
Fetches the details of a filter.
364364
365365
Args:
366-
zone_id: Identifier
366+
zone_id: Defines an identifier.
367367
368368
filter_id: The unique identifier of the filter.
369369
@@ -431,7 +431,7 @@ def create(
431431
Creates one or more filters.
432432
433433
Args:
434-
zone_id: Identifier
434+
zone_id: Defines an identifier.
435435
436436
expression: The filter expression. For more information, refer to
437437
[Expressions](https://developers.cloudflare.com/ruleset-engine/rules-language/expressions/).
@@ -477,7 +477,7 @@ async def update(
477477
Updates an existing filter.
478478
479479
Args:
480-
zone_id: Identifier
480+
zone_id: Defines an identifier.
481481
482482
filter_id: The unique identifier of the filter.
483483
@@ -533,7 +533,7 @@ def list(
533533
parameters.
534534
535535
Args:
536-
zone_id: Identifier
536+
zone_id: Defines an identifier.
537537
538538
id: The unique identifier of the filter.
539539
@@ -602,7 +602,7 @@ async def delete(
602602
Deletes an existing filter.
603603
604604
Args:
605-
zone_id: Identifier
605+
zone_id: Defines an identifier.
606606
607607
filter_id: The unique identifier of the filter.
608608
@@ -648,7 +648,7 @@ def bulk_delete(
648648
Deletes one or more existing filters.
649649
650650
Args:
651-
zone_id: Identifier
651+
zone_id: Defines an identifier.
652652
653653
extra_headers: Send extra headers
654654
@@ -688,7 +688,7 @@ def bulk_update(
688688
Updates one or more existing filters.
689689
690690
Args:
691-
zone_id: Identifier
691+
zone_id: Defines an identifier.
692692
693693
extra_headers: Send extra headers
694694
@@ -729,7 +729,7 @@ async def get(
729729
Fetches the details of a filter.
730730
731731
Args:
732-
zone_id: Identifier
732+
zone_id: Defines an identifier.
733733
734734
filter_id: The unique identifier of the filter.
735735

src/cloudflare/resources/firewall/access_rules.py

+24-24
Original file line numberDiff line numberDiff line change
@@ -155,22 +155,22 @@ def list(
155155
156156
zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
157157
158-
direction: The direction used to sort returned rules.
158+
direction: Defines the direction used to sort returned rules.
159159
160-
match: When set to `all`, all the search requirements must match. When set to `any`,
161-
only one of the search requirements has to match.
160+
match: Defines the search requirements. When set to `all`, all the search requirements
161+
must match. When set to `any`, only one of the search requirements has to match.
162162
163163
mode: The action to apply to a matched request.
164164
165-
notes: The string to search for in the notes of existing IP Access rules. Notes: For
166-
example, the string 'attack' would match IP Access rules with notes 'Attack
167-
26/02' and 'Attack 27/02'. The search is case insensitive.
165+
notes: Defines the string to search for in the notes of existing IP Access rules.
166+
Notes: For example, the string 'attack' would match IP Access rules with notes
167+
'Attack 26/02' and 'Attack 27/02'. The search is case insensitive.
168168
169-
order: The field used to sort returned rules.
169+
order: Defines the field used to sort returned rules.
170170
171-
page: Requested page within paginated list of results.
171+
page: Defines the requested page within paginated list of results.
172172
173-
per_page: Maximum number of results requested.
173+
per_page: Defines the maximum number of results requested.
174174
175175
extra_headers: Send extra headers
176176
@@ -236,7 +236,7 @@ def delete(
236236
Note: This operation will affect all zones in the account or zone.
237237
238238
Args:
239-
rule_id: Unique identifier for a rule
239+
rule_id: Unique identifier for a rule.
240240
241241
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
242242
@@ -298,7 +298,7 @@ def edit(
298298
Note: This operation will affect all zones in the account or zone.
299299
300300
Args:
301-
rule_id: Unique identifier for a rule
301+
rule_id: Unique identifier for a rule.
302302
303303
configuration: The rule configuration.
304304
@@ -369,7 +369,7 @@ def get(
369369
Fetches the details of an IP Access rule defined.
370370
371371
Args:
372-
rule_id: Unique identifier for a rule
372+
rule_id: Unique identifier for a rule.
373373
374374
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
375375
@@ -535,22 +535,22 @@ def list(
535535
536536
zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
537537
538-
direction: The direction used to sort returned rules.
538+
direction: Defines the direction used to sort returned rules.
539539
540-
match: When set to `all`, all the search requirements must match. When set to `any`,
541-
only one of the search requirements has to match.
540+
match: Defines the search requirements. When set to `all`, all the search requirements
541+
must match. When set to `any`, only one of the search requirements has to match.
542542
543543
mode: The action to apply to a matched request.
544544
545-
notes: The string to search for in the notes of existing IP Access rules. Notes: For
546-
example, the string 'attack' would match IP Access rules with notes 'Attack
547-
26/02' and 'Attack 27/02'. The search is case insensitive.
545+
notes: Defines the string to search for in the notes of existing IP Access rules.
546+
Notes: For example, the string 'attack' would match IP Access rules with notes
547+
'Attack 26/02' and 'Attack 27/02'. The search is case insensitive.
548548
549-
order: The field used to sort returned rules.
549+
order: Defines the field used to sort returned rules.
550550
551-
page: Requested page within paginated list of results.
551+
page: Defines the requested page within paginated list of results.
552552
553-
per_page: Maximum number of results requested.
553+
per_page: Defines the maximum number of results requested.
554554
555555
extra_headers: Send extra headers
556556
@@ -616,7 +616,7 @@ async def delete(
616616
Note: This operation will affect all zones in the account or zone.
617617
618618
Args:
619-
rule_id: Unique identifier for a rule
619+
rule_id: Unique identifier for a rule.
620620
621621
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
622622
@@ -678,7 +678,7 @@ async def edit(
678678
Note: This operation will affect all zones in the account or zone.
679679
680680
Args:
681-
rule_id: Unique identifier for a rule
681+
rule_id: Unique identifier for a rule.
682682
683683
configuration: The rule configuration.
684684
@@ -749,7 +749,7 @@ async def get(
749749
Fetches the details of an IP Access rule defined.
750750
751751
Args:
752-
rule_id: Unique identifier for a rule
752+
rule_id: Unique identifier for a rule.
753753
754754
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
755755

src/cloudflare/resources/firewall/lockdowns.py

+10-10
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def create(
6666
Creates a new Zone Lockdown rule.
6767
6868
Args:
69-
zone_id: Identifier
69+
zone_id: Defines an identifier.
7070
7171
configurations: A list of IP addresses or CIDR ranges that will be allowed to access the URLs
7272
specified in the Zone Lockdown rule. You can include any number of `ip` or
@@ -123,7 +123,7 @@ def update(
123123
Updates an existing Zone Lockdown rule.
124124
125125
Args:
126-
zone_id: Identifier
126+
zone_id: Defines an identifier.
127127
128128
lock_downs_id: The unique identifier of the Zone Lockdown rule.
129129
@@ -194,7 +194,7 @@ def list(
194194
parameters.
195195
196196
Args:
197-
zone_id: Identifier
197+
zone_id: Defines an identifier.
198198
199199
created_on: The timestamp of when the rule was created.
200200
@@ -275,7 +275,7 @@ def delete(
275275
Deletes an existing Zone Lockdown rule.
276276
277277
Args:
278-
zone_id: Identifier
278+
zone_id: Defines an identifier.
279279
280280
lock_downs_id: The unique identifier of the Zone Lockdown rule.
281281
@@ -319,7 +319,7 @@ def get(
319319
Fetches the details of a Zone Lockdown rule.
320320
321321
Args:
322-
zone_id: Identifier
322+
zone_id: Defines an identifier.
323323
324324
lock_downs_id: The unique identifier of the Zone Lockdown rule.
325325
@@ -385,7 +385,7 @@ async def create(
385385
Creates a new Zone Lockdown rule.
386386
387387
Args:
388-
zone_id: Identifier
388+
zone_id: Defines an identifier.
389389
390390
configurations: A list of IP addresses or CIDR ranges that will be allowed to access the URLs
391391
specified in the Zone Lockdown rule. You can include any number of `ip` or
@@ -442,7 +442,7 @@ async def update(
442442
Updates an existing Zone Lockdown rule.
443443
444444
Args:
445-
zone_id: Identifier
445+
zone_id: Defines an identifier.
446446
447447
lock_downs_id: The unique identifier of the Zone Lockdown rule.
448448
@@ -513,7 +513,7 @@ def list(
513513
parameters.
514514
515515
Args:
516-
zone_id: Identifier
516+
zone_id: Defines an identifier.
517517
518518
created_on: The timestamp of when the rule was created.
519519
@@ -594,7 +594,7 @@ async def delete(
594594
Deletes an existing Zone Lockdown rule.
595595
596596
Args:
597-
zone_id: Identifier
597+
zone_id: Defines an identifier.
598598
599599
lock_downs_id: The unique identifier of the Zone Lockdown rule.
600600
@@ -638,7 +638,7 @@ async def get(
638638
Fetches the details of a Zone Lockdown rule.
639639
640640
Args:
641-
zone_id: Identifier
641+
zone_id: Defines an identifier.
642642
643643
lock_downs_id: The unique identifier of the Zone Lockdown rule.
644644

0 commit comments

Comments
 (0)