mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add usage output info for maintainer search extension
Add msearch type to the list on http://aur.archlinux.org/rpc.php Signed-off-by: Laszlo Papp <djszapi@archlinux.us> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
cf49644f4e
commit
1eff1d223b
1 changed files with 2 additions and 1 deletions
|
@ -11,13 +11,14 @@ if ( $_SERVER['REQUEST_METHOD'] == 'GET' ) {
|
|||
}
|
||||
else {
|
||||
// dump a simple usage output for people to use.
|
||||
// this could be moved to an api doc in the future, or generated from
|
||||
// this could be moved to an api doc in the future, or generated from
|
||||
// the AurJSON class directly with phpdoc. For now though, just putting it here.
|
||||
echo '<html><body>';
|
||||
echo 'The methods currently allowed are: <br />';
|
||||
echo '<ul>';
|
||||
echo '<li>search</li>';
|
||||
echo '<li>info</li>';
|
||||
echo '<li>msearch</li>';
|
||||
echo '</ul><br />';
|
||||
echo 'Each method requires the following HTTP GET syntax:<br />';
|
||||
echo ' type=<i>methodname</i>&arg=<i>data</i> <br /><br />';
|
||||
|
|
Loading…
Add table
Reference in a new issue