If this was present in Fedora 2.2, we should maybe treat this as a
regression bug introduced in 3.x?  It would seem useful to include the total
number of results for paging, as suggested.

completeListSize is in the WSDL for the response to findObjects.  But is not
actually returned by the SOAP API-A method.

Steve

> -----Original Message-----
> From: Riccardo Valzorio [mailto:valzo...@cilea.it] 
> Sent: 17 January 2011 15:33
> To: Support and info exchange list for Fedora users.
> Subject: Re: [fcrepo-user] get total result from findObjects restapi
> 
> 
> Hello,
> 
> is not possible to get that number via API-A. You could try 
> to get it by querying the db (if necessary).
> 
> API-A-Lite will be soon deprecated - use /object instead of /search .
> 
> R
> 
> 
> On 15/gen/2011, at 15.59, markux wrote:
> 
> > 
> > Hello everybody,
> > 
> > I've installed fedora 3.4.1 and I've tried to query with /search and
> > /objects method url. They works very well, but I need to 
> paginate results.
> > 
> > I can get more results with resumeFindObjects, but it never return
> > completeListSize param like this example 
> > 
> > https://wiki.duraspace.org/display/FR22DOC/API-A-Lite+findObjects
> > 
> > Is it possible with version 3.4.1?
> > 
> > thanks  
> > -- 
> > View this message in context: 
> http://fedora-commons.1317035.n2.nabble.com/get-total-result-f
rom-findObjects-restapi-tp5924823p5924823.html
> Sent from the Fedora Commons Users mailing list archive at Nabble.com.
> 
>
----------------------------------------------------------------------------
--
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand 
> malware threats, the impact they can have on your business, and how you 
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users


---
Riccardo Valzorio

C.I.L.E.A.
Sezione Gestione Sistemi

Tel:      02 26995384
Mail:  valzo...@cilea.it

"A computer is like air conditioning: it becomes useless when you open
windows." L. Torvalds

GPG Key Fingeprint: BD93 74F3 42E6 B99C D9A1  7202 ABE6 8304 6F9C 18B0



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to