571a3d1671
Add request types as type arguments in API routes. This also includes adding / rearranging types under the `types` package. PR 7/n