Export (0) Print
Expand All

Retrieve a Thumbnail Image of a Media Item

Updated: October 9, 2012

Applies To: Windows Server 2012 Essentials

Retrieves a thumbnail image of a media item.

URI Template

GET services/builtin/MediaManagement.svc/thumbnail/mediaType/{mediaTypeData}/id/{ID}/width/{width}/height/{height}

{mediaTypeData}
The media type. Choose from one of the following values.

 

Media Type Value Meaning

music

An audio clip.

photo

A photo.

video

A video clip.

{ID}
The identifier of the media item.

{width}
The desired width of the thumbnail.

{height}
The desired height of the thumbnail.

Sample Request

GET https://www.contoso.com/services/builtin/MediaManagement.svc/thumbnail/mediaType/photo/id/B-358/width/320/height/240 HTTP/1.1
Accept: application/xml
Cookie: ASP.NET_SessionId=********************
Canary: *********************
Host: domainname


Sample Response

HTTP/1.1 200 OK
[binary]

Error Codes

 

Error Code Error Message

400

One or more parameters are not valid.

401

Access is denied to the requested resource.

404

The path does not exist.

See Also

Show:
© 2014 Microsoft