Skip to content

Commit 09784be

Browse files
authored
Merge pull request #12995 from avnerms/patch-9
replacing thumbnailUrl with thumbnailId
2 parents 949c1eb + 3d2bd0d commit 09784be

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/cognitive-services/video-indexer/video-indexer-output-json-v2.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ This section shows the summary of the insights.
7777
|shortId|The ID of the video. For example, 63c6d532ff.|
7878
|privacyMode|Your breakdown can have one of the following modes: **Private**, **Public**. **Public** - the video is visible to everyone in your account and anyone that has a link to the video. **Private** - the video is visible to everyone in your account.|
7979
|duration|Contains one duration that describes the time an insight occurred. Duration is in seconds.|
80-
|thumbnailUrl|The video's thumbnail full URL. For example, "https://www.videoindexer.ai/api/Thumbnail/3a9e38d72e/d1f5fac5-e8ae-40d9-a04a-6b2928fb5d10?accessToken=eyJ0eXAiOiJKV1QiLCJhbGciO...". Notice that if the video is private, the URL contains a one hour access token. After one hour, the URL will no longer be valid and you will need to either get the breakdown again with a new url in it, or call GetAccessToken to get a new access token and construct the full url manually ('https://www.videoindexer.ai/api/Thumbnail/[shortId]/[ThumbnailId]?accessToken=[accessToken]').|
80+
|thumbnailVideoId|The id of the video from which the thumbnail was taken.
81+
|thumbnailId|The video's thumbnail id. To get the actual thumbnail call Get-Thumbnail (https://api-portal.videoindexer.ai/docs/services/operations/operations/Get-thumbnail) and pass it thumbnailVideoId and thumbnailId.|
8182
|faces|May contain zero or more faces. For more detailed information, see [faces](#faces).|
8283
|keywords|May contain zero or more keywords. For more detailed information, see [keywords](#keywords).|
8384
|sentiments|May contain zero or more sentiments. For more detailed information, see [sentiments](#sentiments).|
@@ -102,7 +103,7 @@ This section shows the summary of the insights.
102103
|metadata|The video's external metadata (if specified by the user).|
103104
|isAdult|Indicates whether the video was manually reviewed and identified as an adult video.|
104105
|insights|The insights object. For more information, see [insights](#insights).|
105-
|thumbnailUrl|The video's thumbnail full URL. For example, "https://www.videoindexer.ai/api/Thumbnail/3a9e38d72e/d1f5fac5-e8ae-40d9-a04a-6b2928fb5d10?accessToken=eyJ0eXAiOiJKV1QiLCJhbGciO...". Notice that if the video is private, the URL contains a one hour access token. After one hour, the URL will no longer be valid and you will need to either get the breakdown again with a new url in it, or call GetAccessToken to get a new access token and construct the full url manually ('https://www.videoindexer.ai/api/Thumbnail/[shortId]/[ThumbnailId]?accessToken=[accessToken]').|
106+
|thumbnailId|The video's thumbnail id. To get the actual thumbnail call Get-Thumbnail (https://api-portal.videoindexer.ai/docs/services/operations/operations/Get-thumbnail) and pass it the video id and thumbnailId.|
106107
|publishedUrl|A url to stream the video.|
107108
|publishedUrlProxy|A url to stream the video from (for Apple devices).|
108109
|viewToken|A short lived view token for streaming the video.|

0 commit comments

Comments
 (0)