documentation: First few API functions

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