[WIP] Feature/api v3 base

https://www.openproject.org/work_packages/8769
@mtakac this might be contentious, but I think the stabby lambda syntax `->` would look better here.