Skip to content

Commit 6f4f6d7

Browse files
Merge pull request #88 from apivideo/update-video-status-endpoint-description
Update VideoStatusIngest enum descriptions
2 parents 96122a9 + ffd748d commit 6f4f6d7

File tree

7 files changed

+11
-7
lines changed

7 files changed

+11
-7
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Changelog
22
All changes to this project will be documented in this file.
33

4+
## [1.3.1] - 2024-02-19
5+
- Update VideoStatusIngest enum
6+
47
## [1.3.0] - 2023-06-28
58
- Introducing new live streams restream feature
69
- Introducing new analytics endpoints

apivideo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"""
1010

1111

12-
__version__ = "1.3.0"
12+
__version__ = "1.3.1"
1313

1414
# import ApiVideoClient
1515
from apivideo.auth_api_client import AuthenticatedApiClient

apivideo/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7575
self.default_headers[header_name] = header_value
7676
self.cookie = cookie
7777

78-
self.default_headers['AV-Origin-Client'] = "python:1.3.0"
78+
self.default_headers['AV-Origin-Client'] = "python:1.3.1"
7979

8080
def __enter__(self):
8181
return self

apivideo/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def to_debug_report(self):
391391
"OS: {env}\n"\
392392
"Python Version: {pyversion}\n"\
393393
"Version of the API: 1\n"\
394-
"SDK Package Version: 1.3.0".\
394+
"SDK Package Version: 1.3.1".\
395395
format(env=sys.platform, pyversion=sys.version)
396396

397397
def get_host_settings(self):

apivideo/model/video_status_ingest.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@ class VideoStatusIngest(ModelNormal):
5858

5959
allowed_values = {
6060
('status',): {
61-
'MISSING': "missing",
6261
'UPLOADING': "uploading",
6362
'UPLOADED': "uploaded",
63+
'INGESTING': "ingesting",
64+
'INGESTED': "ingested",
6465
},
6566
}
6667

@@ -147,7 +148,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
147148
Animal class but this time we won't travel
148149
through its discriminator because we passed in
149150
_visited_composed_classes = (Animal,)
150-
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
151+
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
151152
filesize (int, none_type): The size of your file in bytes.. [optional] # noqa: E501
152153
received_bytes ([BytesRange]): The total number of bytes received, listed for each chunk of the upload.. [optional] # noqa: E501
153154
received_parts (VideoStatusIngestReceivedParts): [optional] # noqa: E501

docs/VideoStatusIngest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Details about the capturing, transferring, and storing of your video for use imm
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**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]
7+
**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]
88
**filesize** | **int, none_type** | The size of your file in bytes. | [optional]
99
**received_bytes** | [**[BytesRange]**](BytesRange.md) | The total number of bytes received, listed for each chunk of the upload. | [optional]
1010
**received_parts** | [**VideoStatusIngestReceivedParts**](VideoStatusIngestReceivedParts.md) | | [optional]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from setuptools import setup, find_packages # noqa: H301
1111

1212
NAME = "api.video"
13-
VERSION = "1.3.0"
13+
VERSION = "1.3.1"
1414
# To install the library, run the following
1515
#
1616
# python setup.py install

0 commit comments

Comments
 (0)