<?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: Analytics API - Listing Pages and Knowledge Articles in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231518#M10414</link>
    <description>&lt;P&gt;Hi again, &lt;A class="mention" href="https://community.hubspot.com/u/wes_thompson"&gt;@Wes_Thompson&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;That's a good question. What do you get when you query the &lt;A href="https://developers.hubspot.com/docs/methods/pages/get_pages_page_id"&gt;Get a page by ID&lt;/A&gt; endpoint? Could you share the IDs of a few &lt;CODE&gt;listing-pages&lt;/CODE&gt; and &lt;CODE&gt;knowledge-articles&lt;/CODE&gt; you're testing with?&lt;/P&gt;
&lt;P&gt;I don't know of any other endpoints that may return metadata on those page types, but I can certainly check with the team with some specific examples.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Nov 2018 14:06:52 GMT</pubDate>
    <dc:creator>IsaacTakushi</dc:creator>
    <dc:date>2018-11-06T14:06:52Z</dc:date>
    <item>
      <title>Analytics API - Listing Pages and Knowledge Articles</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231517#M10413</link>
      <description>&lt;P&gt;I am building a tool for users to view their HubSpot Analytics data and allowing them to split the data based on each endpoint's main object.&lt;/P&gt;
&lt;P&gt;For example, in regards to the Hosted Content endpoint (&lt;CODE&gt;analytics/v2/reports/:content_type/:time_period&lt;/CODE&gt;), I am allowing the users to split the data by the content type object.  So if the user chooses landing-pages or standard-pages, I take the Page ID returned by the &lt;CODE&gt;breakdown&lt;/CODE&gt; field and get the name of that page using the List Pages endpoint (&lt;CODE&gt;content/api/v2/pages&lt;/CODE&gt;).&lt;/P&gt;
&lt;P&gt;This way the user can see the data split by a readable name and not by an ID.  However, when using the &lt;CODE&gt;listing-pages&lt;/CODE&gt; or &lt;CODE&gt;knowledge-articles&lt;/CODE&gt; content types, I am not able to find an endpoint where I can swap those IDs for more human readable names or titles.  Is there an endpoint that returns some metadata or something for each of these?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2018 20:05:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231517#M10413</guid>
      <dc:creator>Wes4</dc:creator>
      <dc:date>2018-11-05T20:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics API - Listing Pages and Knowledge Articles</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231518#M10414</link>
      <description>&lt;P&gt;Hi again, &lt;A class="mention" href="https://community.hubspot.com/u/wes_thompson"&gt;@Wes_Thompson&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;That's a good question. What do you get when you query the &lt;A href="https://developers.hubspot.com/docs/methods/pages/get_pages_page_id"&gt;Get a page by ID&lt;/A&gt; endpoint? Could you share the IDs of a few &lt;CODE&gt;listing-pages&lt;/CODE&gt; and &lt;CODE&gt;knowledge-articles&lt;/CODE&gt; you're testing with?&lt;/P&gt;
&lt;P&gt;I don't know of any other endpoints that may return metadata on those page types, but I can certainly check with the team with some specific examples.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 14:06:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231518#M10414</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-11-06T14:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics API - Listing Pages and Knowledge Articles</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231519#M10415</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/isaac_takushi"&gt;@Isaac_Takushi&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I am using &lt;CODE&gt;hapikey=demo&lt;/CODE&gt; to test all of these endpoints.  The full request looks like this: &lt;CODE&gt;https://api.hubspot.com/analytics/v2/reports/listing-pages/total?hapikey=demo&lt;/CODE&gt;.  The first two ID's I get back are &lt;CODE&gt;6206877519&lt;/CODE&gt; and &lt;CODE&gt;304641&lt;/CODE&gt;.  When I send those IDs into the &lt;A href="https://developers.hubspot.com/docs/methods/pages/get_pages" rel="nofollow noopener"&gt;List Pages&lt;/A&gt; endpiont I get no results.  When I use either of them for the &lt;A href="https://developers.hubspot.com/docs/methods/pages/get_pages_page_id" rel="nofollow noopener"&gt;Get a Page by ID&lt;/A&gt; endpoint I get a response message that says "resource not found".&lt;/P&gt;
&lt;P&gt;When I make a similar request using &lt;CODE&gt;knowledge-articles&lt;/CODE&gt; instead of &lt;CODE&gt;listing-pages&lt;/CODE&gt; I actually get no results back.  Do you guys not have any demo data for knowledge articles? This is actually the same with &lt;CODE&gt;social-assists&lt;/CODE&gt; on the &lt;A href="https://developers.hubspot.com/docs/methods/analytics/get-analytics-data-by-object" rel="nofollow noopener"&gt;Get Analytics Data for Specific Objects&lt;/A&gt; endpoint.  It's returning no data for &lt;CODE&gt;hapikey=demo&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 18:44:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231519#M10415</guid>
      <dc:creator>Wes4</dc:creator>
      <dc:date>2018-11-06T18:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics API - Listing Pages and Knowledge Articles</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231520#M10416</link>
      <description>&lt;P&gt;Hey, &lt;A class="mention" href="https://community.hubspot.com/u/wes_thompson"&gt;@Wes_Thompson&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Ah, that makes sense. The demo account (Hub ID &lt;CODE&gt;62515&lt;/CODE&gt;) actually doesn't even have the knowledge base tool in it.&lt;/P&gt;
