FS#17583 - JSON: enable multiple arguments for "info" method
Attached to Project:
AUR web interface
Opened by Xyne (Xyne) - Wednesday, 23 December 2009, 00:00 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 20 August 2011, 18:18 GMT
Opened by Xyne (Xyne) - Wednesday, 23 December 2009, 00:00 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 20 August 2011, 18:18 GMT
|
Details
In order to get JSON information for multiple packages, you
currently have to submit multiple requests, e.g.
...?method=info&arg=this ...?method=info&arg=that etc It would be useful if multiple arguments could be submitted simultaneously. The output would then contain an array of results just as "?method=search" currently does. Even if such a query would require more overhead, it would almost certainly be less than the current overhead of establishing multiple connections, multiple independent database queries, multiple results sent back to the client, etc. A simple space would be used to separate the package names, e.g. ...?method=info&arg=this that equivalent to ...?method=info&arg=this%20that |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Saturday, 20 August 2011, 18:18 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented in 1.9.0.
Saturday, 20 August 2011, 18:18 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented in 1.9.0.
[1] http://projects.archlinux.org/aur.git/commit/?id=0488e8597c83ce9dfc75398db197249196157e6d