code: public function editPost($blogName, $postId, $data)
      {
          $data['id'] = $postId;
          $path = $this->blogPath($blogName, '/post/edit');
  
          return $this->postRequest($path, $data, false);
      }
docs: Edit a post
  
  @param string $blogName the name of the blog
  @param int    $postId   the id of the post to edit
  @param array  $data     the data to save
  
  @return array the response array