PHP Class SevenShores\Hubspot\Resources\Blogs

Inheritance: extends Resource
Mostra file Open project: fungku/hubspot-php

Public Methods

Method Description
all ( array $params = [] ) : Response Get all blogs.
getById ( string $id ) : Response Get information about a specific blog.
getVersion ( string $id, string $version_id ) : Response Get a previous version of the blog.
versions ( string $id ) : Response Get previous versions of the blog.

Method Details

all() public method

Get all blogs.
public all ( array $params = [] ) : Response
$params array Optional parameters ['limit', 'offset', 'created', 'deleted_at', 'name']
return SevenShores\Hubspot\Http\Response

getById() public method

Get information about a specific blog.
public getById ( string $id ) : Response
$id string
return SevenShores\Hubspot\Http\Response

getVersion() public method

Get a previous version of the blog.
public getVersion ( string $id, string $version_id ) : Response
$id string Blog id.
$version_id string Version id.
return SevenShores\Hubspot\Http\Response

versions() public method

Get previous versions of the blog.
public versions ( string $id ) : Response
$id string Blog id.
return SevenShores\Hubspot\Http\Response