diff --git a/CHANGELOG.md b/CHANGELOG.md index a2dfa1b..808255c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog All changes to this project will be documented in this file. +## [1.3.1] - 2024-02-19 +- Update VideoStatusIngest enum + ## [1.3.0] - 2023-06-28 - Introducing new live streams restream feature - Introducing new analytics endpoints diff --git a/apivideo/__init__.py b/apivideo/__init__.py index cea751f..d7f648a 100644 --- a/apivideo/__init__.py +++ b/apivideo/__init__.py @@ -9,7 +9,7 @@ """ -__version__ = "1.3.0" +__version__ = "1.3.1" # import ApiVideoClient from apivideo.auth_api_client import AuthenticatedApiClient diff --git a/apivideo/api_client.py b/apivideo/api_client.py index 84ff277..6090c67 100644 --- a/apivideo/api_client.py +++ b/apivideo/api_client.py @@ -75,7 +75,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie - self.default_headers['AV-Origin-Client'] = "python:1.3.0" + self.default_headers['AV-Origin-Client'] = "python:1.3.1" def __enter__(self): return self diff --git a/apivideo/configuration.py b/apivideo/configuration.py index d15d75f..a322aa3 100644 --- a/apivideo/configuration.py +++ b/apivideo/configuration.py @@ -391,7 +391,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1\n"\ - "SDK Package Version: 1.3.0".\ + "SDK Package Version: 1.3.1".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/apivideo/model/video_status_ingest.py b/apivideo/model/video_status_ingest.py index 6ab8ab7..a3a1559 100644 --- a/apivideo/model/video_status_ingest.py +++ b/apivideo/model/video_status_ingest.py @@ -58,9 +58,10 @@ class VideoStatusIngest(ModelNormal): allowed_values = { ('status',): { - 'MISSING': "missing", 'UPLOADING': "uploading", 'UPLOADED': "uploaded", + 'INGESTING': "ingesting", + 'INGESTED': "ingested", }, } @@ -147,7 +148,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - status (str): There are three possible ingest statuses. missing - you are missing information required to ingest the video. uploading - the video is in the process of being uploaded. uploaded - the video is ready for use.. [optional] # noqa: E501 + status (str): There are four possible statuses depending on how you provide a video file: - `uploading` - the API is gathering the video source file from an upload. - `uploaded` - the video file is fully uploaded. - `ingesting` - the API is gathering the video source file from either a URL, or from cloning. - `ingested` - the video file is fully stored. . [optional] # noqa: E501 filesize (int, none_type): The size of your file in bytes.. [optional] # noqa: E501 received_bytes ([BytesRange]): The total number of bytes received, listed for each chunk of the upload.. [optional] # noqa: E501 received_parts (VideoStatusIngestReceivedParts): [optional] # noqa: E501 diff --git a/docs/VideoStatusIngest.md b/docs/VideoStatusIngest.md index 30fcb75..db4af9b 100644 --- a/docs/VideoStatusIngest.md +++ b/docs/VideoStatusIngest.md @@ -4,7 +4,7 @@ Details about the capturing, transferring, and storing of your video for use imm ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**status** | **str** | There are three possible ingest statuses. missing - you are missing information required to ingest the video. uploading - the video is in the process of being uploaded. uploaded - the video is ready for use. | [optional] +**status** | **str** | There are four possible statuses depending on how you provide a video file: - `uploading` - the API is gathering the video source file from an upload. - `uploaded` - the video file is fully uploaded. - `ingesting` - the API is gathering the video source file from either a URL, or from cloning. - `ingested` - the video file is fully stored. | [optional] **filesize** | **int, none_type** | The size of your file in bytes. | [optional] **received_bytes** | [**[BytesRange]**](BytesRange.md) | The total number of bytes received, listed for each chunk of the upload. | [optional] **received_parts** | [**VideoStatusIngestReceivedParts**](VideoStatusIngestReceivedParts.md) | | [optional] diff --git a/setup.py b/setup.py index 4a502c4..d55510d 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "api.video" -VERSION = "1.3.0" +VERSION = "1.3.1" # To install the library, run the following # # python setup.py install