api v2 first draft