api: fix allowed methods
api: add some tests
API: add some test for outing listing