Get all data object data for the tree
Listing of all data objects and data object folders in the system. <br> Returns only data which are relevant for the tree <br> You can use different query parameters to filter the data objects and it is possible to exclude folders from the result completely
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
Page number
Number of items per page
Filter data objects by parent id.
Filter assets/data-objects by matching ids. As a wildcard * can be used
Pql query filter
Filter folders from result.
Filter by path.
Include the parent item in the result.
Include all descendants in the result.
When provided, the search is executed on the specific data object class index.
Filter results based on the provided class IDs.
Response
Paginated data objects with total count as header param as JSON
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.