Skip to content

Commit

Permalink
Merge pull request #114 from apivideo/Fix-indirect-URLs
Browse files Browse the repository at this point in the history
Fix indirect URLs
  • Loading branch information
bot-api-video committed Oct 5, 2023
2 parents f21b38b + 7863521 commit d034dac
Show file tree
Hide file tree
Showing 21 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/oas_apivideo.yaml-defaut-cli.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
99dd458f8a6d84027d6ea7d90cbc93b699c1c212f7f0e36f067326a87a068499
b81bc1a775a59afdd386a47746d16f2c79dc58f2040c663443f51e5cb3e5ceb8
2 changes: 1 addition & 1 deletion docs/CaptionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Method | HTTP request | Description
Upload a caption

Upload a VTT file to add captions to your video. More information can be found [here](https://docs.api.video/reference/captions)
Upload a VTT file to add captions to your video. More information can be found [here](https://docs.api.video/vod/add-captions)

### Example
```csharp
Expand Down
2 changes: 1 addition & 1 deletion docs/ChaptersApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Method | HTTP request | Description
Upload a chapter

Upload a VTT file to add chapters to your video. Chapters help break the video into sections. Read our [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos) for more details.
Upload a VTT file to add chapters to your video. Chapters help break the video into sections. Read our [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos/) for more details.

### Example
```csharp
Expand Down
2 changes: 1 addition & 1 deletion docs/LiveStream.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**LiveStreamId** | **string** | The unique identifier for the live stream. Live stream IDs begin with \"li.\" |
**Name** | **string** | The name of your live stream. | [optional]
**StreamKey** | **string** | The unique, private stream key that you use to begin streaming. | [optional]
**Public** | **bool** | Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/docs/private-videos). | [optional]
**Public** | **bool** | Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management). | [optional]
**Assets** | [**LiveStreamAssets**](LiveStreamAssets.md) | | [optional]
**PlayerId** | **string** | The unique identifier for the player. | [optional]
**Broadcasting** | **bool** | Whether or not you are broadcasting the live video you recorded for others to see. True means you are broadcasting to viewers, false means you are not. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/LiveStreamCreationPayload.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | Add a name for your live stream here. |
**Public** | **bool** | Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/docs/private-videos). | [optional]
**Public** | **bool** | Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management). | [optional]
**PlayerId** | **string** | The unique identifier for the player. | [optional]
**Restreams** | [**List<RestreamsRequestObject>**](RestreamsRequestObject.md) | Use this parameter to add, edit, or remove RTMP services where you want to restream a live stream. The list can only contain up to 5 destinations. | [optional]

Expand Down
2 changes: 1 addition & 1 deletion docs/LiveStreamUpdatePayload.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | The name you want to use for your live stream. | [optional]
**Public** | **bool** | Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/docs/private-videos). | [optional]
**Public** | **bool** | Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management). | [optional]
**PlayerId** | **string** | The unique ID for the player associated with a live stream that you want to update. | [optional]
**Restreams** | [**List<RestreamsRequestObject>**](RestreamsRequestObject.md) | Use this parameter to add, edit, or remove RTMP services where you want to restream a live stream. The list can only contain up to 5 destinations. This operation updates all restream destinations in the same request. If you do not want to modify an existing restream destination, you need to include it in your request, otherwise it is removed. | [optional]

Expand Down
2 changes: 1 addition & 1 deletion docs/UploadTokensApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Method | HTTP request | Description
Generate an upload token

