function getById($id) { $endpoint = "https://api.hubapi.com/content/api/v2/blogs/{$id}"; return $this->client->request('get', $endpoint); }