Skip to content

feat(api): api update #2531

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1610
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-f353fb6c40faa2fe33f397fc26931746c1f2b0847c351d430982c192ac3ed50b.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a12181ca63b025eede38ed1d247317c04b78470605ae6f255595d39888cbbb20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def update(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> Optional[SecretUpdateResponse]:
"""
Put secrets to a script uploaded to a Workers for Platforms namespace.
Add a secret to a script uploaded to a Workers for Platforms namespace.
Args:
account_id: Identifier
Expand Down Expand Up @@ -132,7 +132,7 @@ def list(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> SyncSinglePage[SecretListResponse]:
"""
List secrets from a script uploaded to a Workers for Platforms namespace.
List secrets bound to a script uploaded to a Workers for Platforms namespace.
Args:
account_id: Identifier
Expand Down Expand Up @@ -179,7 +179,8 @@ def get(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> Optional[SecretGetResponse]:
"""
Get secret from a script uploaded to a Workers for Platforms namespace.
Get a given secret binding (value omitted) on a script uploaded to a Workers for
Platforms namespace.
Args:
account_id: Identifier
Expand Down Expand Up @@ -256,7 +257,7 @@ async def update(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> Optional[SecretUpdateResponse]:
"""
Put secrets to a script uploaded to a Workers for Platforms namespace.
Add a secret to a script uploaded to a Workers for Platforms namespace.
Args:
account_id: Identifier
Expand Down Expand Up @@ -320,7 +321,7 @@ def list(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> AsyncPaginator[SecretListResponse, AsyncSinglePage[SecretListResponse]]:
"""
List secrets from a script uploaded to a Workers for Platforms namespace.
List secrets bound to a script uploaded to a Workers for Platforms namespace.
Args:
account_id: Identifier
Expand Down Expand Up @@ -367,7 +368,8 @@ async def get(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> Optional[SecretGetResponse]:
"""
Get secret from a script uploaded to a Workers for Platforms namespace.
Get a given secret binding (value omitted) on a script uploaded to a Workers for
Platforms namespace.
Args:
account_id: Identifier
Expand Down