api requests (wip)

Signed-off-by: Arnaud Richard <a.richard@webshell.io>