4.3 Get Server Folders
Client Request:
-
GET https://www.contoso.com/services/builtin/storagemanagement.svc/serverfolders/index/0/count/2147483647 HTTP/1.1 User-Agent: Sample App Name/1.0.0.0 Accept: application/xml Canary: 7a10f945-91af-0597-14fd-a03bbdec2420 Host: domainName Cookie: ASP.NET_SessionId=hincf5pfrry4etux3rfe4n5k Host: domainName
Server Response (XML):
-
HTTP/1.1 200 OK Cache-Control: no-cache Content-Length: 1791 Content-Type: application/xml; charset=utf-8 Server: Microsoft-IIS/8.5 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET X-Content-Type-Options: nosniff Date: Fri, 14 Jun 2013 11:08:10 GMT <PartialCollection_Of_FolderInfo xmlns="http://contracts.microsoft.com/WindowsServerEssentials/2011/09/WebApi" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <CollectionChunk> <FolderInfo> <AccessPermission>Full</AccessPermission> <CurrentStatus>Healthy</CurrentStatus> <Description>Users</Description> <DriveFreeSpace>96528044032</DriveFreeSpace> <DriveID>75f98280-cbbf-409a-a2f1-dff1de8af145</DriveID> <FolderType>UserType</FolderType> <ID>6b2c4cd0-9a34-493f-939c-f7641491b4ee</ID> <Name>Users</Name> <Path>C:\ServerFolders\Users2</Path> <SharePath>\\domainName\Shared Folders\Users</SharePath> <Shared>true</Shared> <UncPath>\\domainName\Users</UncPath> </FolderInfo> <FolderInfo> <AccessPermission>Full</AccessPermission> <CurrentStatus>Healthy</CurrentStatus> <Description>Company</Description> <DriveFreeSpace>96528044032</DriveFreeSpace> <DriveID>75f98280-cbbf-409a-a2f1-dff1de8af145</DriveID> <FolderType>CompanyType</FolderType> <ID>3f2ff46c-031e-4ade-bdeb-e101e9c3d33a</ID> <Name>Company</Name> <Path>C:\ServerFolders\Company2</Path> <SharePath>\\domainName\Shared Folders\Company</SharePath> <Shared>true</Shared> <UncPath>\\domainName\Company</UncPath> </FolderInfo> <FolderInfo> <AccessPermission>Full</AccessPermission> <CurrentStatus>Healthy</CurrentStatus> <Description/> <DriveFreeSpace>96538091520</DriveFreeSpace> <DriveID>75f98280-cbbf-409a-a2f1-dff1de8af145</DriveID> <FolderType>NonPredefinedType</FolderType> <ID>084c36d8-dbaf-4ec0-945e-dcf6684bda96</ID> <Name>Software</Name> <Path>C:\ServerFolders\software</Path> <SharePath>\\domainName\Shared Folders\software</SharePath> <Shared>true</Shared> <UncPath>\\domainName\software</UncPath> </FolderInfo> </CollectionChunk> <CollectionModified>2013-12-01T19:24:17.12413-08:00</CollectionModified> <CollectionSize>3</CollectionSize> </PartialCollection_Of_FolderInfo>