Generates an upload token that can be used to replace the API Key. More information can be found [here](https://docs.api.video/reference/upload-tokens)
Generates an upload token that can be used to replace the API Key. More information can be found [here](https://docs.api.video/vod/delegated-upload-tokens)

### Example
```csharp
Expand Down
4 changes: 2 additions & 2 deletions docs/Video.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ Name | Type | Description | Notes
**PublishedAt** | **DateTime** | The date and time the API created the video. Date and time are provided using ISO-8601 UTC format. | [optional]
**UpdatedAt** | **DateTime** | The date and time the video was updated. Date and time are provided using ISO-8601 UTC format. | [optional]
**Tags** | **List<string>** | One array of tags (each tag is a string) in order to categorize a video. Tags may include spaces. | [optional]
**Metadata** | [**List<Metadata>**](Metadata.md) | Metadata you can use to categorise and filter videos. Metadata is a list of dictionaries, where each dictionary represents a key value pair for categorising a video. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata) allows you to define a key that allows any value pair. | [optional]
**Metadata** | [**List<Metadata>**](Metadata.md) | Metadata you can use to categorise and filter videos. Metadata is a list of dictionaries, where each dictionary represents a key value pair for categorising a video. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata/) allows you to define a key that allows any value pair. | [optional]
**Source** | [**VideoSource**](VideoSource.md) | | [optional]
**Assets** | [**VideoAssets**](VideoAssets.md) | | [optional]
**PlayerId** | **string** | The id of the player that will be applied on the video. | [optional]
**Public** | **bool** | Defines if the content is publicly reachable or if a unique token is needed for each play session. Default is true. Tutorials on [private videos](https://api.video/blog/endpoints/private-videos). | [optional]
**Public** | **bool** | Defines if the content is publicly reachable or if a unique token is needed for each play session. Default is true. Tutorials on [private videos](https://api.video/blog/endpoints/private-videos/). | [optional]
**Panoramic** | **bool** | Defines if video is panoramic. | [optional]
**Mp4Support** | **bool** | This lets you know whether mp4 is supported. If enabled, an mp4 URL will be provided in the response for the video. | [optional]

Expand Down
4 changes: 2 additions & 2 deletions docs/VideoCreationPayload.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ Name | Type | Description | Notes
**Title** | **string** | The title of your new video. |
**Description** | **string** | A brief description of your video. | [optional]
**Source** | **string** | You can either add a video already on the web, by entering the URL of the video, or you can also enter the `videoId` of one of the videos you already have on your api.video acccount, and this will generate a copy of your video. Creating a copy of a video can be especially useful if you want to keep your original video and trim or apply a watermark onto the copy you would create. | [optional]
**Public** | **bool** | Default: True. If set to `false` the video will become private. More information on private videos can be found [here](https://docs.api.video/docs/private-videos) | [optional] [default to true]
**Public** | **bool** | Default: True. If set to `false` the video will become private. More information on private videos can be found [here](https://docs.api.video/delivery-analytics/video-privacy-access-management) | [optional] [default to true]
**Panoramic** | **bool** | Indicates if your video is a 360/immersive video. | [optional] [default to false]
**Mp4Support** | **bool** | Enables mp4 version in addition to streamed version. | [optional] [default to true]
**PlayerId** | **string** | The unique identification number for your video player. | [optional]
**Tags** | **List<string>** | A list of tags you want to use to describe your video. | [optional]
**Metadata** | [**List<Metadata>**](Metadata.md) | A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, allowing you to segment your audience. Read more on [dynamic metadata](https://api.video/blog/endpoints/dynamic-metadata). | [optional]
**Metadata** | [**List<Metadata>**](Metadata.md) | A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, allowing you to segment your audience. Read more on [dynamic metadata](https://api.video/blog/endpoints/dynamic-metadata/). | [optional]
**Clip** | [**VideoClip**](VideoClip.md) | | [optional]
**Watermark** | [**VideoWatermark**](VideoWatermark.md) | | [optional]

Expand Down
4 changes: 2 additions & 2 deletions docs/VideoUpdatePayload.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Name | Type | Description | Notes
**PlayerId** | **string** | The unique ID for the player you want to associate with your video. | [optional]
**Title** | **string** | The title you want to use for your video. | [optional]
**Description** | **string** | A brief description of the video. | [optional]
**Public** | **bool** | Whether the video is publicly available or not. False means it is set to private. Default is true. Tutorials on [private videos](https://api.video/blog/endpoints/private-videos). | [optional]
**Public** | **bool** | Whether the video is publicly available or not. False means it is set to private. Default is true. Tutorials on [private videos](https://api.video/blog/endpoints/private-videos/). | [optional]
**Panoramic** | **bool** | Whether the video is a 360 degree or immersive video. | [optional]
**Mp4Support** | **bool** | Whether the player supports the mp4 format. | [optional]
**Tags** | **List<string>** | A list of terms or words you want to tag the video with. Make sure the list includes all the tags you want as whatever you send in this list will overwrite the existing list for the video. | [optional]
**Metadata** | [**List<Metadata>**](Metadata.md) | A list (array) of dictionaries where each dictionary contains a key value pair that describes the video. As with tags, you must send the complete list of metadata you want as whatever you send here will overwrite the existing metadata for the video. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata) allows you to define a key that allows any value pair. | [optional]
**Metadata** | [**List<Metadata>**](Metadata.md) | A list (array) of dictionaries where each dictionary contains a key value pair that describes the video. As with tags, you must send the complete list of metadata you want as whatever you send here will overwrite the existing metadata for the video. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata/) allows you to define a key that allows any value pair. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

6 changes: 3 additions & 3 deletions docs/VideosApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Method | HTTP request | Description
Create a video object

Creates a video object. More information on video objects can be found [here](https://docs.api.video/reference/videos-1).
Creates a video object. More information on video objects can be found [here](https://docs.api.video/reference/api/Videos).

### Example
```csharp
Expand Down Expand Up @@ -476,7 +476,7 @@ namespace Example

var title = My Video.mp4; // string | The title of a specific video you want to find. The search will match exactly to what term you provide and return any videos that contain the same term as part of their titles. (optional)
var tags = new List<string>(); // List<string> | A tag is a category you create and apply to videos. You can search for videos with particular tags by listing one or more here. Only videos that have all the tags you list will be returned. (optional)
var metadata = new Dictionary<string, string>(); // Dictionary<string, string> | Videos can be tagged with metadata tags in key:value pairs. You can search for videos with specific key value pairs using this parameter. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata) allows you to define a key that allows any value pair. (optional)
var metadata = new Dictionary<string, string>(); // Dictionary<string, string> | Videos can be tagged with metadata tags in key:value pairs. You can search for videos with specific key value pairs using this parameter. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata/) allows you to define a key that allows any value pair. (optional)
var description = New Zealand; // string | Retrieve video objects by `description`. (optional)
var liveStreamId = li400mYKSgQ6xs7taUeSaEKr; // string | Retrieve video objects that were recorded from a live stream by `liveStreamId`. (optional)
var sortBy = publishedAt; // string | Use this parameter to sort videos by the their created time, published time, updated time, or by title. (optional)
Expand Down Expand Up @@ -507,7 +507,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**title** | **string**| The title of a specific video you want to find. The search will match exactly to what term you provide and return any videos that contain the same term as part of their titles. | [optional]
**tags** | [**List&lt;string&gt;**](string.md)| A tag is a category you create and apply to videos. You can search for videos with particular tags by listing one or more here. Only videos that have all the tags you list will be returned. | [optional]
**metadata** | [**Dictionary&lt;string, string&gt;**](string.md)| Videos can be tagged with metadata tags in key:value pairs. You can search for videos with specific key value pairs using this parameter. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata) allows you to define a key that allows any value pair. | [optional]
**metadata** | [**Dictionary&lt;string, string&gt;**](string.md)| Videos can be tagged with metadata tags in key:value pairs. You can search for videos with specific key value pairs using this parameter. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata/) allows you to define a key that allows any value pair. | [optional]
**description** | **string**| Retrieve video objects by &#x60;description&#x60;. | [optional]
**liveStreamId** | **string**| Retrieve video objects that were recorded from a live stream by &#x60;liveStreamId&#x60;. | [optional]
**sortBy** | **string**| Use this parameter to sort videos by the their created time, published time, updated time, or by title. | [optional]
Expand Down
4 changes: 2 additions & 2 deletions src/Api/CaptionsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public CaptionsApi(ApiClient apiClient)
}

