Firebase: Is it possible to retrieve a Projectbucket name

I have spent hours trying to figure out a way to do this…but is it possible to retrieve a projectbucket name if all you are starting with is a value of an item inside that projectbucket. I have an option in the app that allows a user to pick from the values in the list. When they choose that value…I would like to retrieve all other values in the same projectbucket. Is it possible to do that without knowing what the projectbucket name is?

Thanks

If you set the projectBucket to a blank text block, then call the getTagList, this will return all the top level tags (projectBuckets) for your projectID. Set the projectBucket to one of those tags, call the getTagList and this returns all the tags(projectBuckets) for that projectBucket.