On the files page, currently all files are shown in one large list – ideally we should add folders to this view. Basically I imagine there are new records in the directus_files that are "folders" instead of files:
We add a "folderparent" column to "directusfiles" – every folder has this value set to NULL (root) or another folder (nested folder), and all files have it set to the folder that it is contained within.
Visually these folders should have some meta data displayed on them (number of files, etc) and all files and folders should be drag&droppable.
How can you identify the DB on which the user logs on to the API?
Maybe like that ?
curl -d "firstname.lastname@example.org&password=pass123&db=mydb" https://account-instance.directus.io/api/1.1/auth/request-token
Sorry not the right topic :(
Join the discussion!