/// <summary>
/// Upload a caption Upload a VTT file to add captions to your video. More information can be found [here](https://docs.api.video/reference/captions)
/// Upload a caption Upload a VTT file to add captions to your video. More information can be found [here](https://docs.api.video/vod/add-captions)
/// </summary>
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="videoId">The unique identifier for the video you want to add a caption to.</param>
Expand All @@ -55,7 +55,7 @@ public Caption upload(string videoId, string language, System.IO.Stream file)
}

/// <summary>
/// Upload a caption Upload a VTT file to add captions to your video. More information can be found [here](https://docs.api.video/reference/captions)
/// Upload a caption Upload a VTT file to add captions to your video. More information can be found [here](https://docs.api.video/vod/add-captions)
/// </summary>
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="videoId">The unique identifier for the video you want to add a caption to.</param>
Expand Down
4 changes: 2 additions & 2 deletions src/Api/ChaptersApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public ChaptersApi(ApiClient apiClient)
}

/// <summary>
/// Upload a chapter Upload a VTT file to add chapters to your video. Chapters help break the video into sections. Read our [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos) for more details.
/// Upload a chapter Upload a VTT file to add chapters to your video. Chapters help break the video into sections. Read our [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos/) for more details.
/// </summary>
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="videoId">The unique identifier for the video you want to upload a chapter for.</param>
Expand All @@ -55,7 +55,7 @@ public Chapter upload(string videoId, string language, System.IO.Stream file)
}

/// <summary>
/// Upload a chapter Upload a VTT file to add chapters to your video. Chapters help break the video into sections. Read our [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos) for more details.
/// Upload a chapter Upload a VTT file to add chapters to your video. Chapters help break the video into sections. Read our [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos/) for more details.
/// </summary>
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="videoId">The unique identifier for the video you want to upload a chapter for.</param>
Expand Down
4 changes: 2 additions & 2 deletions src/Api/UploadTokensApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public UploadTokensApi(ApiClient apiClient)
}

/// <summary>
/// Generate an upload token Generates an upload token that can be used to replace the API Key. More information can be found [here](https://docs.api.video/reference/upload-tokens)
/// Generate an upload token Generates an upload token that can be used to replace the API Key. More information can be found [here](https://docs.api.video/vod/delegated-upload-tokens)
/// </summary>
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="tokenCreationPayload"></param>
Expand All @@ -53,7 +53,7 @@ public UploadToken createToken(TokenCreationPayload tokenCreationPayload)
}

/// <summary>
/// Generate an upload token Generates an upload token that can be used to replace the API Key. More information can be found [here](https://docs.api.video/reference/upload-tokens)
/// Generate an upload token Generates an upload token that can be used to replace the API Key. More information can be found [here](https://docs.api.video/vod/delegated-upload-tokens)
/// </summary>
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="tokenCreationPayload"></param>
Expand Down

0 comments on commit d034dac

Please sign in to comment.