API: folder and hierachy #2010
-
I am currently extending the android-app by bisada. With the incoming offline mode, i had to implement a database that holds the data locally. While doing so, i once again stumbled upon the peculiar implementation of folders in bookmarks. As far as i understand, each folder has an id, and only that id is attached to a bookmark. This leads me to the following: Is this recomended? If not, how should i do it? Secondary, in what cases can a bookmark have more than one folder? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey 👋 I'm happy to see the android app getting some love!
In the web UI, people can copy bookmarks to other folders which will add the same bookmark to the other folder. The reasoning is that every (user,URL) pair should only exist once.
You can also query only the immediate children of a folder as well as all descendants of a folder:
|
Beta Was this translation helpful? Give feedback.
Hey 👋
I'm happy to see the android app getting some love!
In the web UI, people can copy bookmarks to other folders which will add the same bookmark to the other folder. The reasoning is that every (user,URL) pair should only exist once.
You can also query only the immediate children of a folder as well as all descendants of a folder: