input: Write a function to create a basic CRUD API for the BlogPost model using Python/Flask. The API should include endpoints for creating a post, getting all posts, getting a single post, editing a post, and deleting a post.
  assert create_crud_api()=={'post': '/post', 'get_all_posts': '/posts', 'get_post': '/post/<id>', 'edit_post': '/post/<id>', 'delete_post': '/post/<id>'}
output: def create_crud_api():
      return {'post': '/post', 'get_all_posts': '/posts', 'get_post': '/post/<id>', 'edit_post': '/post/<id>', 'delete_post': '/post/<id>'}