&lt;P&gt;The team has been moving toward encouraging developers to use &lt;A href="https://developers.hubspot.com/docs/faq/how-do-i-create-a-test-account"&gt;test accounts through developer accounts&lt;/A&gt; rather than the demo portal (accessed through &lt;CODE&gt;hapikey=demo&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;If you set up a test account (or already have one) and share the Hub ID with me, I can add a trial Service Hub subscription for testing.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 22:06:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231520#M10416</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-11-07T22:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics API - Listing Pages and Knowledge Articles</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231521#M10417</link>
      <description>&lt;P&gt;Okay, &lt;A class="mention" href="https://community.hubspot.com/u/isaac_takushi"&gt;@Isaac_Takushi&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;I've created a test account (Hub ID &lt;CODE&gt;5113330&lt;/CODE&gt;).  If I use this to test, will it return test data similar to the demo account or do I have to create my own test data?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 22:42:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231521#M10417</guid>
      <dc:creator>Wes4</dc:creator>
      <dc:date>2018-11-07T22:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics API - Listing Pages and Knowledge Articles</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231522#M10418</link>
      <description>&lt;P&gt;Hey, &lt;A class="mention" href="https://community.hubspot.com/u/wes_thompson"&gt;@Wes_Thompson&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Alright, I've added a Service Hub Enterprise trial to test account &lt;STRONG&gt;5113330&lt;/STRONG&gt;. You should now be able to &lt;A href="https://knowledge.hubspot.com/articles/kcs_article/knowledge-base/how-do-i-create-a-knowledge-base-article"&gt;create knowledge base articles&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;You will have to create or import your own test data. Sorry for the inconvenience there.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 13:14:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231522#M10418</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-11-08T13:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics API - Listing Pages and Knowledge Articles</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231523#M10419</link>
      <description>&lt;P&gt;Hey, again, &lt;A class="mention" href="https://community.hubspot.com/u/wes_thompson"&gt;@Wes_Thompson&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;I've run some tests in my own portal have confirmed that there currently is no way to retrieve readable names for blog listing pages or knowledge base articles.&lt;/P&gt;
&lt;P&gt;While I don't expect this to change for blog listing pages since they're not distinct pages with different titles, I will admit that current API support for the knowledge base tool is lacking.&lt;/P&gt;
&lt;P&gt;I'll ask the knowledge base team to see if there are plans to release public endpoints for the tool. In the meantime, I recommend upvoting and commenting on &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/Hubspot-Knowledge-Base-API/idi-p/210116"&gt;this existing feature request&lt;/A&gt;. I've just upvoted it as well.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 13:47:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231523#M10419</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-11-08T13:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics API - Listing Pages and Knowledge Articles</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231524#M10420</link>
      <description>&lt;P&gt;Currently, there are no plans to release public endpoints for knowledge base articles, but if the team sees engagement on &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/Hubspot-Knowledge-Base-API/idi-p/210116"&gt;this feature request&lt;/A&gt;, they may consider implementing solutions in the future.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 17:30:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231524#M10420</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-11-08T17:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics API - Listing Pages and Knowledge Articles</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231525#M10421</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/isaac_takushi"&gt;@Isaac_Takushi&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for the information.  I have upvoted the feature request you mentioned and look forward to any improvements on this.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 18:02:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Listing-Pages-and-Knowledge-Articles/m-p/231525#M10421</guid>
      <dc:creator>Wes4</dc:creator>
      <dc:date>2018-11-08T18:02:50Z</dc:date>
    </item>
  </channel>
</rss>

