restificate the list api

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>