add new api-module to output list of possible modules/functions

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2018-02-18 10:19:17 +01:00
parent bdfd601dae
commit 532551263d
6 changed files with 272 additions and 13 deletions

View File

@@ -213,16 +213,6 @@ abstract class ApiCommand
return $json_response;
}
public abstract function list();
public abstract function get();
public abstract function add();
public abstract function update();
public abstract function delete();
private function readUserData($header = null)
{
$sel_stmt = Database::prepare("SELECT * FROM `api_keys` WHERE `apikey` = :ak AND `secret` = :as");