SevenShores\Hubspot\Resources\BlogPosts::pushBufferLive PHP Method

pushBufferLive() public method

Copies the contents of the auto-save buffer into the live blog post.
public pushBufferLive ( integer $id ) : Response
$id integer The blog post ID
return SevenShores\Hubspot\Http\Response
    function pushBufferLive($id)
    {
        $endpoint = "https://api.hubapi.com/content/api/v2/blog-posts/{$id}/push-buffer-live";
        return $this->client->request('post', $endpoint);
    }