From ca3bad4f3de45584275afddbed6021e8d1beea8a Mon Sep 17 00:00:00 2001 From: szekelyzol Date: Wed, 20 Dec 2023 11:16:55 +0000 Subject: [PATCH] Update get live streams sortby attribute --- .openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 | 2 +- docs/LiveStreamsApi.md | 4 ++-- src/Api/LiveStreamsApi.cs | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 b/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 index 689c725..548197d 100644 --- a/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 +++ b/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 @@ -1 +1 @@ -155cd5d675d3c44d398908686882100c90ce1dd99ef14b0d53ca66624ec0e640 \ No newline at end of file +63a60566e96276d6fd17729d52dd15eba96cbf7b2352951f939d8d7555db4304 \ No newline at end of file diff --git a/docs/LiveStreamsApi.md b/docs/LiveStreamsApi.md index 48f6bdc..0532060 100644 --- a/docs/LiveStreamsApi.md +++ b/docs/LiveStreamsApi.md @@ -306,7 +306,7 @@ namespace Example var streamKey = dw-dew8-q6w9-k67w-1ws8; // string | The unique stream key that allows you to stream videos. (optional) var name = My Video; // string | You can filter live streams by their name or a part of their name. (optional) - var sortBy = createdAt; // string | Allowed: createdAt, publishedAt, name. createdAt - the time a livestream was created using the specified streamKey. publishedAt - the time a livestream was published using the specified streamKey. name - the name of the livestream. If you choose one of the time based options, the time is presented in ISO-8601 format. (optional) + var sortBy = createdAt; // string | Enables you to sort live stream results. Allowed attributes: `name`, `createdAt`, `updatedAt`. `name` - the name of the live stream. `createdAt` - the time a live stream was created. `updatedAt` - the time a live stream was last updated. When using `createdAt` or `updatedAt`, the API sorts the results based on the ISO-8601 time format. (optional) var sortOrder = desc; // string | Allowed: asc, desc. Ascending for date and time means that earlier values precede later ones. Descending means that later values preced earlier ones. For title, it is 0-9 and A-Z ascending and Z-A, 9-0 descending. (optional) var currentPage = 2; // int? | Choose the number of search results to return per page. Minimum value: 1 (optional) (default to 1) var pageSize = 30; // int? | Results per page. Allowed values 1-100, default is 25. (optional) (default to 25) @@ -334,7 +334,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **streamKey** | **string**| The unique stream key that allows you to stream videos. | [optional] **name** | **string**| You can filter live streams by their name or a part of their name. | [optional] - **sortBy** | **string**| Allowed: createdAt, publishedAt, name. createdAt - the time a livestream was created using the specified streamKey. publishedAt - the time a livestream was published using the specified streamKey. name - the name of the livestream. If you choose one of the time based options, the time is presented in ISO-8601 format. | [optional] + **sortBy** | **string**| Enables you to sort live stream results. Allowed attributes: `name`, `createdAt`, `updatedAt`. `name` - the name of the live stream. `createdAt` - the time a live stream was created. `updatedAt` - the time a live stream was last updated. When using `createdAt` or `updatedAt`, the API sorts the results based on the ISO-8601 time format. | [optional] **sortOrder** | **string**| Allowed: asc, desc. Ascending for date and time means that earlier values precede later ones. Descending means that later values preced earlier ones. For title, it is 0-9 and A-Z ascending and Z-A, 9-0 descending. | [optional] **currentPage** | **int?**| Choose the number of search results to return per page. Minimum value: 1 | [optional] [default to 1] **pageSize** | **int?**| Results per page. Allowed values 1-100, default is 25. | [optional] [default to 25] diff --git a/src/Api/LiveStreamsApi.cs b/src/Api/LiveStreamsApi.cs index 35377a2..1b6a526 100644 --- a/src/Api/LiveStreamsApi.cs +++ b/src/Api/LiveStreamsApi.cs @@ -346,7 +346,7 @@ public ApiResponse deleteWithHttpInfo(string liveStreamId) /// Thrown when fails to make API call /// The unique stream key that allows you to stream videos. (optional) /// You can filter live streams by their name or a part of their name. (optional) -/// Allowed: createdAt, publishedAt, name. createdAt - the time a livestream was created using the specified streamKey. publishedAt - the time a livestream was published using the specified streamKey. name - the name of the livestream. If you choose one of the time based options, the time is presented in ISO-8601 format. (optional) +/// Enables you to sort live stream results. Allowed attributes: `name`, `createdAt`, `updatedAt`. `name` - the name of the live stream. `createdAt` - the time a live stream was created. `updatedAt` - the time a live stream was last updated. When using `createdAt` or `updatedAt`, the API sorts the results based on the ISO-8601 time format. (optional) /// Allowed: asc, desc. Ascending for date and time means that earlier values precede later ones. Descending means that later values preced earlier ones. For title, it is 0-9 and A-Z ascending and Z-A, 9-0 descending. (optional) /// Choose the number of search results to return per page. Minimum value: 1 (optional, default to 1) /// Results per page. Allowed values 1-100, default is 25. (optional, default to 25) @@ -364,7 +364,7 @@ public LiveStreamListResponse list(string streamKey = default, string name = def /// Thrown when fails to make API call /// The unique stream key that allows you to stream videos. (optional) /// You can filter live streams by their name or a part of their name. (optional) -/// Allowed: createdAt, publishedAt, name. createdAt - the time a livestream was created using the specified streamKey. publishedAt - the time a livestream was published using the specified streamKey. name - the name of the livestream. If you choose one of the time based options, the time is presented in ISO-8601 format. (optional) +/// Enables you to sort live stream results. Allowed attributes: `name`, `createdAt`, `updatedAt`. `name` - the name of the live stream. `createdAt` - the time a live stream was created. `updatedAt` - the time a live stream was last updated. When using `createdAt` or `updatedAt`, the API sorts the results based on the ISO-8601 time format. (optional) /// Allowed: asc, desc. Ascending for date and time means that earlier values precede later ones. Descending means that later values preced earlier ones. For title, it is 0-9 and A-Z ascending and Z-A, 9-0 descending. (optional) /// Choose the number of search results to return per page. Minimum value: 1 (optional, default to 1) /// Results per page. Allowed values 1-100, default is 25. (optional, default to 25) @@ -476,7 +476,7 @@ public class APIlistRequest { /// /// Set sortBy /// - /// Allowed: createdAt, publishedAt, name. createdAt - the time a livestream was created using the specified streamKey. publishedAt - the time a livestream was published using the specified streamKey. name - the name of the livestream. If you choose one of the time based options, the time is presented in ISO-8601 format. (optional) + /// Enables you to sort live stream results. Allowed attributes: `name`, `createdAt`, `updatedAt`. `name` - the name of the live stream. `createdAt` - the time a live stream was created. `updatedAt` - the time a live stream was last updated. When using `createdAt` or `updatedAt`, the API sorts the results based on the ISO-8601 time format. (optional) /// APIlistRequest public APIlistRequest SortBy(string sortBy) { this.sortBy = sortBy;