Skip to content

Commit f67e265

Browse files
feat(api): api update
1 parent f1a1c62 commit f67e265

File tree

86 files changed

+347
-269
lines changed

Some content is hidden

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

86 files changed

+347
-269
lines changed

.stats.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1711
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-00cc00bf6803564586e7f684d25226a1c9d89bf12036988717a66c60b8b33abb.yml
3-
openapi_spec_hash: 040ab9ceb15f03127035a8a6995f32eb
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-be6d2f19da4e985ee3ba8b59cf4e695314ca1b595d5337a10d197a6eabebe875.yml
3+
openapi_spec_hash: fc7746798532fd1314a8c70e70bbb220
44
config_hash: 86a54f66d2e5124bf31014f50e82f845

api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ from cloudflare.types.origin_ca_certificates import (
151151
Methods:
152152

153153
- <code title="post /certificates">client.origin_ca_certificates.<a href="./src/cloudflare/resources/origin_ca_certificates.py">create</a>(\*\*<a href="src/cloudflare/types/origin_ca_certificates/origin_ca_certificate_create_params.py">params</a>) -> <a href="./src/cloudflare/types/origin_ca_certificates/origin_ca_certificate.py">Optional[OriginCACertificate]</a></code>
154-
- <code title="get /certificates">client.origin_ca_certificates.<a href="./src/cloudflare/resources/origin_ca_certificates.py">list</a>(\*\*<a href="src/cloudflare/types/origin_ca_certificates/origin_ca_certificate_list_params.py">params</a>) -> <a href="./src/cloudflare/types/origin_ca_certificates/origin_ca_certificate.py">SyncSinglePage[OriginCACertificate]</a></code>
154+
- <code title="get /certificates">client.origin_ca_certificates.<a href="./src/cloudflare/resources/origin_ca_certificates.py">list</a>(\*\*<a href="src/cloudflare/types/origin_ca_certificates/origin_ca_certificate_list_params.py">params</a>) -> <a href="./src/cloudflare/types/origin_ca_certificates/origin_ca_certificate.py">SyncV4PagePaginationArray[OriginCACertificate]</a></code>
155155
- <code title="delete /certificates/{certificate_id}">client.origin_ca_certificates.<a href="./src/cloudflare/resources/origin_ca_certificates.py">delete</a>(certificate_id) -> <a href="./src/cloudflare/types/origin_ca_certificates/origin_ca_certificate_delete_response.py">Optional[OriginCACertificateDeleteResponse]</a></code>
156156
- <code title="get /certificates/{certificate_id}">client.origin_ca_certificates.<a href="./src/cloudflare/resources/origin_ca_certificates.py">get</a>(certificate_id) -> <a href="./src/cloudflare/types/origin_ca_certificates/origin_ca_certificate.py">Optional[OriginCACertificate]</a></code>
157157

src/cloudflare/resources/acm/total_tls.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def create(
6666
Set Total TLS Settings or disable the feature for a Zone.
6767
6868
Args:
69-
zone_id: Identifier
69+
zone_id: Identifier.
7070
7171
enabled: If enabled, Total TLS will order a hostname specific TLS certificate for any
7272
proxied A, AAAA, or CNAME record in your zone.
@@ -117,7 +117,7 @@ def get(
117117
Get Total TLS Settings for a Zone.
118118
119119
Args:
120-
zone_id: Identifier
120+
zone_id: Identifier.
121121
122122
extra_headers: Send extra headers
123123
@@ -179,7 +179,7 @@ async def create(
179179
Set Total TLS Settings or disable the feature for a Zone.
180180
181181
Args:
182-
zone_id: Identifier
182+
zone_id: Identifier.
183183
184184
enabled: If enabled, Total TLS will order a hostname specific TLS certificate for any
185185
proxied A, AAAA, or CNAME record in your zone.
@@ -230,7 +230,7 @@ async def get(
230230
Get Total TLS Settings for a Zone.
231231
232232
Args:
233-
zone_id: Identifier
233+
zone_id: Identifier.
234234
235235
extra_headers: Send extra headers
236236

src/cloudflare/resources/certificate_authorities/hostname_associations.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def update(
6666
Replace Hostname Associations
6767
6868
Args:
69-
zone_id: Identifier
69+
zone_id: Identifier.
7070
7171
mtls_certificate_id: The UUID for a certificate that was uploaded to the mTLS Certificate Management
7272
endpoint. If no mtls_certificate_id is given, the hostnames will be associated
@@ -119,7 +119,7 @@ def get(
119119
List Hostname Associations
120120
121121
Args:
122-
zone_id: Identifier
122+
zone_id: Identifier.
123123
124124
mtls_certificate_id: The UUID to match against for a certificate that was uploaded to the mTLS
125125
Certificate Management endpoint. If no mtls_certificate_id is given, the results
@@ -189,7 +189,7 @@ async def update(
189189
Replace Hostname Associations
190190
191191
Args:
192-
zone_id: Identifier
192+
zone_id: Identifier.
193193
194194
mtls_certificate_id: The UUID for a certificate that was uploaded to the mTLS Certificate Management
195195
endpoint. If no mtls_certificate_id is given, the hostnames will be associated
@@ -242,7 +242,7 @@ async def get(
242242
List Hostname Associations
243243
244244
Args:
245-
zone_id: Identifier
245+
zone_id: Identifier.
246246
247247
mtls_certificate_id: The UUID to match against for a certificate that was uploaded to the mTLS
248248
Certificate Management endpoint. If no mtls_certificate_id is given, the results

src/cloudflare/resources/client_certificates.py

+16-16
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def create(
6666
Create a new API Shield mTLS Client Certificate
6767
6868
Args:
69-
zone_id: Identifier
69+
zone_id: Identifier.
7070
7171
csr: The Certificate Signing Request (CSR). Must be newline-encoded.
7272
@@ -123,7 +123,7 @@ def list(
123123
using Pagination
124124
125125
Args:
126-
zone_id: Identifier
126+
zone_id: Identifier.
127127
128128
limit: Limit to the number of records returned.
129129
@@ -184,9 +184,9 @@ def delete(
184184
processing to revoked status.
185185
186186
Args:
187-
zone_id: Identifier
187+
zone_id: Identifier.
188188
189-
client_certificate_id: Identifier
189+
client_certificate_id: Identifier.
190190
191191
extra_headers: Send extra headers
192192
@@ -231,9 +231,9 @@ def edit(
231231
may reactivate it with this endpoint.
232232
233233
Args:
234-
zone_id: Identifier
234+
zone_id: Identifier.
235235
236-
client_certificate_id: Identifier
236+
client_certificate_id: Identifier.
237237
238238
extra_headers: Send extra headers
239239
@@ -277,9 +277,9 @@ def get(
277277
Get Details for a single mTLS API Shield Client Certificate
278278
279279
Args:
280-
zone_id: Identifier
280+
zone_id: Identifier.
281281
282-
client_certificate_id: Identifier
282+
client_certificate_id: Identifier.
283283
284284
extra_headers: Send extra headers
285285
@@ -345,7 +345,7 @@ async def create(
345345
Create a new API Shield mTLS Client Certificate
346346
347347
Args:
348-
zone_id: Identifier
348+
zone_id: Identifier.
349349
350350
csr: The Certificate Signing Request (CSR). Must be newline-encoded.
351351
@@ -402,7 +402,7 @@ def list(
402402
using Pagination
403403
404404
Args:
405-
zone_id: Identifier
405+
zone_id: Identifier.
406406
407407
limit: Limit to the number of records returned.
408408
@@ -463,9 +463,9 @@ async def delete(
463463
processing to revoked status.
464464
465465
Args:
466-
zone_id: Identifier
466+
zone_id: Identifier.
467467
468-
client_certificate_id: Identifier
468+
client_certificate_id: Identifier.
469469
470470
extra_headers: Send extra headers
471471
@@ -510,9 +510,9 @@ async def edit(
510510
may reactivate it with this endpoint.
511511
512512
Args:
513-
zone_id: Identifier
513+
zone_id: Identifier.
514514
515-
client_certificate_id: Identifier
515+
client_certificate_id: Identifier.
516516
517517
extra_headers: Send extra headers
518518
@@ -556,9 +556,9 @@ async def get(
556556
Get Details for a single mTLS API Shield Client Certificate
557557
558558
Args:
559-
zone_id: Identifier
559+
zone_id: Identifier.
560560
561-
client_certificate_id: Identifier
561+
client_certificate_id: Identifier.
562562
563563
extra_headers: Send extra headers
564564

src/cloudflare/resources/custom_certificates/custom_certificates.py

+16-16
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def create(
9090
Upload a new SSL certificate for a zone.
9191
9292
Args:
93-
zone_id: Identifier
93+
zone_id: Identifier.
9494
9595
certificate: The zone's SSL certificate or certificate and the intermediate(s).
9696
@@ -177,7 +177,7 @@ def list(
177177
'legacy_custom' certificates will always supercede 'sni_custom' certificates.
178178
179179
Args:
180-
zone_id: Identifier
180+
zone_id: Identifier.
181181
182182
match: Whether to match all search requirements or at least one (any).
183183
@@ -234,9 +234,9 @@ def delete(
234234
Remove a SSL certificate from a zone.
235235
236236
Args:
237-
zone_id: Identifier
237+
zone_id: Identifier.
238238
239-
custom_certificate_id: Identifier
239+
custom_certificate_id: Identifier.
240240
241241
extra_headers: Send extra headers
242242
@@ -290,9 +290,9 @@ def edit(
290290
being returned, and the previous one being deleted.
291291
292292
Args:
293-
zone_id: Identifier
293+
zone_id: Identifier.
294294
295-
custom_certificate_id: Identifier
295+
custom_certificate_id: Identifier.
296296
297297
bundle_method: A ubiquitous bundle has the highest probability of being verified everywhere,
298298
even by clients using outdated or unusual trust stores. An optimal bundle uses
@@ -373,9 +373,9 @@ def get(
373373
SSL Configuration Details
374374
375375
Args:
376-
zone_id: Identifier
376+
zone_id: Identifier.
377377
378-
custom_certificate_id: Identifier
378+
custom_certificate_id: Identifier.
379379
380380
extra_headers: Send extra headers
381381
@@ -449,7 +449,7 @@ async def create(
449449
Upload a new SSL certificate for a zone.
450450
451451
Args:
452-
zone_id: Identifier
452+
zone_id: Identifier.
453453
454454
certificate: The zone's SSL certificate or certificate and the intermediate(s).
455455
@@ -536,7 +536,7 @@ def list(
536536
'legacy_custom' certificates will always supercede 'sni_custom' certificates.
537537
538538
Args:
539-
zone_id: Identifier
539+
zone_id: Identifier.
540540
541541
match: Whether to match all search requirements or at least one (any).
542542
@@ -593,9 +593,9 @@ async def delete(
593593
Remove a SSL certificate from a zone.
594594
595595
Args:
596-
zone_id: Identifier
596+
zone_id: Identifier.
597597
598-
custom_certificate_id: Identifier
598+
custom_certificate_id: Identifier.
599599
600600
extra_headers: Send extra headers
601601
@@ -649,9 +649,9 @@ async def edit(
649649
being returned, and the previous one being deleted.
650650
651651
Args:
652-
zone_id: Identifier
652+
zone_id: Identifier.
653653
654-
custom_certificate_id: Identifier
654+
custom_certificate_id: Identifier.
655655
656656
bundle_method: A ubiquitous bundle has the highest probability of being verified everywhere,
657657
even by clients using outdated or unusual trust stores. An optimal bundle uses
@@ -732,9 +732,9 @@ async def get(
732732
SSL Configuration Details
733733
734734
Args:
735-
zone_id: Identifier
735+
zone_id: Identifier.
736736
737-
custom_certificate_id: Identifier
737+
custom_certificate_id: Identifier.
738738
739739
extra_headers: Send extra headers
740740

src/cloudflare/resources/custom_certificates/prioritize.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def update(
6262
overlapping 'legacy_custom' certificates.
6363
6464
Args:
65-
zone_id: Identifier
65+
zone_id: Identifier.
6666
6767
certificates: Array of ordered certificates.
6868
@@ -126,7 +126,7 @@ def update(
126126
overlapping 'legacy_custom' certificates.
127127
128128
Args:
129-
zone_id: Identifier
129+
zone_id: Identifier.
130130
131131
certificates: Array of ordered certificates.
132132

src/cloudflare/resources/custom_hostnames/certificate_pack/certificates.py

+16-16
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ def update(
7171
certificate with another ECDSA certificate.
7272
7373
Args:
74-
zone_id: Identifier
74+
zone_id: Identifier.
7575
76-
custom_hostname_id: Identifier
76+
custom_hostname_id: Identifier.
7777
78-
certificate_pack_id: Identifier
78+
certificate_pack_id: Identifier.
7979
80-
certificate_id: Identifier
80+
certificate_id: Identifier.
8181
8282
custom_certificate: If a custom uploaded certificate is used.
8383
@@ -141,13 +141,13 @@ def delete(
141141
At least one certificate must remain in the pack.
142142
143143
Args:
144-
zone_id: Identifier
144+
zone_id: Identifier.
145145
146-
custom_hostname_id: Identifier
146+
custom_hostname_id: Identifier.
147147
148-
certificate_pack_id: Identifier
148+
certificate_pack_id: Identifier.
149149
150-
certificate_id: Identifier
150+
certificate_id: Identifier.
151151
152152
extra_headers: Send extra headers
153153
@@ -219,13 +219,13 @@ async def update(
219219
certificate with another ECDSA certificate.
220220
221221
Args:
222-
zone_id: Identifier
222+
zone_id: Identifier.
223223
224-
custom_hostname_id: Identifier
224+
custom_hostname_id: Identifier.
225225
226-
certificate_pack_id: Identifier
226+
certificate_pack_id: Identifier.
227227
228-
certificate_id: Identifier
228+
certificate_id: Identifier.
229229
230230
custom_certificate: If a custom uploaded certificate is used.
231231
@@ -289,13 +289,13 @@ async def delete(
289289
At least one certificate must remain in the pack.
290290
291291
Args:
292-
zone_id: Identifier
292+
zone_id: Identifier.
293293
294-
custom_hostname_id: Identifier
294+
custom_hostname_id: Identifier.
295295
296-
certificate_pack_id: Identifier
296+
certificate_pack_id: Identifier.
297297
298-
certificate_id: Identifier
298+
certificate_id: Identifier.
299299
300300
extra_headers: Send extra headers
301301

0 commit comments

Comments
 (0)