Empty Trash
We have prepared and trashed a couple of objects:
Response: HTTP 200, application/json (Hide)
GET /trash
Response:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
{
"User": {
"2": "member"
},
"Comment": {
"1": "Here's a short list: * First item * Second Item"
},
"Company": {
"2": "Client Company",
"3": "Second Client Company"
},
"Project": {
"1": "Test Project"
},
"Discussion": {
"1": "New Discussion"
},
"TaskList": {
"1": "New Task List"
},
"Task": {
"1": "Task #1",
"2": "Task #2"
},
"Subtask": {
"1": "Subtask that will be automatically trashed"
},
"TimeRecord": {
"1": "Task #2 - Did an awesome job"
}
}Trash is emptied in waves, 100 items per wave (tested in "Empty Trash in Waves" case). Lets run one /trash request with default limit (100 items);
Response: HTTP 200, text/html
DELETE /trash
Trash is empty with one call: