Newer Version Available

This content describes an older version of this product. View Latest

Folder Child Operations

Gets information about the child folders of the specified folder.

Syntax

The following user permissions are needed to access this resource.

GET:

  • View access to the root folder in the tree
URI
/services/data/v43.0/folders/<folderid>/children
Formats
JSON
HTTP methods
Method Description
GET Gets information about the child folders of the specified folder.
Parameters
Parameter Type Available Version Description
folderId String 42.0 Return data for this unique folder ID.
page Integer 43.0 Integer that indicates which page of results to return. Default is 1.
pageSize Integer 43.0 Integer that indicates how many results each page returns. Default is 10.

GET

Gets information about the child folders of the specified folder.

/services/data/v43.0/folders/<folderid>/children

Output Payload

FolderCollectionRepresentation

Sample Output Response
1{
2  "folders" : [ {
3    "childrenUrl" : "/services/data/v43.0/folders/00lR0000000Mf56IAC/children",
4    "id" : "00lR0000000Mf56IAC",
5    "label" : "BW33",
6    "name" : "BW33",
7    "parentId" : "00lR0000000E84WIAS",
8    "type" : "report",
9    "url" : "/services/data/v43.0/folders/00lR0000000Mf56IAC"
10  } ],
11  "totalSize" : 1,
12  "url" : "/services/data/v43.0/folders/00lR0000000E84WIAS/children?page=1&pageSize=10"
13}