Your comments

I just tested and it works great.  Thanks again!

You rock!  Thank you so much. Did you put in devel branch? I see a commit to /api/functions.php 23 mins ago.  Is that all I need?

Here's what I'm trying to achieve.  I have many network devices.  These devices are at different customer sites.  I want to make each device password unique.  I want to group each device by customer, that is I want to have each customer have it's own folder. 


The control of the devices is done with python and involves different systems such as IPAM, Net mon, Radius, Cust dbase, and of course Teampass.  The password gen function via the teampass API is working well, but after generation I need to be able to store them in an organized manner. 


So I need to be able to create folder and add to that folder based on label(cust name).  So an API function allow search/add key by label(not just id) would be ideal.


A function that lists all folders would also work and might be easier to create on your side.  I can take all the folders, serialize into JSON, for each loop over them, and pull the 'id' when the label matches.  Then I can create a key with that folder id.


I hope that makes sense.

There seem to be different docs for the API out in the big internet.  These worked for me:


https://teampass.readthedocs.io/en/latest/api/api-read/