AUR web interface

Tasklist

FS#9714 - RPC api type=info doesn't work

Attached to Project: AUR web interface
Opened by Ben Dibbens (ibendiben) - Thursday, 28 February 2008, 14:36 GMT
Last edited by Callan Barrett (wizzomafizzo) - Thursday, 27 March 2008, 08:37 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 1.5.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

When testing the rpc interface http://aur.archlinux.org/rpc.php? states:

----------------------------

The methods currently allowed are:

* search
* info


Each method requires the following HTTP GET syntax:
type=methodname&arg=data

Where methodname is the name of an allowed method, and data is the argument to the call.

If you need jsonp type callback specification, you can provide an additional variable callback.
Example URL:
http://aur-url/rpc.php?type=search&arg=foobar&callback=jsonp1192244621103

-----------------

type=search seems to work OK, when I try anything with typ=info however it returns an error:
{"type":"error","results":"No result found"}

Example URL:
http://aur.archlinux.org/rpc.php?type=info&arg=tupac

Do I do something wrong or isn't this fully implemented yet?
I'd like to try this feature!
This task depends upon

Closed by  Callan Barrett (wizzomafizzo)
Thursday, 27 March 2008, 08:37 GMT
Reason for closing:  Fixed

Loading...