/
DC 5.6 GetCatalogFolders
DC 5.6 GetCatalogFolders
This search is used for getting the catalog folder in which assets are located
URL : /SearchService.js
Method : POST
Auth required : Yes
Required parameters
Name | Example | Description |
---|---|---|
SearchName | GetCatalogFolders | Fixed parameter that identifies the endpoint method. |
accessKey | 2d8319f4-7a57-4ca0-a027-c44c2f259aac | accessKey for api |
Optional parameters
Name | Example | Description |
---|---|---|
folderPrevRef | 49 | id of the parent catalog folder (0 is the root) |
cUrl data example
Success Response
Code : 200 OK
Content example
{ "success": true, "error": "", "total": "2", "items": [{ "itemId": "5732", "totalCases": "2", "folderId": "50", "prevRef": "49", "name": "Images", "childCount": "0", "assetsInFolder": "0", "assetsInFolderRecursive": "0", "writeAccess": "1" }, { "itemId": "5733", "totalCases": "2", "folderId": "51", "prevRef": "49", "name": "Video", "childCount": "0", "assetsInFolder": "0", "assetsInFolderRecursive": "0", "writeAccess": "1" }] }
Error Response
Code : 200 OK
Content example
{ "success": false, "total": 0, "error": "A critical exception occurred while we executed the search.\r\n", "items": null, "warnings": [{ "Severity": 150, "Code": 420, "Description": "A critical exception occurred while we executed the search." }] }
, multiple selections available,
Related content
DC 5.6 GetMetafieldTreeNodes
DC 5.6 GetMetafieldTreeNodes
Read with this
DC 5.4 GetCatalogFolders
DC 5.4 GetCatalogFolders
More like this
DC 5.6 UploadFileChunks
DC 5.6 UploadFileChunks
Read with this
DC 5.9 GetCatalogFolders
DC 5.9 GetCatalogFolders
More like this
DC 5.7 GetCatalogFolders
DC 5.7 GetCatalogFolders
More like this
DC 5.8 GetCatalogFolders
DC 5.8 GetCatalogFolders
More like this