Hi Steffen This does indeed seem to be the case, there is not a single REST method that equates to API-M getDatastreams. Although as you say it is possible by iterating each individual datastream.
I have created a JIRA issue for this - https://jira.duraspace.org/browse/FCREPO-951 I haven't looked at the deleteDatastream return type, maybe someone else can shed some light on that. Steve > -----Original Message----- > From: Wagner, Steffen [mailto:[email protected]] > Sent: 01 June 2011 14:16 > To: [email protected] > Subject: [fcrepo-dev] REST API > > > Hi, > > Currently we're switching from the API-A and API-M methods to > the REST API and realized that the getDatastreams method has > no implemented counterpart at REST. Retrieving that data in a > loop over each single datastream would be a workaround with > performance impact - that's why we try to avoid it. > > Is there another efficient way to get these data? Or is maybe > the implementation of this method already on the way for Fedora 3.5? > > I haven't followed the REST API discussion, so I was a little > bit confusion about the return type of the deleteDatastream > Method, because the return type is JSON whereas all other > methods return XML (wadl). Is it a bug or a feature? > > Many thanks, > Steffen > > ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Fedora-commons-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
