Retrieve Details about a Metadata Container

 

Updated: October 9, 2012

Applies To: Windows Server 2012 Essentials

Retrieves detailed information about a metadata container.

GET services/builtin/MediaManagement.svc/metadata/container/mediaType/{mediaTypeData}/groupingMethod/{groupingMethodData}?path={ContainerPath}

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

Media Type ValueMeaning
musicAudio clips.
photoPhotos.
videoVideo clips.

{groupingMethodData}
The grouping method. Choose from one of the following values.

Grouping Method ValueApplicable Media TypesMeaning
albummusicGroup by album.
albumartistmusicGroup by album artist.
allmusic, photo, or videoGroup by media type.
artistmusicGroup by artist.
datephotoGroup by date.
folderphoto or videoGroup by folder.
genremusicGroup by musical genre (style).
playlistmusicGroup by playlist.
ratingmusicGroup by rating.

{ContainerPath}
The path to the container. To specify the root container, leave this parameter empty.

GET https://www.contoso.com/services/builtin/MediaManagement.svc/metadata/container/mediaType/photo/groupingMethod/all?path= HTTP/1.1  
Accept: application/xml  
Cookie: ASP.NET_SessionId=********************  
Canary: *********************  
Host: domainname  
Content-Length: 0  

HTTP/1.1 200 OK  

<MetadataDetailResult  
    xmlns="http://contracts.microsoft.com/WindowsServerEssentials/2011/09/WebApi"  
    xmlns:i="http://www.w3.org/2001/XMLSchema-instance">  
  <Result>  
    <Date i:nil="true"/>  
    <Id>B</Id>  
    <Title>All Pictures</Title>  
    <TypeName>MetadataContainer</TypeName>  
    <AllCount>0</AllCount>  
    <AllDuration>0</AllDuration>  
    <AllSize>0</AllSize>  
    <CalculationDone>false</CalculationDone>  
    <Count>6</Count>  
    <FullPath/>  
  </Result>  
</MetadataDetailResult>  

Error CodeError Message
400One or more parameters are not valid.
401Access is denied to the requested resource.
404The path does not exist.

Web Service Methods

Community Additions

ADD
Show: