GET api/folders

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of FolderDepth
NameDescriptionTypeAdditional information
Id

integer

None.

FolderName

string

None.

Depth

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "FolderName": "sample string 2",
    "Depth": 3
  },
  {
    "Id": 1,
    "FolderName": "sample string 2",
    "Depth": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfFolderDepth xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sharepoint.Models">
  <FolderDepth>
    <Depth>3</Depth>
    <FolderName>sample string 2</FolderName>
    <Id>1</Id>
  </FolderDepth>
  <FolderDepth>
    <Depth>3</Depth>
    <FolderName>sample string 2</FolderName>
    <Id>1</Id>
  </FolderDepth>
</ArrayOfFolderDepth>