<?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 meraki.DashboardAPI and pagination in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413270#M2335</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I am using the Python meraki.DashboardAPI and trying to read all policy objects of an organization.&lt;/P&gt;&lt;P&gt;Unfortunately I get "only" 5000 Objects back.&lt;BR /&gt;How can I do pagination with the merakiDashboardAPI?&lt;/P&gt;&lt;P&gt;Is there somewhere an examples?&lt;/P&gt;&lt;P&gt;Here is the code:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;organizationPolicyObjects = dashboard.organizations.getOrganizationPolicyObjects(organizationId=orgID)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Juergen&lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2024 14:56:12 GMT</pubDate>
    <dc:creator>JM2024</dc:creator>
    <dc:date>2024-03-21T14:56:12Z</dc:date>
    <item>
      <title>meraki.DashboardAPI and pagination</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413270#M2335</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I am using the Python meraki.DashboardAPI and trying to read all policy objects of an organization.&lt;/P&gt;&lt;P&gt;Unfortunately I get "only" 5000 Objects back.&lt;BR /&gt;How can I do pagination with the merakiDashboardAPI?&lt;/P&gt;&lt;P&gt;Is there somewhere an examples?&lt;/P&gt;&lt;P&gt;Here is the code:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;organizationPolicyObjects = dashboard.organizations.getOrganizationPolicyObjects(organizationId=orgID)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Juergen&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 14:56:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413270#M2335</guid>
      <dc:creator>JM2024</dc:creator>
      <dc:date>2024-03-21T14:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: meraki.DashboardAPI and pagination</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413271#M2336</link>
      <description>&lt;P&gt;Check it out.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api/pagination/#how-does-pagination-work-in-the-dashboard-api" target="_blank" rel="nofollow noopener noreferrer"&gt;Pagination - Meraki Dashboard API v1 - Cisco Meraki Developer Hub&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 14:58:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413271#M2336</guid>
      <dc:creator>aleabrahao</dc:creator>
      <dc:date>2024-03-21T14:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: meraki.DashboardAPI and pagination</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413272#M2337</link>
      <description>&lt;P&gt;I already tried this:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;organizationPolicyObjects = dashboard.organizations.getOrganizationPolicyObjects(total_pages=&lt;/SPAN&gt;&lt;SPAN&gt;"all"&lt;/SPAN&gt;&lt;SPAN&gt;, perPage=&lt;/SPAN&gt;&lt;SPAN&gt;1000&lt;/SPAN&gt;&lt;SPAN&gt;, organizationId=orgID)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Unfortunately I get only 1000 objects back. It seems that "total_pages" is not working. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Mar 2024 15:09:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413272#M2337</guid>
      <dc:creator>JM2024</dc:creator>
      <dc:date>2024-03-21T15:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: meraki.DashboardAPI and pagination</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413273#M2338</link>
      <description>&lt;P&gt;That's the maximum number of entries you'll be able to obtain, I think you'll have to store it in a CSV.&lt;/P&gt;&lt;P&gt;Take a look at this.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.meraki.com/t5/Developers-APIs/Python-pagination-get-8000-devices/m-p/101593#M4111" target="_blank"&gt;https://community.meraki.com/t5/Developers-APIs/Python-pagination-get-8000-devices/m-p/101593#M4111&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 15:13:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413273#M2338</guid>
      <dc:creator>aleabrahao</dc:creator>
      <dc:date>2024-03-21T15:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: meraki.DashboardAPI and pagination</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413274#M2339</link>
      <description>&lt;P&gt;Hi, thankyou for your answer.&lt;BR /&gt;This is using the standard REST-Meraki API. I think, that this will work. &lt;BR /&gt;I would like to use the &lt;A href="https://pypi.org/project/meraki/" target="_self" rel="nofollow noopener noreferrer"&gt;meraki python library&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 15:17:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413274#M2339</guid>
      <dc:creator>JM2024</dc:creator>
      <dc:date>2024-03-21T15:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: meraki.DashboardAPI and pagination</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413275#M2340</link>
      <description>&lt;P&gt;What happens if you use:&lt;/P&gt;&lt;PRE class="lia-code-sample language-python"&gt;&lt;CODE&gt;response = dashboard.organizations.getOrganizationPolicyObjects(
    organization_id, total_pages='all'
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I took this from the example in the documentation:&lt;BR /&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/get-organization-policy-objects/" target="_self" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-organization-policy-objects/&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 19:36:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413275#M2340</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2024-03-21T19:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: meraki.DashboardAPI and pagination</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413276#M2341</link>
      <description>&lt;P&gt;So the main reason seems to be, that the Meraki-API does not work as usual when doing the API-call.&lt;BR /&gt;In the HTML-response is no "Link: xxxxx" added. &lt;BR /&gt;That´s maybe the reason, that the MerakiDashboardPythonLib is not working properly.&lt;BR /&gt;For me this is a bug. I opened a ticket for it.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 06:13:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413276#M2341</guid>
      <dc:creator>JM2024</dc:creator>
      <dc:date>2024-03-22T06:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: meraki.DashboardAPI and pagination</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413277#M2342</link>
      <description>&lt;P&gt;Hey man, I know this thread is old, did you ever happen to figure this out? I am having the same issue with getting Policy Objects over 5000 (unable to paginate basically)&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 20:27:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-dashboardapi-and-pagination/m-p/5413277#M2342</guid>
      <dc:creator>FreshFrank</dc:creator>
      <dc:date>2024-04-24T20:27:33Z</dc:date>
    </item>
  </channel>
</rss>

