Skip to content
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

[bot] CDN rate limit clarification: Re-Generated From digitalocean/openapi@2841ebe #354

Merged
merged 1 commit into from
Oct 1, 2024
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 DO_OPENAPI_COMMIT_SHA.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c90af3a
2841ebe
24 changes: 15 additions & 9 deletions src/pydo/aio/operations/_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -87776,9 +87776,11 @@ async def purge_cache(
``/v2/cdn/endpoints/$ENDPOINT_ID/cache``. The body of the request should include
a ``files`` attribute containing a list of cached file paths to be purged. A
path may be for a single file or may contain a wildcard (\\ ``*``\\ ) to recursively
purge all files under a directory. When only a wildcard is provided, all
cached files will be purged. There is a rate limit of 50 files per 20 seconds
that can be purged.
purge all files under a directory. When only a wildcard is provided, all cached
files will be purged. There is a rate limit of 50 files per 20 seconds that can
be purged. CDN endpoints have a rate limit of 5 requests per 10 seconds.
Purging files using a wildcard path counts as a single request against the API's
rate limit. Two identical purge requests cannot be sent at the same time.

:param cdn_id: A unique identifier for a CDN endpoint. Required.
:type cdn_id: str
Expand Down Expand Up @@ -87831,9 +87833,11 @@ async def purge_cache(
``/v2/cdn/endpoints/$ENDPOINT_ID/cache``. The body of the request should include
a ``files`` attribute containing a list of cached file paths to be purged. A
path may be for a single file or may contain a wildcard (\\ ``*``\\ ) to recursively
purge all files under a directory. When only a wildcard is provided, all
cached files will be purged. There is a rate limit of 50 files per 20 seconds
that can be purged.
purge all files under a directory. When only a wildcard is provided, all cached
files will be purged. There is a rate limit of 50 files per 20 seconds that can
be purged. CDN endpoints have a rate limit of 5 requests per 10 seconds.
Purging files using a wildcard path counts as a single request against the API's
rate limit. Two identical purge requests cannot be sent at the same time.

:param cdn_id: A unique identifier for a CDN endpoint. Required.
:type cdn_id: str
Expand Down Expand Up @@ -87873,9 +87877,11 @@ async def purge_cache(
``/v2/cdn/endpoints/$ENDPOINT_ID/cache``. The body of the request should include
a ``files`` attribute containing a list of cached file paths to be purged. A
path may be for a single file or may contain a wildcard (\\ ``*``\\ ) to recursively
purge all files under a directory. When only a wildcard is provided, all
cached files will be purged. There is a rate limit of 50 files per 20 seconds
that can be purged.
purge all files under a directory. When only a wildcard is provided, all cached
files will be purged. There is a rate limit of 50 files per 20 seconds that can
be purged. CDN endpoints have a rate limit of 5 requests per 10 seconds.
Purging files using a wildcard path counts as a single request against the API's
rate limit. Two identical purge requests cannot be sent at the same time.

:param cdn_id: A unique identifier for a CDN endpoint. Required.
:type cdn_id: str
Expand Down
24 changes: 15 additions & 9 deletions src/pydo/operations/_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -95602,9 +95602,11 @@ def purge_cache(
``/v2/cdn/endpoints/$ENDPOINT_ID/cache``. The body of the request should include
a ``files`` attribute containing a list of cached file paths to be purged. A
path may be for a single file or may contain a wildcard (\\ ``*``\\ ) to recursively
purge all files under a directory. When only a wildcard is provided, all
cached files will be purged. There is a rate limit of 50 files per 20 seconds
that can be purged.
purge all files under a directory. When only a wildcard is provided, all cached
files will be purged. There is a rate limit of 50 files per 20 seconds that can
be purged. CDN endpoints have a rate limit of 5 requests per 10 seconds.
Purging files using a wildcard path counts as a single request against the API's
rate limit. Two identical purge requests cannot be sent at the same time.

:param cdn_id: A unique identifier for a CDN endpoint. Required.
:type cdn_id: str
Expand Down Expand Up @@ -95657,9 +95659,11 @@ def purge_cache(
``/v2/cdn/endpoints/$ENDPOINT_ID/cache``. The body of the request should include
a ``files`` attribute containing a list of cached file paths to be purged. A
path may be for a single file or may contain a wildcard (\\ ``*``\\ ) to recursively
purge all files under a directory. When only a wildcard is provided, all
cached files will be purged. There is a rate limit of 50 files per 20 seconds
that can be purged.
purge all files under a directory. When only a wildcard is provided, all cached
files will be purged. There is a rate limit of 50 files per 20 seconds that can
be purged. CDN endpoints have a rate limit of 5 requests per 10 seconds.
Purging files using a wildcard path counts as a single request against the API's
rate limit. Two identical purge requests cannot be sent at the same time.

:param cdn_id: A unique identifier for a CDN endpoint. Required.
:type cdn_id: str
Expand Down Expand Up @@ -95699,9 +95703,11 @@ def purge_cache(
``/v2/cdn/endpoints/$ENDPOINT_ID/cache``. The body of the request should include
a ``files`` attribute containing a list of cached file paths to be purged. A
path may be for a single file or may contain a wildcard (\\ ``*``\\ ) to recursively
purge all files under a directory. When only a wildcard is provided, all
cached files will be purged. There is a rate limit of 50 files per 20 seconds
that can be purged.
purge all files under a directory. When only a wildcard is provided, all cached
files will be purged. There is a rate limit of 50 files per 20 seconds that can
be purged. CDN endpoints have a rate limit of 5 requests per 10 seconds.
Purging files using a wildcard path counts as a single request against the API's
rate limit. Two identical purge requests cannot be sent at the same time.

:param cdn_id: A unique identifier for a CDN endpoint. Required.
:type cdn_id: str
Expand Down
Loading