Skip to content

Commit 20bfdf8

Browse files
chore(api): update composite API spec
1 parent bb37db8 commit 20bfdf8

2 files changed

Lines changed: 28 additions & 10 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 2018
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-96674708a71bdccf65c32cfde3668102802ddcbd0013e0e6bea5fe5a15e96c2d.yml
3-
openapi_spec_hash: 07913982475b8cd9b10e68db898a4047
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-502ff5e05c48b9d2cafd71f7fa1b833f7ccf8f328350e5f4648d065d456e765c.yml
3+
openapi_spec_hash: 659199fd85eae22382ad710a8b1d7be1
44
config_hash: 7a08b6d7e050d324501d76c833118c84

src/cloudflare/resources/mtls_certificates/mtls_certificates.py

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@ def create(
7474
timeout: float | httpx.Timeout | None | NotGiven = not_given,
7575
) -> Optional[MTLSCertificateCreateResponse]:
7676
"""
77-
Upload a certificate that you want to use with mTLS-enabled Cloudflare services.
77+
Upload a certificate that you want to use with mTLS-enabled Cloudflare services,
78+
such as Bring Your Own CA (BYO-CA) for mTLS. To create certificates issued by
79+
the Cloudflare managed CA, use the
80+
[Create Client Certificate endpoint](/api/resources/client_certificates/methods/create/).
7881
7982
Args:
8083
account_id: Identifier.
@@ -131,7 +134,10 @@ def list(
131134
timeout: float | httpx.Timeout | None | NotGiven = not_given,
132135
) -> SyncSinglePage[MTLSCertificate]:
133136
"""
134-
Lists all mTLS certificates.
137+
Lists all mTLS certificates uploaded to your account, such as Bring Your Own CA
138+
(BYO-CA) for mTLS. To list certificates issued by the Cloudflare managed CA, use
139+
the
140+
[List Client Certificates endpoint](/api/resources/client_certificates/methods/list/).
135141
136142
Args:
137143
account_id: Identifier.
@@ -214,8 +220,11 @@ def get(
214220
extra_body: Body | None = None,
215221
timeout: float | httpx.Timeout | None | NotGiven = not_given,
216222
) -> Optional[MTLSCertificate]:
217-
"""
218-
Fetches a single mTLS certificate.
223+
"""Fetches a single mTLS certificate uploaded to your account.
224+
225+
To get a certificate
226+
issued by the Cloudflare managed CA, use the
227+
[Client Certificate Details endpoint](/api/resources/client_certificates/methods/get/).
219228
220229
Args:
221230
account_id: Identifier.
@@ -289,7 +298,10 @@ async def create(
289298
timeout: float | httpx.Timeout | None | NotGiven = not_given,
290299
) -> Optional[MTLSCertificateCreateResponse]:
291300
"""
292-
Upload a certificate that you want to use with mTLS-enabled Cloudflare services.
301+
Upload a certificate that you want to use with mTLS-enabled Cloudflare services,
302+
such as Bring Your Own CA (BYO-CA) for mTLS. To create certificates issued by
303+
the Cloudflare managed CA, use the
304+
[Create Client Certificate endpoint](/api/resources/client_certificates/methods/create/).
293305
294306
Args:
295307
account_id: Identifier.
@@ -346,7 +358,10 @@ def list(
346358
timeout: float | httpx.Timeout | None | NotGiven = not_given,
347359
) -> AsyncPaginator[MTLSCertificate, AsyncSinglePage[MTLSCertificate]]:
348360
"""
349-
Lists all mTLS certificates.
361+
Lists all mTLS certificates uploaded to your account, such as Bring Your Own CA
362+
(BYO-CA) for mTLS. To list certificates issued by the Cloudflare managed CA, use
363+
the
364+
[List Client Certificates endpoint](/api/resources/client_certificates/methods/list/).
350365
351366
Args:
352367
account_id: Identifier.
@@ -429,8 +444,11 @@ async def get(
429444
extra_body: Body | None = None,
430445
timeout: float | httpx.Timeout | None | NotGiven = not_given,
431446
) -> Optional[MTLSCertificate]:
432-
"""
433-
Fetches a single mTLS certificate.
447+
"""Fetches a single mTLS certificate uploaded to your account.
448+
449+
To get a certificate
450+
issued by the Cloudflare managed CA, use the
451+
[Client Certificate Details endpoint](/api/resources/client_certificates/methods/get/).
434452
435453
Args:
436454
account_id: Identifier.

0 commit comments

Comments
 (0)