Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Folder Child Operations
The following user permissions are needed to access this resource.
GET:
- View access to the root folder in the tree
Syntax
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}