Skip to content

Commit c8359d0

Browse files
Merge pull request #89 from apivideo/update-video-status-endpoint-description
Update VideoStatusIngest enum descriptions
2 parents ffdd3b0 + 8177e69 commit c8359d0

File tree

5 files changed

+15
-9
lines changed

5 files changed

+15
-9
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

api/openapi.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11987,14 +11987,17 @@ components:
1198711987
video for use immediately or in the future.
1198811988
properties:
1198911989
status:
11990-
description: There are three possible ingest statuses. missing - you are
11991-
missing information required to ingest the video. uploading - the video
11992-
is in the process of being uploaded. uploaded - the video is ready for
11993-
use.
11990+
description: |
11991+
There are four possible statuses depending on how you provide a video file:
11992+
- `uploading` - the API is gathering the video source file from an upload.
11993+
- `uploaded` - the video file is fully uploaded.
11994+
- `ingesting` - the API is gathering the video source file from either a URL, or from cloning.
11995+
- `ingested` - the video file is fully stored.
1199411996
enum:
11995-
- missing
1199611997
- uploading
1199711998
- uploaded
11999+
- ingesting
12000+
- ingested
1199812001
example: uploaded
1199912002
type: string
1200012003
filesize:

client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ func (c *Client) prepareRequest(
255255
req.Header.Set("AV-Origin-Sdk", originSdkHeaderValue)
256256
}
257257

258-
req.Header.Set("AV-Origin-Client", "go:1.3.0")
258+
req.Header.Set("AV-Origin-Client", "go:1.3.1")
259259

260260
for headerName := range headerParams {
261261
req.Header.Set(headerName, headerParams[headerName])
@@ -530,7 +530,7 @@ func (c *Client) auth(req *http.Request) (*http.Request, error) {
530530
req.Header.Set("AV-Origin-Sdk", originSdkHeaderValue)
531531
}
532532

533-
req.Header.Set("AV-Origin-Client", "go:1.3.0")
533+
req.Header.Set("AV-Origin-Client", "go:1.3.1")
534534

535535
resp, err := c.httpClient.Do(req)
536536

docs/VideoStatusIngest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**Status** | Pointer to **string** | 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** | Pointer to **string** | 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** | Pointer to **NullableInt32** | The size of your file in bytes. | [optional]
99
**ReceivedBytes** | Pointer to [**[]BytesRange**](BytesRange.md) | The total number of bytes received, listed for each chunk of the upload. | [optional]
1010
**ReceivedParts** | Pointer to [**VideoStatusIngestReceivedParts**](VideoStatusIngestReceivedParts.md) | | [optional]

model_video_status_ingest.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)