Recycle Bin
Get paginated recycle bin items
Changed onGet all paginated recycle bin items. <br> You can specify different filters in your request body. Example filters are: <br>
<ul> <li><strong>page</strong>: Used for offset calculation in pagination. To be used, needs to be defined together with the page.size</li> <li><strong>pageSize</strong>: Used for limiting the result numbers per page. To be used, needs to be defined together with the page</li> <li><strong>date</strong>: Filter by deletion date (on, from, to)</li> <li><strong>path</strong>: Filter by element path</li> <li><strong>type</strong>: Filter by element type (asset, document, object)</li> </ul>post/pimcore-studio/api/recycle-bin/items
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /pimcore-studio/api/recycle-bin/items
- Auth: none declared
Request body
Example request
{
"filters": {
"page": 1,
"pageSize": 50
}
}Response
Paginated recycle bin items with total count
Example response
{
"totalItems": 666,
"items": [
{
"id": 1,
"amount": 1,
"date": 1617267600,
"deletedBy": "admin",
"path": "/path/to/element",
"subtype": "folder",
"type": "asset"
}
]
}Changes
- info
added the new optional request property
/
- info