Hello.
The data API documents how to delete a folder:
DELETE /folders/:id
Deletes the folder with ID :id
But it doesn't state about the descendant folders and notes.
Are those descendants recursively deleted? Or will they finished orphans and will be deleted after a safety period?
Or do I need to delete them recursively if I want everything to be deleted?
I'll do, but since I don't really know what will happen to orphan notes (if any), I've asked. Probably the devs of that feature can answer. And the API doc could be updated for future readers.
Hell.
Thanks for your answers. @rxliuli : your batch web is cool !! I've bookmarked it and it helped, and will help.
So I did the test: if I create a notebook tree like that:
NB1 = a root notebook
NB1.1 = a notebook with NB1 as parent.
NB1 contains note1
NB1.1 contains note1.1
note1 contains a ressource
note1.1 also
If I delete NB1 through data API (endpoint DELETE /folders/:id), it results to delete everything below NB1 but the ressources. In other words: notebook and all its descendant notebooks and notes are deleted. But the ressources remains, orphans, and indeed, are found are found as such in your tool, @rxliuli .