Implementation of api spec v2