diff --git a/DO_OPENAPI_COMMIT_SHA.txt b/DO_OPENAPI_COMMIT_SHA.txt index 5494a68..88d95b3 100644 --- a/DO_OPENAPI_COMMIT_SHA.txt +++ b/DO_OPENAPI_COMMIT_SHA.txt @@ -1 +1 @@ -c90af3a +2841ebe diff --git a/src/pydo/aio/operations/_operations.py b/src/pydo/aio/operations/_operations.py index 2207c2b..ae71002 100644 --- a/src/pydo/aio/operations/_operations.py +++ b/src/pydo/aio/operations/_operations.py @@ -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 @@ -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 @@ -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 diff --git a/src/pydo/operations/_operations.py b/src/pydo/operations/_operations.py index 6c5bb2a..f4e367d 100644 --- a/src/pydo/operations/_operations.py +++ b/src/pydo/operations/_operations.py @@ -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 @@ -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 @@ -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