Data Objects
data_object_get_tree_summary
data_object_get_tree_description
get/pimcore-studio/api/data-objects/tree
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /pimcore-studio/api/data-objects/tree
- Auth: none declared
Query parameters
pageinteger required
Example:1
Page number
pageSizeinteger required
Example:10
Number of items per page
parentIdinteger
Example:1
Filter data objects by parent id.
idSearchTermstring
Filter assets/data-objects by matching ids. As a wildcard * can be used
pqlQuerystring
Example:series = empty AND color="red"
Pql query filter
excludeFoldersboolean
Filter folders from result.
pathstring
Example:/path/to/folder
Filter by path.
pathIncludeParentboolean
Example:true
Include the parent item in the result.
pathIncludeDescendantsboolean
Example:true
Include all descendants in the result.
classNamestring
Example:Car
When provided, the search is executed on the specific data object class index.
classIdsstring
Example:["Car"]
Filter results based on the provided class IDs.
Response
data_object_get_tree_success_response
Example response
{
"totalItems": 666,
"items": [
{
"id": 83,
"parentId": 1,
"path": "/path/to/element",
"icon": {
"type": "path",
"value": "/path/to/icon"
},
"userOwner": 1,
"userModification": 1,
"locked": "locked",
"creationDate": 221846400,
"modificationDate": 327417600,
"elementType": "asset",
"customAttributes": {
"icon": {
"type": "path",
"value": "/path/to/icon"
},
"tooltip": "<b>My Tooltip</b>",
"additionalIcons": [
"some_other_icon"
],
"key": "my_custom_key",
"additionalCssClasses": [
"my_custom_class"
]
},
"key": "Giulietta",
"className": "car",
"type": "image",
"fullPath": "/path/to/dataObject",
"permissions": {
"list": true,
"view": true,
"publish": true,
"delete": true,
"rename": true,
"create": true,
"settings": true,
"versions": true,
"properties": true,
"save": true,
"unpublish": true,
"localizedEdit": "default",
"localizedView": "default"
},
"childrenSortBy": "index",
"childrenSortOrder": "asc"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.