Skip to content

Commit

Permalink
Update VideoStatusIngest enum descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierapivideo authored Feb 19, 2024
1 parent ffdd3b0 commit 8177e69
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
13 changes: 8 additions & 5 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11987,14 +11987,17 @@ components:
video for use immediately or in the future.
properties:
status:
description: 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.
description: |
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.
enum:
- missing
- uploading
- uploaded
- ingesting
- ingested
example: uploaded
type: string
filesize:
Expand Down
4 changes: 2 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func (c *Client) prepareRequest(
req.Header.Set("AV-Origin-Sdk", originSdkHeaderValue)
}

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

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

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

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

Expand Down
2 changes: 1 addition & 1 deletion docs/VideoStatusIngest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**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]
**Filesize** | Pointer to **NullableInt32** | The size of your file in bytes. | [optional]
**ReceivedBytes** | Pointer to [**[]BytesRange**](BytesRange.md) | The total number of bytes received, listed for each chunk of the upload. | [optional]
**ReceivedParts** | Pointer to [**VideoStatusIngestReceivedParts**](VideoStatusIngestReceivedParts.md) | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion model_video_status_ingest.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8177e69

Please sign in to comment.