From b4414da24ad32a06c0427f48226a1c097b833d8f Mon Sep 17 00:00:00 2001 From: szekelyzol Date: Fri, 16 Feb 2024 15:09:40 +0000 Subject: [PATCH] Update VideoStatusIngest enum descriptions --- api/openapi.yaml | 13 ++++++++----- docs/VideoStatusIngest.md | 2 +- model_video_status_ingest.go | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/api/openapi.yaml b/api/openapi.yaml index d6134ce..8237aed 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -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: diff --git a/docs/VideoStatusIngest.md b/docs/VideoStatusIngest.md index 97f7abe..58a5a59 100644 --- a/docs/VideoStatusIngest.md +++ b/docs/VideoStatusIngest.md @@ -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] diff --git a/model_video_status_ingest.go b/model_video_status_ingest.go index 25a93d9..1e839e9 100644 --- a/model_video_status_ingest.go +++ b/model_video_status_ingest.go @@ -16,7 +16,7 @@ import ( // VideoStatusIngest Details about the capturing, transferring, and storing of your video for use immediately or in the future. type VideoStatusIngest struct { - // 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. + // 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. Status *string `json:"status,omitempty"` // The size of your file in bytes. Filesize *NullableInt32 `json:"filesize,omitempty"`