Migrates everything to a new openapi-type API that should (when this PR is ready) enable codegen, at least for clients. Consolidates a lot of endpoints now documented in docs/http-api-design.md