Showing results for 
Search instead for 
Do you mean 
If you don't find an answer, please click here to post your question.
Reply
Occasional Contributor
Posts: 2
Registered: ‎10-19-2012
Accepted Solution

V2 Thumbnail Query Example

How can I fetch thumbnails using V2 API. I cannot find any details for this apart from this page. But it doesnt indicate how to post signature and other data which were being passed as GET parameters in V1.


Accepted Solutions
Ooyalan
Posts: 31
Registered: ‎06-26-2012

Re: V2 Thumbnail Query Example

Hi,

 

Ooyala does create preview images at different sizes. The way to retrieve them is by making an API call to the primary preview image:

 

/v2/assets/asset_id/primary_preview_image

 

The result body will contain all the sizes of the selected frame.

 

As a note, this only works for generetaed preview images as Ooyala does not transcode different sizes for custom or remote thumbnails.

 

Thanks

 

 

View solution in original post


All Replies
Ooyalan
Posts: 31
Registered: ‎06-26-2012

Re: V2 Thumbnail Query Example

[ Edited ]

Hi k

 

In Backlot API V2 there are three types of thumbnails: Images generated by transcoding, images uploaded by you and remote thumbnails

  • The path to get the generated preview images is: /v2/assets/:asset_id/generated_preview_images
  • The path to get the images uploaded by you is:/v2/assets/:asset_id/preview_image_files
  • The path to get the remote images: /v2/assets/:asset_id/preview_image_urls

The path to get the assigned primary preview image is (This is the thumbnail assigned to a video which can only be one)
/v2/assets/:asset_id/primary_preview_image

 

Also This link has detailed information on how to generate the signature for v2:

 

http://help.ooyala.com/video-platform/tasks/api_signing_requests.html

 

Thanks
Ooyala Technical Support Team

Frequent Visitor
Posts: 4
Registered: ‎01-02-2013

Re: V2 Thumbnail Query Example

That's helpful but when we make a call to /generated_preview_images all the images returned are the same height and widt.

The documentation mentions that Ooyala creates preview images at different sizes, and these are used if you create a MRSS syndication for example.

 

How can we retrieve all images at all sizes, or request images of a certain size?

The v1 API did this by querystring but can't see any documentation for doing similar with the v2 API.

 

 

James

Ooyalan
Posts: 31
Registered: ‎06-26-2012

Re: V2 Thumbnail Query Example

Hi,

 

Ooyala does create preview images at different sizes. The way to retrieve them is by making an API call to the primary preview image:

 

/v2/assets/asset_id/primary_preview_image

 

The result body will contain all the sizes of the selected frame.

 

As a note, this only works for generetaed preview images as Ooyala does not transcode different sizes for custom or remote thumbnails.

 

Thanks

 

 

Ooyala Alumni (Retired)
Posts: 1
Registered: ‎08-13-2015

Re: V2 Thumbnail Query Example

Hi, Can you please help us to get the thumbnail image of particular size.It will be great if we get the url for the particular size of thumbnail image EX: http://ak.c.ooyala.com/videocontentID/imageSize