Cells purging question

@zayn,

Ok, so I’ve made progress!

(1) I created a workspace called “Cells Data” with the slug “cellsdataws” with Read Only basic permissions.

(2) Assigned Read/Write permissions to the Administrator Role.

(3) I tried to list the workspace contents using a/tree/stat but this only lists the content of one node at a time, which would require me to write a recursive script to run through all the nodes to find what I want. Instead of this, I am using a/tree/admin/list to actually find contents of the DATASOURCE:cellsdata with the LEAF filter, and this is great because I can get a full list of all the files and their MTime from a single API call.

(4) I used a/tree/delete to delete the node, however, because the node must reside in a workspace I replaced the datasource name (cellsdata) with the workspace slug (cellsdataws) in the path and it works…sort of. So, it actually moved the node into the recycle bin, which is not quite what I wanted.

(5) I used a/tree/delete to delete the recycle_bin and that cleared it out too.

So, this works!

Thank you sooo much!