Added list support to api