diff --git a/api/openapi.yaml b/api/openapi.yaml index 718f77b..f240980 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -197,7 +197,7 @@ paths: style: form - description: 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 + [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata/) allows you to define a key that allows any value pair. example: metadata[Author]=John Doe&metadata[Format]=Tutorial explode: true @@ -515,7 +515,7 @@ paths: x-accepts: application/json post: description: | - 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). operationId: POST-video requestBody: content: @@ -2866,7 +2866,7 @@ paths: x-accepts: application/json post: description: 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) + More information can be found [here](https://docs.api.video/vod/delegated-upload-tokens) operationId: POST_upload-tokens requestBody: content: @@ -3526,7 +3526,7 @@ paths: allowfullscreen=""> player: https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr hls: https://live.api.video/li400mYKSgQ6xs7taUeSaEKr.m3u8 - thumbnail: https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg + thumbnail: https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg - liveStreamId: li4pqNqGUkhKfWcBGpZVLRY5 createdAt: 2020-07-29T10:45:35.000Z updatedAt: 2020-07-29T10:45:35.000Z @@ -3547,7 +3547,7 @@ paths: allowfullscreen=""> player: https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5 hls: https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8 - thumbnail: https://cdn.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg + thumbnail: https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg pagination: currentPage: 1 currentPageItems: 19 @@ -5337,7 +5337,7 @@ paths: x-accepts: application/json post: description: Upload a VTT file to add captions to your video. More information - can be found [here](https://docs.api.video/reference/captions) + can be found [here](https://docs.api.video/vod/add-captions) operationId: POST_videos-videoId-captions-language parameters: - description: The unique identifier for the video you want to add a caption @@ -6062,7 +6062,7 @@ paths: post: description: |- 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. + Chapters help break the video into sections. Read our [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos/) for more details. operationId: POST_videos-videoId-chapters-language parameters: - description: The unique identifier for the video you want to upload a chapter @@ -9643,7 +9643,7 @@ components: width="100%" height="100%" frameborder="0" scrolling="no" allowfullscreen=""> player: https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5 hls: https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8 - thumbnail: https://cdn.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg + thumbnail: https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg parameters: current-page: description: 'Choose the number of search results to return per page. Minimum @@ -9880,7 +9880,7 @@ components: type: array metadata: description: | - 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. + 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. example: '[{"key":"Author", "value":"John Doe"}, {"key":"Format", "value":"Tutorial"}]' items: $ref: '#/components/schemas/metadata' @@ -9896,7 +9896,7 @@ components: type: string public: description: | - 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). + 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/). example: false type: boolean panoramic: @@ -10293,7 +10293,7 @@ components: streamKey: dw-dew8-q6w9-k67w-1ws8 createdAt: 2020-01-31T10:17:47Z assets: - thumbnail: https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg + thumbnail: https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg iframe: hls: https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8 @@ -10328,7 +10328,7 @@ components: public: description: 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). + Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management). example: true type: boolean assets: @@ -10723,7 +10723,7 @@ components: public: default: true description: '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)' + More information on private videos can be found [here](https://docs.api.video/delivery-analytics/video-privacy-access-management)' example: true type: boolean panoramic: @@ -10749,7 +10749,7 @@ components: metadata: description: 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). + your audience. Read more on [dynamic metadata](https://api.video/blog/endpoints/dynamic-metadata/). example: '[{"key": "Author", "value": "John Doe"}]' items: $ref: '#/components/schemas/metadata' @@ -10835,7 +10835,7 @@ components: type: string public: description: 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). + it is set to private. Default is true. Tutorials on [private videos](https://api.video/blog/endpoints/private-videos/). example: true type: boolean panoramic: @@ -10858,7 +10858,7 @@ components: description: 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) + 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. items: $ref: '#/components/schemas/metadata' @@ -10964,7 +10964,7 @@ components: - streamKey: dw-dew8-q6w9-k67w-1ws8 createdAt: 2020-01-31T10:17:47Z assets: - thumbnail: https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg + thumbnail: https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg iframe: hls: https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8 @@ -10985,7 +10985,7 @@ components: - streamKey: dw-dew8-q6w9-k67w-1ws8 createdAt: 2020-01-31T10:17:47Z assets: - thumbnail: https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg + thumbnail: https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg iframe: hls: https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8 @@ -11034,7 +11034,7 @@ components: public: description: 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). + Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management). type: boolean playerId: description: The unique identifier for the player. @@ -11061,7 +11061,7 @@ components: public: description: 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). + Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management). type: boolean playerId: description: The unique ID for the player associated with a live stream @@ -11731,7 +11731,7 @@ components: type: object live-stream-assets: example: - thumbnail: https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg + thumbnail: https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg iframe: hls: https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8 @@ -11754,7 +11754,7 @@ components: type: string thumbnail: description: A link to the thumbnail for your video. - example: https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg + example: https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg format: uri type: string title: LiveStreamAssets diff --git a/docs/CaptionsApi.md b/docs/CaptionsApi.md index af66591..159dffc 100644 --- a/docs/CaptionsApi.md +++ b/docs/CaptionsApi.md @@ -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 ```java diff --git a/docs/ChaptersApi.md b/docs/ChaptersApi.md index c5442ad..b58ef8e 100644 --- a/docs/ChaptersApi.md +++ b/docs/ChaptersApi.md @@ -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 ```java diff --git a/docs/LiveStream.md b/docs/LiveStream.md index 3edfceb..cc11841 100644 --- a/docs/LiveStream.md +++ b/docs/LiveStream.md @@ -9,7 +9,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** | **Boolean** | 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** | **Boolean** | 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** | **Boolean** | 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] diff --git a/docs/LiveStreamCreationPayload.md b/docs/LiveStreamCreationPayload.md index 544625d..7041d1c 100644 --- a/docs/LiveStreamCreationPayload.md +++ b/docs/LiveStreamCreationPayload.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Add a name for your live stream here. | -**_public** | **Boolean** | 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** | **Boolean** | 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] diff --git a/docs/LiveStreamUpdatePayload.md b/docs/LiveStreamUpdatePayload.md index 0ddf42f..b5c8926 100644 --- a/docs/LiveStreamUpdatePayload.md +++ b/docs/LiveStreamUpdatePayload.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name you want to use for your live stream. | [optional] -**_public** | **Boolean** | 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** | **Boolean** | 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] diff --git a/docs/LiveStreamsApi.md b/docs/LiveStreamsApi.md index 38dc3cc..091b982 100644 --- a/docs/LiveStreamsApi.md +++ b/docs/LiveStreamsApi.md @@ -40,7 +40,7 @@ public class Example { LiveStreamCreationPayload liveStreamCreationPayload = new LiveStreamCreationPayload(); // liveStreamCreationPayload.setName("My Live Stream Video"); // Add a name for your live stream here. - liveStreamCreationPayload.setPublic(); // 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). + liveStreamCreationPayload.setPublic(); // 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). liveStreamCreationPayload.setPlayerId("pl4f4ferf5erfr5zed4fsdd"); // The unique identifier for the player. liveStreamCreationPayload.setRestreams(Collections.emptyList()); // 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. @@ -179,7 +179,7 @@ public class Example { String liveStreamId = "li400mYKSgQ6xs7taUeSaEKr"; // The unique ID for the live stream that you want to update information for such as player details. LiveStreamUpdatePayload liveStreamUpdatePayload = new LiveStreamUpdatePayload(); // liveStreamUpdatePayload.setName("My Live Stream Video"); // The name you want to use for your live stream. - liveStreamUpdatePayload.setPublic(); // 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). + liveStreamUpdatePayload.setPublic(); // 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). liveStreamUpdatePayload.setPlayerId("pl45KFKdlddgk654dspkze"); // The unique ID for the player associated with a live stream that you want to update. liveStreamUpdatePayload.setRestreams(Collections.emptyList()); // 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. diff --git a/docs/UploadTokensApi.md b/docs/UploadTokensApi.md index c138910..05bdc7f 100644 --- a/docs/UploadTokensApi.md +++ b/docs/UploadTokensApi.md @@ -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 ```java diff --git a/docs/Video.md b/docs/Video.md index 175a760..899d016 100644 --- a/docs/Video.md +++ b/docs/Video.md @@ -13,11 +13,11 @@ Name | Type | Description | Notes **publishedAt** | **OffsetDateTime** | The date and time the API created the video. Date and time are provided using ISO-8601 UTC format. | [optional] **updatedAt** | **OffsetDateTime** | 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** | **Boolean** | 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** | **Boolean** | 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** | **Boolean** | Defines if video is panoramic. | [optional] **mp4Support** | **Boolean** | This lets you know whether mp4 is supported. If enabled, an mp4 URL will be provided in the response for the video. | [optional] diff --git a/docs/VideoCreationPayload.md b/docs/VideoCreationPayload.md index b85297d..0f4c79b 100644 --- a/docs/VideoCreationPayload.md +++ b/docs/VideoCreationPayload.md @@ -9,12 +9,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** | **Boolean** | 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] +**_public** | **Boolean** | 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] **panoramic** | **Boolean** | Indicates if your video is a 360/immersive video. | [optional] **mp4Support** | **Boolean** | Enables mp4 version in addition to streamed version. | [optional] **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] diff --git a/docs/VideoUpdatePayload.md b/docs/VideoUpdatePayload.md index aa85174..4d2b1da 100644 --- a/docs/VideoUpdatePayload.md +++ b/docs/VideoUpdatePayload.md @@ -9,11 +9,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** | **Boolean** | 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** | **Boolean** | 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** | **Boolean** | Whether the video is a 360 degree or immersive video. | [optional] **mp4Support** | **Boolean** | 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] ## Implemented Interfaces diff --git a/docs/VideosApi.md b/docs/VideosApi.md index 83772c4..8aff67d 100644 --- a/docs/VideosApi.md +++ b/docs/VideosApi.md @@ -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 ```java @@ -45,12 +45,12 @@ public class Example { videoCreationPayload.setTitle("Maths video"); // The title of your new video. videoCreationPayload.setDescription("A video about string theory."); // A brief description of your video. videoCreationPayload.setSource("https://www.myvideo.url.com/video.mp4 OR vi4k0jvEUuaTdRAEjQ4JfOyl"); // 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. - videoCreationPayload.setPublic(true); // 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) + videoCreationPayload.setPublic(true); // 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) videoCreationPayload.setPanoramic(false); // Indicates if your video is a 360/immersive video. videoCreationPayload.setMp4Support(true); // Enables mp4 version in addition to streamed version. videoCreationPayload.setPlayerId("pl45KFKdlddgk654dspkze"); // The unique identification number for your video player. videoCreationPayload.setTags(Arrays.asList("maths", "string theory", "video")); // A list of tags you want to use to describe your video. - videoCreationPayload.setMetadata(Collections.emptyList()); // 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). + videoCreationPayload.setMetadata(Collections.emptyList()); // 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/). videoCreationPayload.setClip(); // videoCreationPayload.setWatermark(); // @@ -410,11 +410,11 @@ public class Example { videoUpdatePayload.setPlayerId("pl4k0jvEUuaTdRAEjQ4Jfrgz"); // The unique ID for the player you want to associate with your video. videoUpdatePayload.setTitle("null"); // The title you want to use for your video. videoUpdatePayload.setDescription("A film about good books."); // A brief description of the video. - videoUpdatePayload.setPublic(true); // 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). + videoUpdatePayload.setPublic(true); // 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/). videoUpdatePayload.setPanoramic(false); // Whether the video is a 360 degree or immersive video. videoUpdatePayload.setMp4Support(true); // Whether the player supports the mp4 format. videoUpdatePayload.setTags(Arrays.asList("maths", "string theory", "video")); // 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. - videoUpdatePayload.setMetadata(Collections.emptyList()); // 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. + videoUpdatePayload.setMetadata(Collections.emptyList()); // 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. try { @@ -552,7 +552,7 @@ public class Example { String title = "My Video.mp4"; // 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. List tags = Arrays.asList(); // 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. - Map metadata = new HashMap(); // 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. + Map metadata = new HashMap(); // 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. String description = "New Zealand"; // Retrieve video objects by `description`. String liveStreamId = "li400mYKSgQ6xs7taUeSaEKr"; // Retrieve video objects that were recorded from a live stream by `liveStreamId`. String sortBy = "title"; // Use this parameter to sort videos by the their created time, published time, updated time, or by title. @@ -590,7 +590,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<String>**](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** | [**Map<String, String>**](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** | [**Map<String, String>**](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 `description`. | [optional] **liveStreamId** | **String**| Retrieve video objects that were recorded from a live stream by `liveStreamId`. | [optional] **sortBy** | **String**| Use this parameter to sort videos by the their created time, published time, updated time, or by title. | [optional] [enum: title, createdAt, publishedAt, updatedAt] diff --git a/src/main/java/video/api/client/api/clients/CaptionsApi.java b/src/main/java/video/api/client/api/clients/CaptionsApi.java index c2f05bf..b377003 100644 --- a/src/main/java/video/api/client/api/clients/CaptionsApi.java +++ b/src/main/java/video/api/client/api/clients/CaptionsApi.java @@ -199,7 +199,7 @@ private okhttp3.Call uploadValidateBeforeCall(String videoId, String language, F * 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) + * [here](https://docs.api.video/vod/add-captions) * * @param videoId * The unique identifier for the video you want to add a caption to. (required) @@ -246,7 +246,7 @@ public Caption upload(String videoId, String language, File file) throws ApiExce * 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) + * [here](https://docs.api.video/vod/add-captions) * * @param videoId * The unique identifier for the video you want to add a caption to. (required) @@ -293,7 +293,7 @@ public ApiResponse uploadWithHttpInfo(String videoId, String language, /** * Upload a caption (asynchronously) Upload a VTT file to add captions to your video. More information can be found - * [here](https://docs.api.video/reference/captions) + * [here](https://docs.api.video/vod/add-captions) * * @param videoId * The unique identifier for the video you want to add a caption to. (required) diff --git a/src/main/java/video/api/client/api/clients/ChaptersApi.java b/src/main/java/video/api/client/api/clients/ChaptersApi.java index 00a5811..1477fd1 100644 --- a/src/main/java/video/api/client/api/clients/ChaptersApi.java +++ b/src/main/java/video/api/client/api/clients/ChaptersApi.java @@ -199,7 +199,7 @@ private okhttp3.Call uploadValidateBeforeCall(String videoId, String language, F * 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. + * [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos/) for more details. * * @param videoId * The unique identifier for the video you want to upload a chapter for. (required) @@ -247,7 +247,7 @@ public Chapter upload(String videoId, String language, File file) throws ApiExce * 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. + * [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos/) for more details. * * @param videoId * The unique identifier for the video you want to upload a chapter for. (required) @@ -295,7 +295,7 @@ public ApiResponse uploadWithHttpInfo(String videoId, String language, /** * Upload a chapter (asynchronously) 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 + * into sections. Read our [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos/) for more * details. * * @param videoId diff --git a/src/main/java/video/api/client/api/clients/UploadTokensApi.java b/src/main/java/video/api/client/api/clients/UploadTokensApi.java index 4509b4e..22ec8f3 100644 --- a/src/main/java/video/api/client/api/clients/UploadTokensApi.java +++ b/src/main/java/video/api/client/api/clients/UploadTokensApi.java @@ -173,7 +173,7 @@ private okhttp3.Call createTokenValidateBeforeCall(TokenCreationPayload tokenCre * 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) + * [here](https://docs.api.video/vod/delegated-upload-tokens) * * @param tokenCreationPayload * (required) @@ -211,7 +211,7 @@ public UploadToken createToken(TokenCreationPayload tokenCreationPayload) throws * 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) + * [here](https://docs.api.video/vod/delegated-upload-tokens) * * @param tokenCreationPayload * (required) @@ -250,7 +250,7 @@ public ApiResponse createTokenWithHttpInfo(TokenCreationPayload tok /** * Generate an upload token (asynchronously) 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) + * information can be found [here](https://docs.api.video/vod/delegated-upload-tokens) * * @param tokenCreationPayload * (required) diff --git a/src/main/java/video/api/client/api/clients/VideosApi.java b/src/main/java/video/api/client/api/clients/VideosApi.java index 692c9f2..6e1321d 100644 --- a/src/main/java/video/api/client/api/clients/VideosApi.java +++ b/src/main/java/video/api/client/api/clients/VideosApi.java @@ -186,7 +186,7 @@ private okhttp3.Call createValidateBeforeCall(VideoCreationPayload videoCreation * Create a video object * * Creates a video object. More information on video objects can be found - * [here](https://docs.api.video/reference/videos-1). + * [here](https://docs.api.video/reference/api/Videos). * * @param videoCreationPayload * video to create (required) @@ -229,7 +229,7 @@ public Video create(VideoCreationPayload videoCreationPayload) throws ApiExcepti * Create a video object * * Creates a video object. More information on video objects can be found - * [here](https://docs.api.video/reference/videos-1). + * [here](https://docs.api.video/reference/api/Videos). * * @param videoCreationPayload * video to create (required) @@ -272,7 +272,7 @@ public ApiResponse