diff --git a/README.md b/README.md index d48b710..94da7ed 100644 --- a/README.md +++ b/README.md @@ -269,6 +269,7 @@ Method | HTTP request | Description - [RestreamsResponseObject](https://github.com/apivideo/api.video-python-client/blob/main/docs/RestreamsResponseObject.md) - [TokenCreationPayload](https://github.com/apivideo/api.video-python-client/blob/main/docs/TokenCreationPayload.md) - [TokenListResponse](https://github.com/apivideo/api.video-python-client/blob/main/docs/TokenListResponse.md) + - [TooManyRequests](https://github.com/apivideo/api.video-python-client/blob/main/docs/TooManyRequests.md) - [UploadToken](https://github.com/apivideo/api.video-python-client/blob/main/docs/UploadToken.md) - [Video](https://github.com/apivideo/api.video-python-client/blob/main/docs/Video.md) - [VideoAssets](https://github.com/apivideo/api.video-python-client/blob/main/docs/VideoAssets.md) diff --git a/apivideo/api/analytics_api.py b/apivideo/api/analytics_api.py index db41f91..d1eeda8 100644 --- a/apivideo/api/analytics_api.py +++ b/apivideo/api/analytics_api.py @@ -29,6 +29,7 @@ from apivideo.model.analytics_plays_response import AnalyticsPlaysResponse from apivideo.model.model403_error_schema import Model403ErrorSchema from apivideo.model.not_found import NotFound +from apivideo.model.too_many_requests import TooManyRequests class AnalyticsApi(_EndPoint): diff --git a/apivideo/api/captions_api.py b/apivideo/api/captions_api.py index f2172a0..9358f7e 100644 --- a/apivideo/api/captions_api.py +++ b/apivideo/api/captions_api.py @@ -30,6 +30,7 @@ from apivideo.model.captions_list_response import CaptionsListResponse from apivideo.model.captions_update_payload import CaptionsUpdatePayload from apivideo.model.not_found import NotFound +from apivideo.model.too_many_requests import TooManyRequests class CaptionsApi(_EndPoint): diff --git a/apivideo/api/chapters_api.py b/apivideo/api/chapters_api.py index 15acdd5..6d3acbc 100644 --- a/apivideo/api/chapters_api.py +++ b/apivideo/api/chapters_api.py @@ -29,6 +29,7 @@ from apivideo.model.chapter import Chapter from apivideo.model.chapters_list_response import ChaptersListResponse from apivideo.model.not_found import NotFound +from apivideo.model.too_many_requests import TooManyRequests class ChaptersApi(_EndPoint): diff --git a/apivideo/api/live_streams_api.py b/apivideo/api/live_streams_api.py index 7533866..48d960f 100644 --- a/apivideo/api/live_streams_api.py +++ b/apivideo/api/live_streams_api.py @@ -31,6 +31,7 @@ from apivideo.model.live_stream_list_response import LiveStreamListResponse from apivideo.model.live_stream_update_payload import LiveStreamUpdatePayload from apivideo.model.not_found import NotFound +from apivideo.model.too_many_requests import TooManyRequests class LiveStreamsApi(_EndPoint): diff --git a/apivideo/api/player_themes_api.py b/apivideo/api/player_themes_api.py index 467db22..31e9f4f 100644 --- a/apivideo/api/player_themes_api.py +++ b/apivideo/api/player_themes_api.py @@ -31,6 +31,7 @@ from apivideo.model.player_theme_creation_payload import PlayerThemeCreationPayload from apivideo.model.player_theme_update_payload import PlayerThemeUpdatePayload from apivideo.model.player_themes_list_response import PlayerThemesListResponse +from apivideo.model.too_many_requests import TooManyRequests class PlayerThemesApi(_EndPoint): diff --git a/apivideo/api/upload_tokens_api.py b/apivideo/api/upload_tokens_api.py index a8c1424..e4062ef 100644 --- a/apivideo/api/upload_tokens_api.py +++ b/apivideo/api/upload_tokens_api.py @@ -29,6 +29,7 @@ from apivideo.model.not_found import NotFound from apivideo.model.token_creation_payload import TokenCreationPayload from apivideo.model.token_list_response import TokenListResponse +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.upload_token import UploadToken diff --git a/apivideo/api/videos_api.py b/apivideo/api/videos_api.py index a8a2673..4acacb4 100644 --- a/apivideo/api/videos_api.py +++ b/apivideo/api/videos_api.py @@ -27,6 +27,7 @@ from apivideo.exceptions import ApiTypeError, ApiValueError from apivideo.model.bad_request import BadRequest from apivideo.model.not_found import NotFound +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.video import Video from apivideo.model.video_creation_payload import VideoCreationPayload from apivideo.model.video_status import VideoStatus diff --git a/apivideo/api/watermarks_api.py b/apivideo/api/watermarks_api.py index ae16c19..98e3121 100644 --- a/apivideo/api/watermarks_api.py +++ b/apivideo/api/watermarks_api.py @@ -27,6 +27,7 @@ from apivideo.exceptions import ApiTypeError, ApiValueError from apivideo.model.bad_request import BadRequest from apivideo.model.not_found import NotFound +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.watermark import Watermark from apivideo.model.watermarks_list_response import WatermarksListResponse diff --git a/apivideo/api/webhooks_api.py b/apivideo/api/webhooks_api.py index e9cd832..43356e9 100644 --- a/apivideo/api/webhooks_api.py +++ b/apivideo/api/webhooks_api.py @@ -27,6 +27,7 @@ from apivideo.exceptions import ApiTypeError, ApiValueError from apivideo.model.bad_request import BadRequest from apivideo.model.not_found import NotFound +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.webhook import Webhook from apivideo.model.webhooks_creation_payload import WebhooksCreationPayload from apivideo.model.webhooks_list_response import WebhooksListResponse diff --git a/apivideo/model/too_many_requests.py b/apivideo/model/too_many_requests.py new file mode 100644 index 0000000..ad42a50 --- /dev/null +++ b/apivideo/model/too_many_requests.py @@ -0,0 +1,171 @@ +""" + api.video + + api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. # noqa: E501 + + Contact: ecosystem@api.video +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apivideo.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, +) + + +class TooManyRequests(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'type': (str,), # noqa: E501 + 'title': (str,), # noqa: E501 + 'status': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'title': 'title', # noqa: E501 + 'status': 'status', # noqa: E501 + } + + _composed_schemas = {} + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """TooManyRequests - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str): A link to the error documentation.. [optional] # noqa: E501 + title (str): A description of the error that occurred.. [optional] # noqa: E501 + status (int): The HTTP status code.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) diff --git a/docs/AnalyticsApi.md b/docs/AnalyticsApi.md index 7e5fabe..a5cd767 100644 --- a/docs/AnalyticsApi.md +++ b/docs/AnalyticsApi.md @@ -21,6 +21,7 @@ Retrieve filtered analytics about the number of plays for your live streams in a import apivideo from apivideo.api import analytics_api from apivideo.model.model403_error_schema import Model403ErrorSchema +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.analytics_plays_response import AnalyticsPlaysResponse from apivideo.model.not_found import NotFound from apivideo.model.analytics_plays400_error import AnalyticsPlays400Error @@ -81,10 +82,11 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad request error | - | -**403** | Forbidden - Disabled Analytics | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad request error | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**403** | Forbidden - Disabled Analytics | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -101,6 +103,7 @@ Retrieve filtered analytics about the number of plays for your videos in a proje import apivideo from apivideo.api import analytics_api from apivideo.model.model403_error_schema import Model403ErrorSchema +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.analytics_plays_response import AnalyticsPlaysResponse from apivideo.model.not_found import NotFound from apivideo.model.analytics_plays400_error import AnalyticsPlays400Error @@ -161,10 +164,11 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad request error | - | -**403** | Forbidden - Disabled Analytics | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad request error | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**403** | Forbidden - Disabled Analytics | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/CaptionsApi.md b/docs/CaptionsApi.md index 6145dfc..e95a127 100644 --- a/docs/CaptionsApi.md +++ b/docs/CaptionsApi.md @@ -23,6 +23,7 @@ Upload a VTT file to add captions to your video. More information can be found [ ```python import apivideo from apivideo.api import captions_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.not_found import NotFound from apivideo.model.caption import Caption @@ -68,9 +69,10 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad request error | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad request error | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -88,6 +90,7 @@ Tutorials that use the [captions endpoint](https://api.video/blog/endpoints/capt ```python import apivideo from apivideo.api import captions_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.not_found import NotFound from apivideo.model.caption import Caption @@ -131,9 +134,10 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad request error | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad request error | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -149,6 +153,7 @@ To have the captions on automatically, use this method to set default: true. ```python import apivideo from apivideo.api import captions_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.captions_update_payload import CaptionsUpdatePayload from apivideo.model.not_found import NotFound @@ -197,9 +202,10 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad request error | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad request error | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -215,6 +221,7 @@ Delete a caption in a specific language by by video id. ```python import apivideo from apivideo.api import captions_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.not_found import NotFound from pprint import pprint @@ -256,9 +263,10 @@ void (empty response body) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | -**400** | Bad request error | - | -**404** | Not Found | - | +**204** | No Content | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad request error | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -274,6 +282,7 @@ Retrieve a list of available captions by video id. ```python import apivideo from apivideo.api import captions_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.not_found import NotFound from apivideo.model.captions_list_response import CaptionsListResponse from pprint import pprint @@ -327,8 +336,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/ChaptersApi.md b/docs/ChaptersApi.md index 6d91c9b..817ac96 100644 --- a/docs/ChaptersApi.md +++ b/docs/ChaptersApi.md @@ -22,6 +22,7 @@ Upload a VTT file to add chapters to your video. Chapters help break the video i ```python import apivideo from apivideo.api import chapters_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.not_found import NotFound from apivideo.model.chapter import Chapter @@ -67,9 +68,10 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad Request | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -85,6 +87,7 @@ Retrieve a chapter for by video id in a specific language. ```python import apivideo from apivideo.api import chapters_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.not_found import NotFound from apivideo.model.chapter import Chapter from pprint import pprint @@ -127,8 +130,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -144,6 +148,7 @@ Delete a chapter in a specific language by providing the video ID for the video ```python import apivideo from apivideo.api import chapters_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.not_found import NotFound from pprint import pprint @@ -184,8 +189,9 @@ void (empty response body) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | -**404** | Not Found | - | +**204** | No Content | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -201,6 +207,7 @@ Retrieve a list of all chapters for by video id. ```python import apivideo from apivideo.api import chapters_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.not_found import NotFound from apivideo.model.chapters_list_response import ChaptersListResponse from pprint import pprint @@ -254,8 +261,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/LiveStreamsApi.md b/docs/LiveStreamsApi.md index 03ca4c3..5679f9d 100644 --- a/docs/LiveStreamsApi.md +++ b/docs/LiveStreamsApi.md @@ -25,6 +25,7 @@ Creates a livestream object. ```python import apivideo from apivideo.api import live_streams_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.live_stream_creation_payload import LiveStreamCreationPayload from apivideo.model.live_stream import LiveStream @@ -77,8 +78,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad Request | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -94,6 +96,7 @@ Get a livestream by id. ```python import apivideo from apivideo.api import live_streams_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.live_stream import LiveStream from pprint import pprint @@ -133,7 +136,8 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -149,6 +153,7 @@ Updates the livestream object. ```python import apivideo from apivideo.api import live_streams_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.live_stream_update_payload import LiveStreamUpdatePayload from apivideo.model.live_stream import LiveStream @@ -203,8 +208,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad Request | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -220,6 +226,7 @@ If you do not need a live stream any longer, you can send a request to delete it ```python import apivideo from apivideo.api import live_streams_api +from apivideo.model.too_many_requests import TooManyRequests from pprint import pprint # Enter a context with an instance of the API client @@ -251,13 +258,14 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**204** | No Content | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -273,6 +281,7 @@ Get the list of livestreams on the workspace. ```python import apivideo from apivideo.api import live_streams_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.live_stream_list_response import LiveStreamListResponse from pprint import pprint @@ -323,7 +332,8 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -339,6 +349,7 @@ Upload the thumbnail for the livestream. ```python import apivideo from apivideo.api import live_streams_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.not_found import NotFound from apivideo.model.live_stream import LiveStream @@ -382,9 +393,10 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Created | - | -**400** | Bad Request | - | -**404** | Not Found | - | +**201** | Created | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad Request | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -400,6 +412,7 @@ Send the unique identifier for a live stream to delete its thumbnail. ```python import apivideo from apivideo.api import live_streams_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.not_found import NotFound from apivideo.model.live_stream import LiveStream from pprint import pprint @@ -440,8 +453,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/PlayerThemesApi.md b/docs/PlayerThemesApi.md index 1cf3d19..5ec8578 100644 --- a/docs/PlayerThemesApi.md +++ b/docs/PlayerThemesApi.md @@ -26,6 +26,7 @@ Create a player for your video, and customise it. import apivideo from apivideo.api import player_themes_api from apivideo.model.player_theme_creation_payload import PlayerThemeCreationPayload +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.player_theme import PlayerTheme from pprint import pprint @@ -82,7 +83,8 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Created | - | +**201** | Created | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -98,6 +100,7 @@ Retreive a player theme by player id. ```python import apivideo from apivideo.api import player_themes_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.not_found import NotFound from apivideo.model.player_theme import PlayerTheme from pprint import pprint @@ -138,8 +141,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -155,6 +159,7 @@ Use a player ID to update specific details for a player. NOTE: It may take up t ```python import apivideo from apivideo.api import player_themes_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.not_found import NotFound from apivideo.model.player_theme import PlayerTheme from apivideo.model.player_theme_update_payload import PlayerThemeUpdatePayload @@ -215,8 +220,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -232,6 +238,7 @@ Delete a player if you no longer need it. You can delete any player that you hav ```python import apivideo from apivideo.api import player_themes_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.not_found import NotFound from pprint import pprint @@ -270,8 +277,9 @@ void (empty response body) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | -**404** | Not Found | - | +**204** | No Content | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -287,6 +295,7 @@ Retrieve a list of all the player themes you created, as well as details about e ```python import apivideo from apivideo.api import player_themes_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.player_themes_list_response import PlayerThemesListResponse from pprint import pprint @@ -334,8 +343,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad Request | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -351,6 +361,7 @@ Upload an image file as a logo for your player. The image should fit within thes ```python import apivideo from apivideo.api import player_themes_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.not_found import NotFound from apivideo.model.player_theme import PlayerTheme @@ -405,9 +416,10 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Created | - | -**400** | Bad Request | - | -**404** | Not Found | - | +**201** | Created | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad Request | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -423,6 +435,7 @@ Delete the logo associated to a player. ```python import apivideo from apivideo.api import player_themes_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.not_found import NotFound from pprint import pprint @@ -461,8 +474,9 @@ void (empty response body) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | -**404** | Not Found | - | +**204** | No Content | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/TooManyRequests.md b/docs/TooManyRequests.md new file mode 100644 index 0000000..a4745fb --- /dev/null +++ b/docs/TooManyRequests.md @@ -0,0 +1,12 @@ +# TooManyRequests + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | A link to the error documentation. | [optional] +**title** | **str** | A description of the error that occurred. | [optional] +**status** | **int** | The HTTP status code. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UploadTokensApi.md b/docs/UploadTokensApi.md index 0b1c3a7..95f4bf1 100644 --- a/docs/UploadTokensApi.md +++ b/docs/UploadTokensApi.md @@ -22,6 +22,7 @@ Generates an upload token that can be used to replace the API Key. More informat ```python import apivideo from apivideo.api import upload_tokens_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.upload_token import UploadToken from apivideo.model.token_creation_payload import TokenCreationPayload @@ -65,8 +66,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad Request | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -82,6 +84,7 @@ Retrieve details about a specific upload token by id. ```python import apivideo from apivideo.api import upload_tokens_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.not_found import NotFound from apivideo.model.upload_token import UploadToken from pprint import pprint @@ -122,8 +125,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -139,6 +143,7 @@ Delete an existing upload token. This is especially useful for tokens you may ha ```python import apivideo from apivideo.api import upload_tokens_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.not_found import NotFound from pprint import pprint @@ -177,8 +182,9 @@ void (empty response body) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | -**404** | Not Found | - | +**204** | No Content | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -194,6 +200,7 @@ Retrieve a list of all currently active delegated tokens. ```python import apivideo from apivideo.api import upload_tokens_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.token_list_response import TokenListResponse from pprint import pprint @@ -240,7 +247,8 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/VideosApi.md b/docs/VideosApi.md index 1af8e87..9fc2906 100644 --- a/docs/VideosApi.md +++ b/docs/VideosApi.md @@ -28,6 +28,7 @@ Creates a video object. More information on video objects can be found [here](ht ```python import apivideo from apivideo.api import videos_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.video_creation_payload import VideoCreationPayload from apivideo.model.bad_request import BadRequest from apivideo.model.video import Video @@ -98,9 +99,10 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Created | - | -**202** | Accepted | - | -**400** | Bad Request | - | +**201** | Created | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**202** | Accepted | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad Request | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -134,6 +136,7 @@ The latter allows you to split a video source into X chunks and send those chunk ```python import apivideo from apivideo.api import videos_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.not_found import NotFound from apivideo.model.video import Video @@ -205,9 +208,10 @@ part3.close() ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Created | - | -**400** | Bad Request | - | -**404** | Not Found | - | +**201** | Created | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad Request | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -223,6 +227,7 @@ This method allows you to send a video using an upload token. Upload tokens are ```python import apivideo from apivideo.api import videos_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.video import Video from apivideo.configuration import Configuration @@ -304,8 +309,9 @@ part3.close() ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Created | - | -**400** | Bad Request | - | +**201** | Created | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad Request | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -321,6 +327,7 @@ This call provides the same information provided on video creation. For private ```python import apivideo from apivideo.api import videos_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.not_found import NotFound from apivideo.model.video import Video from pprint import pprint @@ -361,8 +368,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -384,6 +392,7 @@ NOTE: If you are updating an array, you must provide the entire array as what yo ```python import apivideo from apivideo.api import videos_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.video_update_payload import VideoUpdatePayload from apivideo.model.bad_request import BadRequest from apivideo.model.not_found import NotFound @@ -442,9 +451,10 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad Request | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -460,6 +470,7 @@ If you do not need a video any longer, you can send a request to delete it. All ```python import apivideo from apivideo.api import videos_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.not_found import NotFound from pprint import pprint @@ -498,8 +509,9 @@ void (empty response body) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | -**404** | Not Found | - | +**204** | No Content | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -515,6 +527,7 @@ This method returns a list of your videos (with all their details). With no para ```python import apivideo from apivideo.api import videos_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.videos_list_response import VideosListResponse from apivideo.model.bad_request import BadRequest from pprint import pprint @@ -574,8 +587,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad Request | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -603,6 +617,7 @@ Note: There may be a short delay before the new thumbnail is delivered to our CD ```python import apivideo from apivideo.api import videos_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.not_found import NotFound from apivideo.model.video import Video @@ -646,9 +661,10 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad Request | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -674,6 +690,7 @@ There may be a short delay for the thumbnail to update. ```python import apivideo from apivideo.api import videos_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.video_thumbnail_pick_payload import VideoThumbnailPickPayload from apivideo.model.not_found import NotFound from apivideo.model.video import Video @@ -719,8 +736,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -736,6 +754,7 @@ This method provides upload status & encoding status to determine when the video ```python import apivideo from apivideo.api import videos_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.video_status import VideoStatus from apivideo.model.not_found import NotFound from pprint import pprint @@ -776,8 +795,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**404** | Not Found | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/WatermarksApi.md b/docs/WatermarksApi.md index 22be126..5e42a4f 100644 --- a/docs/WatermarksApi.md +++ b/docs/WatermarksApi.md @@ -21,6 +21,7 @@ Create a new watermark by uploading a `JPG` or a `PNG` image. ```python import apivideo from apivideo.api import watermarks_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.watermark import Watermark from pprint import pprint @@ -61,8 +62,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad Request | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -78,6 +80,7 @@ Delete a watermark. ```python import apivideo from apivideo.api import watermarks_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.not_found import NotFound from pprint import pprint @@ -116,8 +119,9 @@ void (empty response body) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | -**404** | Not Found | - | +**204** | No Content | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -133,6 +137,7 @@ List all watermarks associated with your workspace. ```python import apivideo from apivideo.api import watermarks_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.watermarks_list_response import WatermarksListResponse from pprint import pprint @@ -180,8 +185,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad Request | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/WebhooksApi.md b/docs/WebhooksApi.md index bf41a7c..c0dfa8b 100644 --- a/docs/WebhooksApi.md +++ b/docs/WebhooksApi.md @@ -22,6 +22,7 @@ Webhooks can push notifications to your server, rather than polling api.video fo ```python import apivideo from apivideo.api import webhooks_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.bad_request import BadRequest from apivideo.model.webhook import Webhook from apivideo.model.webhooks_creation_payload import WebhooksCreationPayload @@ -66,8 +67,9 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Created | - | -**400** | Bad Request | - | +**201** | Created | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**400** | Bad Request | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -83,6 +85,7 @@ Retrieve webhook details by id. ```python import apivideo from apivideo.api import webhooks_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.webhook import Webhook from pprint import pprint @@ -122,7 +125,8 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -138,6 +142,7 @@ This method will delete the indicated webhook. ```python import apivideo from apivideo.api import webhooks_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.not_found import NotFound from pprint import pprint @@ -176,8 +181,9 @@ void (empty response body) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | -**404** | Not Found | - | +**204** | No Content | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**404** | Not Found | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -195,6 +201,7 @@ You can filter what the webhook list that the API returns using the parameters d ```python import apivideo from apivideo.api import webhooks_api +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.webhooks_list_response import WebhooksListResponse from pprint import pprint @@ -239,7 +246,8 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | +**200** | Success | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| +**429** | Too Many Requests | * X-RateLimit-Limit - The request limit per minute.
* X-RateLimit-Remaining - The number of available requests left for the current time window.
* X-RateLimit-Retry-After - The number of seconds left until the current rate limit window resets.
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/test/payloads/analytics/get_live_streams_plays/responses/429.json b/test/payloads/analytics/get_live_streams_plays/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/analytics/get_live_streams_plays/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/analytics/get_videos_plays/responses/429.json b/test/payloads/analytics/get_videos_plays/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/analytics/get_videos_plays/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/captions/delete/responses/429.json b/test/payloads/captions/delete/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/captions/delete/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/captions/get/responses/429.json b/test/payloads/captions/get/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/captions/get/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/captions/list/responses/429.json b/test/payloads/captions/list/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/captions/list/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/captions/update/responses/429.json b/test/payloads/captions/update/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/captions/update/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/captions/upload/responses/429.json b/test/payloads/captions/upload/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/captions/upload/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/chapters/delete/responses/429.json b/test/payloads/chapters/delete/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/chapters/delete/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/chapters/get/responses/429.json b/test/payloads/chapters/get/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/chapters/get/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/chapters/list/responses/429.json b/test/payloads/chapters/list/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/chapters/list/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/chapters/upload/responses/429.json b/test/payloads/chapters/upload/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/chapters/upload/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/live_streams/create/responses/429.json b/test/payloads/live_streams/create/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/live_streams/create/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/live_streams/delete/responses/429.json b/test/payloads/live_streams/delete/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/live_streams/delete/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/live_streams/delete_thumbnail/responses/429.json b/test/payloads/live_streams/delete_thumbnail/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/live_streams/delete_thumbnail/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/live_streams/get/responses/429.json b/test/payloads/live_streams/get/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/live_streams/get/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/live_streams/list/responses/429.json b/test/payloads/live_streams/list/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/live_streams/list/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/live_streams/update/responses/429.json b/test/payloads/live_streams/update/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/live_streams/update/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/live_streams/upload_thumbnail/responses/429.json b/test/payloads/live_streams/upload_thumbnail/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/live_streams/upload_thumbnail/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/player_themes/create/responses/429.json b/test/payloads/player_themes/create/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/player_themes/create/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/player_themes/delete/responses/429.json b/test/payloads/player_themes/delete/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/player_themes/delete/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/player_themes/delete_logo/responses/429.json b/test/payloads/player_themes/delete_logo/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/player_themes/delete_logo/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/player_themes/get/responses/429.json b/test/payloads/player_themes/get/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/player_themes/get/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/player_themes/list/responses/429.json b/test/payloads/player_themes/list/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/player_themes/list/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/player_themes/update/responses/429.json b/test/payloads/player_themes/update/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/player_themes/update/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/player_themes/upload_logo/responses/429.json b/test/payloads/player_themes/upload_logo/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/player_themes/upload_logo/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/upload_tokens/create_token/responses/429.json b/test/payloads/upload_tokens/create_token/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/upload_tokens/create_token/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/upload_tokens/delete_token/responses/429.json b/test/payloads/upload_tokens/delete_token/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/upload_tokens/delete_token/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/upload_tokens/get_token/responses/429.json b/test/payloads/upload_tokens/get_token/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/upload_tokens/get_token/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/upload_tokens/list/responses/429.json b/test/payloads/upload_tokens/list/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/upload_tokens/list/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/videos/create/responses/429.json b/test/payloads/videos/create/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/videos/create/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/videos/delete/responses/429.json b/test/payloads/videos/delete/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/videos/delete/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/videos/get/responses/429.json b/test/payloads/videos/get/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/videos/get/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/videos/get_status/responses/429.json b/test/payloads/videos/get_status/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/videos/get_status/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/videos/list/responses/429.json b/test/payloads/videos/list/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/videos/list/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/videos/pick_thumbnail/responses/429.json b/test/payloads/videos/pick_thumbnail/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/videos/pick_thumbnail/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/videos/update/responses/429.json b/test/payloads/videos/update/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/videos/update/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/videos/upload/responses/429.json b/test/payloads/videos/upload/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/videos/upload/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/videos/upload_thumbnail/responses/429.json b/test/payloads/videos/upload_thumbnail/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/videos/upload_thumbnail/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/videos/upload_with_upload_token/responses/429.json b/test/payloads/videos/upload_with_upload_token/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/videos/upload_with_upload_token/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/watermarks/delete/responses/429.json b/test/payloads/watermarks/delete/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/watermarks/delete/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/watermarks/list/responses/429.json b/test/payloads/watermarks/list/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/watermarks/list/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/watermarks/upload/responses/429.json b/test/payloads/watermarks/upload/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/watermarks/upload/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/webhooks/create/responses/429.json b/test/payloads/webhooks/create/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/webhooks/create/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/webhooks/delete/responses/429.json b/test/payloads/webhooks/delete/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/webhooks/delete/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/webhooks/get/responses/429.json b/test/payloads/webhooks/get/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/webhooks/get/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/payloads/webhooks/list/responses/429.json b/test/payloads/webhooks/list/responses/429.json new file mode 100644 index 0000000..d312e2b --- /dev/null +++ b/test/payloads/webhooks/list/responses/429.json @@ -0,0 +1,5 @@ +{ + "type" : "https://docs.api.video/reference/too-many-requests", + "title" : "Too many requests.", + "status" : 429 +} \ No newline at end of file diff --git a/test/test_analytics_api.py b/test/test_analytics_api.py index 3aab398..a9e49b1 100644 --- a/test/test_analytics_api.py +++ b/test/test_analytics_api.py @@ -20,6 +20,7 @@ from apivideo.model.analytics_plays_response import AnalyticsPlaysResponse from apivideo.model.model403_error_schema import Model403ErrorSchema from apivideo.model.not_found import NotFound +from apivideo.model.too_many_requests import TooManyRequests from helper import MainTest diff --git a/test/test_captions_api.py b/test/test_captions_api.py index a25a04d..c0a5d99 100644 --- a/test/test_captions_api.py +++ b/test/test_captions_api.py @@ -21,6 +21,7 @@ from apivideo.model.captions_list_response import CaptionsListResponse from apivideo.model.captions_update_payload import CaptionsUpdatePayload from apivideo.model.not_found import NotFound +from apivideo.model.too_many_requests import TooManyRequests from helper import MainTest diff --git a/test/test_chapters_api.py b/test/test_chapters_api.py index ea969ab..128c9e7 100644 --- a/test/test_chapters_api.py +++ b/test/test_chapters_api.py @@ -20,6 +20,7 @@ from apivideo.model.chapter import Chapter from apivideo.model.chapters_list_response import ChaptersListResponse from apivideo.model.not_found import NotFound +from apivideo.model.too_many_requests import TooManyRequests from helper import MainTest diff --git a/test/test_live_streams_api.py b/test/test_live_streams_api.py index 690018f..1c4d811 100644 --- a/test/test_live_streams_api.py +++ b/test/test_live_streams_api.py @@ -22,6 +22,7 @@ from apivideo.model.live_stream_list_response import LiveStreamListResponse from apivideo.model.live_stream_update_payload import LiveStreamUpdatePayload from apivideo.model.not_found import NotFound +from apivideo.model.too_many_requests import TooManyRequests from helper import MainTest diff --git a/test/test_player_themes_api.py b/test/test_player_themes_api.py index 61080e0..f9b6936 100644 --- a/test/test_player_themes_api.py +++ b/test/test_player_themes_api.py @@ -22,6 +22,7 @@ from apivideo.model.player_theme_creation_payload import PlayerThemeCreationPayload from apivideo.model.player_theme_update_payload import PlayerThemeUpdatePayload from apivideo.model.player_themes_list_response import PlayerThemesListResponse +from apivideo.model.too_many_requests import TooManyRequests from helper import MainTest diff --git a/test/test_upload_tokens_api.py b/test/test_upload_tokens_api.py index 4b42a2a..3f5e312 100644 --- a/test/test_upload_tokens_api.py +++ b/test/test_upload_tokens_api.py @@ -20,6 +20,7 @@ from apivideo.model.not_found import NotFound from apivideo.model.token_creation_payload import TokenCreationPayload from apivideo.model.token_list_response import TokenListResponse +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.upload_token import UploadToken from helper import MainTest diff --git a/test/test_videos_api.py b/test/test_videos_api.py index fcb3229..05e52fa 100644 --- a/test/test_videos_api.py +++ b/test/test_videos_api.py @@ -18,6 +18,7 @@ from apivideo.model.bad_request import BadRequest from apivideo.model.not_found import NotFound +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.video import Video from apivideo.model.video_creation_payload import VideoCreationPayload from apivideo.model.video_status import VideoStatus diff --git a/test/test_watermarks_api.py b/test/test_watermarks_api.py index 6d6de1e..7e57a34 100644 --- a/test/test_watermarks_api.py +++ b/test/test_watermarks_api.py @@ -18,6 +18,7 @@ from apivideo.model.bad_request import BadRequest from apivideo.model.not_found import NotFound +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.watermark import Watermark from apivideo.model.watermarks_list_response import WatermarksListResponse diff --git a/test/test_webhooks_api.py b/test/test_webhooks_api.py index 69c4d4d..a9edbe3 100644 --- a/test/test_webhooks_api.py +++ b/test/test_webhooks_api.py @@ -18,6 +18,7 @@ from apivideo.model.bad_request import BadRequest from apivideo.model.not_found import NotFound +from apivideo.model.too_many_requests import TooManyRequests from apivideo.model.webhook import Webhook from apivideo.model.webhooks_creation_payload import WebhooksCreationPayload from apivideo.model.webhooks_list_response import WebhooksListResponse