[dev] More Ansel share stuff...

Chuck Hagenbuch chuck at horde.org
Mon Aug 7 11:08:39 PDT 2006


Quoting Michael Rubinsky <mike at theupstairsroom.com>:

> If accessing Ansel strictly through the api, it is impossible to   
> list shares of only a certain parent share by using the $parent   
> parameter of the Ansel::listGalleries() method - unless we already   
> have the unique share_name of the parent...which would be unlikely   
> since there is currently no way to retrieve it through the Ansel   
> api.  I guess the only real solution (unless this functionality   
> isn't seen as that important) would be to add another new method to   
> the api to retrieve the share_name by datatree_id.  I really don't   
> like the idea of having to access the same data by two different   
> keys though...

Change the listGalleries API call to do the translation from datatree  
id to parent. Or change Ansel::listGalleries().

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the dev mailing list