<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Not getting the field total_count on List blog posts call in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Not-getting-the-field-total-count-on-List-blog-posts-call/m-p/280911#M25812</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/665"&gt;@IsaacTakushi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I do recieved the &lt;STRONG&gt;total&lt;/STRONG&gt; field at the bottom of the response but it doesn't match the number of return objects like the &lt;STRONG&gt;total_count&lt;/STRONG&gt; did.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today we have changed our logic to count the numbers of objects in the response instead of relying on the total_count field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2019 16:17:17 GMT</pubDate>
    <dc:creator>mlavigne</dc:creator>
    <dc:date>2019-07-16T16:17:17Z</dc:date>
    <item>
      <title>Not getting the field total_count on List blog posts call</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Not-getting-the-field-total-count-on-List-blog-posts-call/m-p/280691#M25794</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use to get a property&amp;nbsp;&lt;EM&gt;total_count&lt;/EM&gt; on the return json when calling&amp;nbsp;/content/api/v2/blog-posts as per the documentation here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.hubspot.com/docs/methods/blogv2/get_blog_posts" target="_blank"&gt;https://developers.hubspot.com/docs/methods/blogv2/get_blog_posts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My logic relies on this property but it's now missing. Is that a bug, api change, am I the only one missing this field? I'm wondering if it is safe to rely on this value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 15:34:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Not-getting-the-field-total-count-on-List-blog-posts-call/m-p/280691#M25794</guid>
      <dc:creator>mlavigne</dc:creator>
      <dc:date>2019-07-15T15:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting the field total_count on List blog posts call</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Not-getting-the-field-total-count-on-List-blog-posts-call/m-p/280857#M25811</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17382"&gt;@mlavigne&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something does seem to have changed. The response I receive from the&amp;nbsp;&lt;EM&gt;List blog posts&lt;/EM&gt; endpoint no longer matches the JSON example &lt;A href="https://developers.hubspot.com/docs/methods/blogv2/get_blog_posts" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While I don't receive a&amp;nbsp;&lt;CODE&gt;total_count&lt;/CODE&gt; field, as documented, I do see a &lt;CODE&gt;total&lt;/CODE&gt; field at the bottom of the payload alongside the &lt;CODE&gt;offset&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you see a &lt;CODE&gt;total&lt;/CODE&gt; field returned?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 13:09:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Not-getting-the-field-total-count-on-List-blog-posts-call/m-p/280857#M25811</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-07-16T13:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting the field total_count on List blog posts call</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Not-getting-the-field-total-count-on-List-blog-posts-call/m-p/280911#M25812</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/665"&gt;@IsaacTakushi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I do recieved the &lt;STRONG&gt;total&lt;/STRONG&gt; field at the bottom of the response but it doesn't match the number of return objects like the &lt;STRONG&gt;total_count&lt;/STRONG&gt; did.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today we have changed our logic to count the numbers of objects in the response instead of relying on the total_count field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 16:17:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Not-getting-the-field-total-count-on-List-blog-posts-call/m-p/280911#M25812</guid>
      <dc:creator>mlavigne</dc:creator>
      <dc:date>2019-07-16T16:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting the field total_count on List blog posts call</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Not-getting-the-field-total-count-on-List-blog-posts-call/m-p/280916#M25813</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17382"&gt;@mlavigne&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the additional context. I'm glad you have a workaround for the moment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66274"&gt;@WendyGoh&lt;/a&gt;&amp;nbsp;and I will confirm whether &lt;CODE&gt;total&lt;/CODE&gt; should match what was formerly returned in &lt;CODE&gt;total_count&lt;/CODE&gt; and update this thread accordingly.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 16:46:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Not-getting-the-field-total-count-on-List-blog-posts-call/m-p/280916#M25813</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-07-16T16:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting the field total_count on List blog posts call</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Not-getting-the-field-total-count-on-List-blog-posts-call/m-p/280972#M25816</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17382"&gt;@mlavigne&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The team confirmed that&amp;nbsp;&lt;CODE&gt;total&lt;/CODE&gt; should be used in place of &lt;CODE&gt;total_counts&lt;/CODE&gt; and that the values should match. We will be updating the documentation accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're seeing discrepancies between the number of objects returned and the&amp;nbsp;&lt;CODE&gt;total&lt;/CODE&gt;&amp;nbsp;value, could you share an example response via direct message which exhibits the issue?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 20:28:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Not-getting-the-field-total-count-on-List-blog-posts-call/m-p/280972#M25816</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-07-16T20:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting the field total_count on List blog posts call</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Not-getting-the-field-total-count-on-List-blog-posts-call/m-p/280974#M25817</link>
      <description>&lt;P&gt;Thank you for the prompt reply&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/665"&gt;@IsaacTakushi&lt;/a&gt;, much appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 20:31:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Not-getting-the-field-total-count-on-List-blog-posts-call/m-p/280974#M25817</guid>
      <dc:creator>mlavigne</dc:creator>
      <dc:date>2019-07-16T20:31:07Z</dc:date>
    </item>
  </channel>
</rss>

