add api ping

Signed-off-by: Markus Lamm <markus Lamm@googlemail.com>