Move repo and space create apis to /api/v1/repos/ and /api/v1/spaces/ and take name and parentId in body.