File Thumbnail APIs


To support media-rich and performant client applications, My Cloud Home supports media thumbnails in varying sizes. Thumbnails for Images and Videos are made from the content itself whereas an audio thumbnail is extracted from the audio metadata. By default, My Cloud Home will automatically create few thumbnails based on the image size. It will try to match the requesting size with the ones it has. Here are some sample thumbnail request in 80, 160 and 1080 sizes.

Image 80 x 80

GET /sdk/v2/files/m1G8rWNMXzEO5hdVvG5h3NrdNHJNvDZd5tVLXltk/content?minWidth=80&minHeight=80 HTTP/1.1Host: Endpoint-URLAuthorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOi

Image 320 x 160

GET /sdk/v2/files/m1G8rWNMXzEO5hdVvG5h3NrdNHJNvDZd5tVLXltk/content?minWidth=320&minHeight=160 HTTP/1.1Host: Endpoint-URLAuthorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI

Image 1080 x 1080

GET /sdk/v2/files/m1G8rWNMXzEO5hdVvG5h3NrdNHJNvDZd5tVLXltk/content?minWidth=1080&minHeight=1080 HTTP/1.1Host: Endpoint-URLAuthorization: Bearer eyJ0eXAiOiJKV1QiLCJh

APIs