rest-api: Add basic API structure tree

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>