<?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: Question on Switch Port Telemetry API in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/question-on-switch-port-telemetry-api/m-p/5456712#M8503</link>
    <description>&lt;P&gt;Yes well figured out, pagination is important on these calls as there is #a lot# of data returned. Don't forget that if you don't want the data back on all switches there are query parameters/filters you can apply which cut the amount of data returned.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Feb 2025 13:20:24 GMT</pubDate>
    <dc:creator>MartinSHighlight</dc:creator>
    <dc:date>2025-02-05T13:20:24Z</dc:date>
    <item>
      <title>Question on Switch Port Telemetry API</title>
      <link>https://community.cisco.com/t5/network-platform-api/question-on-switch-port-telemetry-api/m-p/5456710#M8501</link>
      <description>&lt;P&gt;Hello Meraki Community, &lt;BR /&gt;&lt;BR /&gt;I was testing out the port telemetry APIs, namely:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/get-organization-switch-ports-statuses-by-switch/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-organization-switch-ports-statuses-by-switch/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/get-organization-switch-ports-usage-history-by-device-by-interval/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-organization-switch-ports-usage-history-by-device-by-interval/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I realised that, despite my organization having around 40 switches (This information was obtained using &lt;A href="https://developer.cisco.com/meraki/api-v1/get-organization-devices/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-organization-devices/&lt;/A&gt;), the APIs only showed port telemetry for 10 switches. I initially suspected that it was because some of the switches may not have had their ports active, or that the switch itself was offline, but I found that within the port telemetry response there were ports that were not enabled, and the devices were all online (&lt;A href="https://developer.cisco.com/meraki/api-v1/get-organization-devices-availabilities/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-organization-devices-availabilities/&lt;/A&gt;)&lt;BR /&gt;&lt;BR /&gt;Surprisingly, when using the non-organisational level API:&lt;BR /&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/get-device-switch-ports-statuses/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-device-switch-ports-statuses/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I was able to find port telemetry for switches that were NOT reflected on the org level API.&lt;BR /&gt;&lt;BR /&gt;I believe my understanding is lacking somewhere, so I would appreciate some assistance with this discrepancy, thank you!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 06:26:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/question-on-switch-port-telemetry-api/m-p/5456710#M8501</guid>
      <dc:creator>DrunkBiscuit</dc:creator>
      <dc:date>2025-02-05T06:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Switch Port Telemetry API</title>
      <link>https://community.cisco.com/t5/network-platform-api/question-on-switch-port-telemetry-api/m-p/5456711#M8502</link>
      <description>&lt;P&gt;I have found the problem:&lt;BR /&gt;&lt;BR /&gt;It turns out that I did not realise pagination was applied to the API, thus reducing the number of records returned as the default was 10. Increasing the page limit using the query parameters got me the records i needed. &lt;BR /&gt;&lt;BR /&gt;For anyone facing similar issues, this page explained how to overcome pagination to get all the records you need. &lt;A href="https://developer.cisco.com/meraki/api-v1/pagination/#pagination" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/pagination/#pagination&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 08:05:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/question-on-switch-port-telemetry-api/m-p/5456711#M8502</guid>
      <dc:creator>DrunkBiscuit</dc:creator>
      <dc:date>2025-02-05T08:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Switch Port Telemetry API</title>
      <link>https://community.cisco.com/t5/network-platform-api/question-on-switch-port-telemetry-api/m-p/5456712#M8503</link>
      <description>&lt;P&gt;Yes well figured out, pagination is important on these calls as there is #a lot# of data returned. Don't forget that if you don't want the data back on all switches there are query parameters/filters you can apply which cut the amount of data returned.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 13:20:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/question-on-switch-port-telemetry-api/m-p/5456712#M8503</guid>
      <dc:creator>MartinSHighlight</dc:creator>
      <dc:date>2025-02-05T13:20:24Z</dc:date>
    </item>
  </channel>
</rss>

