From 020bc61b1538e8c7b829d746f2393c7873084fbe Mon Sep 17 00:00:00 2001 From: ThibaultBee Date: Fri, 6 Oct 2023 08:14:31 +0000 Subject: [PATCH] Fix live stream thumbnail URL --- docs/api/CaptionsApi.md | 2 +- docs/api/ChaptersApi.md | 2 +- docs/api/UploadTokensApi.md | 2 +- docs/api/VideosApi.md | 4 ++-- docs/model/LiveStream.md | 2 +- docs/model/LiveStreamCreationPayload.md | 2 +- docs/model/LiveStreamUpdatePayload.md | 2 +- docs/model/Video.md | 4 ++-- docs/model/VideoCreationPayload.md | 4 ++-- docs/model/VideoUpdatePayload.md | 4 ++-- package-lock.json | 24 +++++++++---------- src/api/CaptionsApi.ts | 2 +- src/api/ChaptersApi.ts | 2 +- src/api/UploadTokensApi.ts | 2 +- src/api/VideosApi.ts | 4 ++-- src/model/LiveStream.ts | 2 +- src/model/LiveStreamCreationPayload.ts | 2 +- src/model/LiveStreamUpdatePayload.ts | 2 +- src/model/Video.ts | 4 ++-- src/model/VideoCreationPayload.ts | 4 ++-- src/model/VideoUpdatePayload.ts | 4 ++-- .../livestreams/create/responses200.json | 2 +- .../livestreams/get/responses200.json | 2 +- .../livestreams/list/responses200.json | 4 ++-- .../livestreams/update/responses200.json | 2 +- 25 files changed, 45 insertions(+), 45 deletions(-) diff --git a/docs/api/CaptionsApi.md b/docs/api/CaptionsApi.md index d1bcadf..a3c4230 100644 --- a/docs/api/CaptionsApi.md +++ b/docs/api/CaptionsApi.md @@ -15,7 +15,7 @@ All URIs are relative to *https://ws.api.video* ## **`upload()` - 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) ### Parameters diff --git a/docs/api/ChaptersApi.md b/docs/api/ChaptersApi.md index 8102286..73c538d 100644 --- a/docs/api/ChaptersApi.md +++ b/docs/api/ChaptersApi.md @@ -16,7 +16,7 @@ All URIs are relative to *https://ws.api.video* 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. ### Parameters diff --git a/docs/api/UploadTokensApi.md b/docs/api/UploadTokensApi.md index 698b7f8..d0ef30b 100644 --- a/docs/api/UploadTokensApi.md +++ b/docs/api/UploadTokensApi.md @@ -14,7 +14,7 @@ All URIs are relative to *https://ws.api.video* ## **`createToken()` - 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) ### Parameters diff --git a/docs/api/VideosApi.md b/docs/api/VideosApi.md index 1a42299..bd16adf 100644 --- a/docs/api/VideosApi.md +++ b/docs/api/VideosApi.md @@ -20,7 +20,7 @@ All URIs are relative to *https://ws.api.video* ## **`create()` - 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). @@ -247,7 +247,7 @@ This method returns a list of your videos (with all their details). With no para | ------------- | ------------- | ------------- | ------------- | | **title** | **string**| no| 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. | | **tags** | **Array<string>**| no| 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. | - | **metadata** | **{ [key: string]: string; }**| no| 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. | + | **metadata** | **{ [key: string]: string; }**| no| 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. | | **description** | **string**| no| Retrieve video objects by `description`. | | **liveStreamId** | **string**| no| Retrieve video objects that were recorded from a live stream by `liveStreamId`. | | **sortBy** | **'title' \| 'createdAt' \| 'publishedAt' \| 'updatedAt'**| no| Use this parameter to sort videos by the their created time, published time, updated time, or by title. | diff --git a/docs/model/LiveStream.md b/docs/model/LiveStream.md index b63d47b..c2b013b 100644 --- a/docs/model/LiveStream.md +++ b/docs/model/LiveStream.md @@ -8,7 +8,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/model/LiveStreamCreationPayload.md b/docs/model/LiveStreamCreationPayload.md index fcb6cde..1be91df 100644 --- a/docs/model/LiveStreamCreationPayload.md +++ b/docs/model/LiveStreamCreationPayload.md @@ -6,7 +6,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** | [**Array<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/model/LiveStreamUpdatePayload.md b/docs/model/LiveStreamUpdatePayload.md index 7571010..7381f7d 100644 --- a/docs/model/LiveStreamUpdatePayload.md +++ b/docs/model/LiveStreamUpdatePayload.md @@ -6,7 +6,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** | [**Array<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/model/Video.md b/docs/model/Video.md index a0033c0..7409649 100644 --- a/docs/model/Video.md +++ b/docs/model/Video.md @@ -12,11 +12,11 @@ Name | Type | Description | Notes **publishedAt** | **Date** | The date and time the API created the video. Date and time are provided using ISO-8601 UTC format. | [optional] **updatedAt** | **Date** | The date and time the video was updated. Date and time are provided using ISO-8601 UTC format. | [optional] **tags** | **Array<string>** | One array of tags (each tag is a string) in order to categorize a video. Tags may include spaces. | [optional] -**metadata** | [**Array<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** | [**Array<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/model/VideoCreationPayload.md b/docs/model/VideoCreationPayload.md index 8bbc688..edd5219 100644 --- a/docs/model/VideoCreationPayload.md +++ b/docs/model/VideoCreationPayload.md @@ -8,12 +8,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** | **Array<string>** | A list of tags you want to use to describe your video. | [optional] -**metadata** | [**Array<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** | [**Array<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/model/VideoUpdatePayload.md b/docs/model/VideoUpdatePayload.md index 3c53ef5..41a4822 100644 --- a/docs/model/VideoUpdatePayload.md +++ b/docs/model/VideoUpdatePayload.md @@ -8,11 +8,11 @@ Name | Type | Description | Notes **playerId** | **string** \| **null** | 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** | **Array<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** | [**Array<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** | [**Array<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] diff --git a/package-lock.json b/package-lock.json index 1b0f7e4..08ef755 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1951,9 +1951,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001543", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001543.tgz", - "integrity": "sha512-qxdO8KPWPQ+Zk6bvNpPeQIOH47qZSYdFZd6dXQzb2KzhnSXju4Kd7H1PkSJx6NICSMgo/IhRZRhhfPTHYpJUCA==", + "version": "1.0.30001546", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001546.tgz", + "integrity": "sha512-zvtSJwuQFpewSyRrI3AsftF6rM0X80mZkChIt1spBGEvRglCrjTniXvinc8JKRoqTwXAgvqTImaN9igfSMtUBw==", "dev": true, "funding": [ { @@ -2219,9 +2219,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.540", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.540.tgz", - "integrity": "sha512-aoCqgU6r9+o9/S7wkcSbmPRFi7OWZWiXS9rtjEd+Ouyu/Xyw5RSq2XN8s5Qp8IaFOLiRrhQCphCIjAxgG3eCAg==", + "version": "1.4.543", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.543.tgz", + "integrity": "sha512-t2ZP4AcGE0iKCCQCBx/K2426crYdxD3YU6l0uK2EO3FZH0pbC4pFz/sZm2ruZsND6hQBTcDWWlo/MLpiOdif5g==", "dev": true }, "node_modules/emittery": { @@ -2831,9 +2831,9 @@ } }, "node_modules/globals": { - "version": "13.22.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.22.0.tgz", - "integrity": "sha512-H1Ddc/PbZHTDVJSnj8kWptIRSD6AM3pK+mKytuIVF4uoBV7rshFlhhvA58ceJ5wp3Er58w6zj7bykMpYXt3ETw==", + "version": "13.23.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz", + "integrity": "sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==", "dev": true, "dependencies": { "type-fest": "^0.20.2" @@ -4893,9 +4893,9 @@ } }, "node_modules/v8-to-istanbul": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.2.tgz", - "integrity": "sha512-ZGBe7VAivuuoQXTeckpbYKTdtjXGcm3ZUHXC0PAk0CzFyuYvwi73a58iEKI3GkGD1c3EHc+EgfR1w5pgbfzJlQ==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.3.tgz", + "integrity": "sha512-9lDD+EVI2fjFsMWXc6dy5JJzBsVTcQ2fVkfBvncZ6xJWG9wtBhOldG+mHkSL0+V1K/xgZz0JDO5UT5hFwHUghg==", "dev": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.12", diff --git a/src/api/CaptionsApi.ts b/src/api/CaptionsApi.ts index 0a74866..2248465 100644 --- a/src/api/CaptionsApi.ts +++ b/src/api/CaptionsApi.ts @@ -32,7 +32,7 @@ export default class CaptionsApi { } /** - * 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) * Upload a caption * @param videoId The unique identifier for the video you want to add a caption to. * @param language A valid BCP 47 language representation. diff --git a/src/api/ChaptersApi.ts b/src/api/ChaptersApi.ts index 9b4720e..5f2b0d1 100644 --- a/src/api/ChaptersApi.ts +++ b/src/api/ChaptersApi.ts @@ -31,7 +31,7 @@ export default class ChaptersApi { } /** - * 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. * Upload a chapter * @param videoId The unique identifier for the video you want to upload a chapter for. * @param language A valid [BCP 47](https://github.com/libyal/libfwnt/wiki/Language-Code-identifiers) language representation. diff --git a/src/api/UploadTokensApi.ts b/src/api/UploadTokensApi.ts index d99b42c..2918bd7 100644 --- a/src/api/UploadTokensApi.ts +++ b/src/api/UploadTokensApi.ts @@ -27,7 +27,7 @@ export default class UploadTokensApi { } /** - * 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) * Generate an upload token * @param tokenCreationPayload */ diff --git a/src/api/VideosApi.ts b/src/api/VideosApi.ts index abd899c..5206408 100644 --- a/src/api/VideosApi.ts +++ b/src/api/VideosApi.ts @@ -37,7 +37,7 @@ export default class VideosApi { } /** - * 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). * Create a video object * @param videoCreationPayload video to create */ @@ -735,7 +735,7 @@ NOTE: If you are updating an array, you must provide the entire array as what yo * @param {Object} searchParams * @param { string } searchParams.title 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. * @param { Array<string> } searchParams.tags 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. - * @param { { [key: string]: string; } } searchParams.metadata 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. + * @param { { [key: string]: string; } } searchParams.metadata 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. * @param { string } searchParams.description Retrieve video objects by `description`. * @param { string } searchParams.liveStreamId Retrieve video objects that were recorded from a live stream by `liveStreamId`. * @param { 'title' | 'createdAt' | 'publishedAt' | 'updatedAt' } searchParams.sortBy Use this parameter to sort videos by the their created time, published time, updated time, or by title. diff --git a/src/model/LiveStream.ts b/src/model/LiveStream.ts index 702bdd9..d7addf1 100644 --- a/src/model/LiveStream.ts +++ b/src/model/LiveStream.ts @@ -27,7 +27,7 @@ export default class LiveStream { */ 'streamKey'?: string; /** - * 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). + * 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). */ '_public'?: boolean; 'assets'?: LiveStreamAssets; diff --git a/src/model/LiveStreamCreationPayload.ts b/src/model/LiveStreamCreationPayload.ts index 2c55601..c87d6fa 100644 --- a/src/model/LiveStreamCreationPayload.ts +++ b/src/model/LiveStreamCreationPayload.ts @@ -18,7 +18,7 @@ export default class LiveStreamCreationPayload { */ 'name': string; /** - * 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). + * 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). */ '_public'?: boolean; /** diff --git a/src/model/LiveStreamUpdatePayload.ts b/src/model/LiveStreamUpdatePayload.ts index e597a32..98020ba 100644 --- a/src/model/LiveStreamUpdatePayload.ts +++ b/src/model/LiveStreamUpdatePayload.ts @@ -18,7 +18,7 @@ export default class LiveStreamUpdatePayload { */ 'name'?: string; /** - * 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). + * 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). */ '_public'?: boolean; /** diff --git a/src/model/Video.ts b/src/model/Video.ts index 492bb3a..976445b 100644 --- a/src/model/Video.ts +++ b/src/model/Video.ts @@ -44,7 +44,7 @@ export default class Video { */ 'tags'?: Array; /** - * 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. */ 'metadata'?: Array; 'source'?: VideoSource; @@ -54,7 +54,7 @@ export default class Video { */ 'playerId'?: string; /** - * 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/). */ '_public'?: boolean; /** diff --git a/src/model/VideoCreationPayload.ts b/src/model/VideoCreationPayload.ts index fdfc079..4436606 100644 --- a/src/model/VideoCreationPayload.ts +++ b/src/model/VideoCreationPayload.ts @@ -28,7 +28,7 @@ export default class VideoCreationPayload { */ 'source'?: string; /** - * 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) + * 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) */ '_public'?: boolean; /** @@ -48,7 +48,7 @@ export default class VideoCreationPayload { */ 'tags'?: Array; /** - * 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). + * 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/). */ 'metadata'?: Array; 'clip'?: VideoClip; diff --git a/src/model/VideoUpdatePayload.ts b/src/model/VideoUpdatePayload.ts index fb7a0ef..4a3a7af 100644 --- a/src/model/VideoUpdatePayload.ts +++ b/src/model/VideoUpdatePayload.ts @@ -26,7 +26,7 @@ export default class VideoUpdatePayload { */ 'description'?: string; /** - * 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). + * 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/). */ '_public'?: boolean; /** @@ -42,7 +42,7 @@ export default class VideoUpdatePayload { */ 'tags'?: Array; /** - * 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. + * 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. */ 'metadata'?: Array; diff --git a/test/payloads/livestreams/create/responses200.json b/test/payloads/livestreams/create/responses200.json index d1f1df2..306bbd5 100644 --- a/test/payloads/livestreams/create/responses200.json +++ b/test/payloads/livestreams/create/responses200.json @@ -19,6 +19,6 @@ "iframe" : "", "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" } } \ No newline at end of file diff --git a/test/payloads/livestreams/get/responses200.json b/test/payloads/livestreams/get/responses200.json index d1f1df2..306bbd5 100644 --- a/test/payloads/livestreams/get/responses200.json +++ b/test/payloads/livestreams/get/responses200.json @@ -19,6 +19,6 @@ "iframe" : "", "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" } } \ No newline at end of file diff --git a/test/payloads/livestreams/list/responses200.json b/test/payloads/livestreams/list/responses200.json index 2d797b8..5bed3fe 100644 --- a/test/payloads/livestreams/list/responses200.json +++ b/test/payloads/livestreams/list/responses200.json @@ -20,7 +20,7 @@ "iframe" : "", "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", @@ -43,7 +43,7 @@ "iframe" : "", "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" : { diff --git a/test/payloads/livestreams/update/responses200.json b/test/payloads/livestreams/update/responses200.json index d1f1df2..306bbd5 100644 --- a/test/payloads/livestreams/update/responses200.json +++ b/test/payloads/livestreams/update/responses200.json @@ -19,6 +19,6 @@ "iframe" : "", "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" } } \ No newline at end of file