<?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 Question about pagination in Services Discussions</title>
    <link>https://community.cisco.com/t5/services-discussions/question-about-pagination/m-p/3452385#M43</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help me understand the way pagination works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read the Getting Started Guide but I don’t completely understand.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/site/PSIRT/get-started/getting-started.gsp"&gt;https://developer.cisco.com/site/PSIRT/get-started/getting-started.gsp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that the API returns a maximum of 100 entries.&lt;/P&gt;&lt;P&gt;I understand that there are two parameters (pageIndex &amp;amp; pageSize)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, let’s assume I am going to query the API for the product widget and the product widget has 325 PSIRTs advisories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to query the API four times in order to get the results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://api.cisco.com/security/advisories/cvrf/product?product=widget&amp;amp;pageIndex=1&amp;amp;pageSize=100" rel="nofollow" target="_blank"&gt;https://api.cisco.com/security/advisories/cvrf/product?product=widget&amp;amp;pageIndex=1&amp;amp;pageSize=100&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To get results 1 - 99&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://api.cisco.com/security/advisories/cvrf/product?product=widget&amp;amp;pageIndex=2&amp;amp;pageSize=100" rel="nofollow" target="_blank"&gt;https://api.cisco.com/security/advisories/cvrf/product?product=widget&amp;amp;pageIndex=2&amp;amp;pageSize=100&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To get results 100 - 199&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://api.cisco.com/security/advisories/cvrf/product?product=widget&amp;amp;pageIndex=3&amp;amp;pageSize=100" rel="nofollow" target="_blank"&gt;https://api.cisco.com/security/advisories/cvrf/product?product=widget&amp;amp;pageIndex=3&amp;amp;pageSize=100&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To get results 200 - 299&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://api.cisco.com/security/advisories/cvrf/product?product=widget&amp;amp;pageIndex=4&amp;amp;pageSize=100" rel="nofollow" target="_blank"&gt;https://api.cisco.com/security/advisories/cvrf/product?product=widget&amp;amp;pageIndex=4&amp;amp;pageSize=100&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To get results 300 - 325&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Nov 2017 15:44:51 GMT</pubDate>
    <dc:creator>Tim Glen</dc:creator>
    <dc:date>2017-11-02T15:44:51Z</dc:date>
    <item>
      <title>Question about pagination</title>
      <link>https://community.cisco.com/t5/services-discussions/question-about-pagination/m-p/3452385#M43</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help me understand the way pagination works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read the Getting Started Guide but I don’t completely understand.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/site/PSIRT/get-started/getting-started.gsp"&gt;https://developer.cisco.com/site/PSIRT/get-started/getting-started.gsp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that the API returns a maximum of 100 entries.&lt;/P&gt;&lt;P&gt;I understand that there are two parameters (pageIndex &amp;amp; pageSize)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, let’s assume I am going to query the API for the product widget and the product widget has 325 PSIRTs advisories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to query the API four times in order to get the results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://api.cisco.com/security/advisories/cvrf/product?product=widget&amp;amp;pageIndex=1&amp;amp;pageSize=100" rel="nofollow" target="_blank"&gt;https://api.cisco.com/security/advisories/cvrf/product?product=widget&amp;amp;pageIndex=1&amp;amp;pageSize=100&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To get results 1 - 99&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://api.cisco.com/security/advisories/cvrf/product?product=widget&amp;amp;pageIndex=2&amp;amp;pageSize=100" rel="nofollow" target="_blank"&gt;https://api.cisco.com/security/advisories/cvrf/product?product=widget&amp;amp;pageIndex=2&amp;amp;pageSize=100&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To get results 100 - 199&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://api.cisco.com/security/advisories/cvrf/product?product=widget&amp;amp;pageIndex=3&amp;amp;pageSize=100" rel="nofollow" target="_blank"&gt;https://api.cisco.com/security/advisories/cvrf/product?product=widget&amp;amp;pageIndex=3&amp;amp;pageSize=100&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To get results 200 - 299&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://api.cisco.com/security/advisories/cvrf/product?product=widget&amp;amp;pageIndex=4&amp;amp;pageSize=100" rel="nofollow" target="_blank"&gt;https://api.cisco.com/security/advisories/cvrf/product?product=widget&amp;amp;pageIndex=4&amp;amp;pageSize=100&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To get results 300 - 325&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 15:44:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/question-about-pagination/m-p/3452385#M43</guid>
      <dc:creator>Tim Glen</dc:creator>
      <dc:date>2017-11-02T15:44:51Z</dc:date>
    </item>
  </channel>
</rss>

