Appearance
List the Trash
About 169 wordsLess than 1 minute
apiFiles
2026-10-10
Lists deleted items in the caller's Trash, with where each one was deleted from.
| Method and path | GET /plugin/datafor-modeler/api/repo/files/deleted |
| Permission | Any signed-in user |
| Content type | none (query string) |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
all | query | boolean | No | Default false: only items the caller deleted, with originalPathTitle filled in. true: every deleted item the repository returns for the caller. |
Example
curl -u admin:password \
"http://localhost:28080/datafor/plugin/datafor-modeler/api/repo/files/deleted"[
{
"name": "Revenue.datafor",
"id": "66666666-7777-8888-9999-000000000000",
"title": "Revenue",
"folder": false,
"originalParentFolderPath": "/public/Sales",
"originalPathTitle": "/Public/Sales/Revenue",
"deletedDate": "1760083200000"
}
]Use id with Restore items from the Trash or Permanently delete items.
Errors
| Response | When |
|---|---|
{"success": false, "msg": "..."} | The Trash could not be read. |