<?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: Get AP status in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426967#M4468</link>
    <description>Fair enough. For people who have issues hitting the Rate limit ( due to other active monitoring API calls ), it would be significantly faster to do the network list call and the full org device list call, and correlate the device to the correct network in the code, instead of the individual calls per network.&lt;BR /&gt;&lt;BR /&gt;Either way, you solved Raphael's issue!</description>
    <pubDate>Mon, 16 Dec 2019 21:07:26 GMT</pubDate>
    <dc:creator>BrianP2</dc:creator>
    <dc:date>2019-12-16T21:07:26Z</dc:date>
    <item>
      <title>Get AP status</title>
      <link>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426957#M4458</link>
      <description>&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;Is there a efficient way to retrieve AP status ? ( online , offline , repeater ) &lt;/P&gt;&lt;P&gt;I have not seen an API call for that and you can't see it from the dashboard - Overview - Devices  page. &lt;/P&gt;&lt;P&gt;Only way I found is to dump all my AP MAC adresses and compare DHCP leases to find if the AP has a lease or not...&lt;/P&gt;&lt;P&gt;I have more than 1000++  AP so I can't go network by network to find that info.&lt;/P&gt;&lt;P&gt;Thanks ! &lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 18:36:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426957#M4458</guid>
      <dc:creator>Raphael_L</dc:creator>
      <dc:date>2019-12-16T18:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get AP status</title>
      <link>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426958#M4459</link>
      <description>organizations/{{organizationId}}/deviceStatuses This call will get the status of all devices in the organization. You can use that to get all AP statuses.</description>
      <pubDate>Mon, 16 Dec 2019 19:35:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426958#M4459</guid>
      <dc:creator>BrianP2</dc:creator>
      <dc:date>2019-12-16T19:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Get AP status</title>
      <link>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426959#M4460</link>
      <description>Here is the API Docs for the call: &lt;A href="https://developer.cisco.com/meraki/api/#/rest/api-endpoints/organizations/get-organization-device-statuses" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api/#/rest/api-endpoints/organizations/get-organization-device-statuses&lt;/A&gt;</description>
      <pubDate>Mon, 16 Dec 2019 19:36:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426959#M4460</guid>
      <dc:creator>BrianP2</dc:creator>
      <dc:date>2019-12-16T19:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Get AP status</title>
      <link>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426960#M4461</link>
      <description>&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;As expected that doesn't work ! &lt;/P&gt;&lt;P&gt;Status is either offline or online or alerting. I want to know if an AP is in repeater mode or not. &lt;/P&gt;&lt;P&gt;EDIT : I think my first message , wasn't that clear. My appologies&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 19:50:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426960#M4461</guid>
      <dc:creator>Raphael_L</dc:creator>
      <dc:date>2019-12-16T19:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get AP status</title>
      <link>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426961#M4462</link>
      <description>Sorry didn't catch the 'repeater' requirement. Not sure off the top of my head if any API endpoint exposes that info. I will take a look and get back if I see anything.</description>
      <pubDate>Mon, 16 Dec 2019 20:08:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426961#M4462</guid>
      <dc:creator>BrianP2</dc:creator>
      <dc:date>2019-12-16T20:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get AP status</title>
      <link>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426962#M4463</link>
      <description>&lt;P&gt;Not available at this time to my knowledge.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 20:31:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426962#M4463</guid>
      <dc:creator>SoCalRacer</dc:creator>
      <dc:date>2019-12-16T20:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Get AP status</title>
      <link>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426963#M4464</link>
      <description>&lt;P&gt;I've got a report I run that checks for repeaters.&lt;/P&gt;&lt;P&gt;I turn the JSON into objects because I found it easier than manipulating raw JSON later on.&lt;/P&gt;&lt;P&gt;It iterates across dozens of orgs, hence my logic below.&lt;/P&gt;&lt;P&gt;If you want to see exactly how I did it, &lt;A href="https://github.com/gammacapricorni/MerakiExampleScripts/blob/master/checkDeviceIPAssignment.py" target="_self" rel="nofollow noopener noreferrer"&gt;look here&lt;/A&gt;. It's a work in progress that needs reworking.&lt;/P&gt;&lt;P&gt;Order of operations:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Get org list&lt;/LI&gt;&lt;LI&gt;Get network list&lt;/LI&gt;&lt;LI&gt;Grab device list per network&lt;/LI&gt;&lt;LI&gt;Convert device list into a list of device objects, since I find it easier (createDeviceObj)&lt;/LI&gt;&lt;LI&gt;Below in report generating chunk, for device in devicelist:&lt;OL&gt;&lt;LI&gt;check if lanIp is None: (line 572 in script above)&lt;/LI&gt;&lt;LI&gt;If None, check if model is MR&lt;/LI&gt;&lt;LI&gt;If MR, set report value as "Repeater AP?"&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 16 Dec 2019 20:49:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426963#M4464</guid>
      <dc:creator>Nash</dc:creator>
      <dc:date>2019-12-16T20:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get AP status</title>
      <link>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426964#M4465</link>
      <description>Awesome. Any reason to do the 'Grab device list per network' step ?&lt;BR /&gt;&lt;BR /&gt;There is a get all Devices in Org call that is the exact same info as the get list per network. Should save a ton of API calls.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developer.cisco.com/meraki/api/#/rest/api-endpoints/devices/get-organization-devices" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api/#/rest/api-endpoints/devices/get-organization-devices&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;GET /organizations/{organizationId}/devices</description>
      <pubDate>Mon, 16 Dec 2019 20:52:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426964#M4465</guid>
      <dc:creator>BrianP2</dc:creator>
      <dc:date>2019-12-16T20:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get AP status</title>
      <link>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426965#M4466</link>
      <description>&lt;P&gt;Nice ! &lt;/P&gt;&lt;P&gt;I didn't think it that way !  I will script that in python.&lt;/P&gt;&lt;P&gt;Thanks for the help !&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 20:57:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426965#M4466</guid>
      <dc:creator>Raphael_L</dc:creator>
      <dc:date>2019-12-16T20:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Get AP status</title>
      <link>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426966#M4467</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/32698"&gt;@BrianP2&lt;/A&gt; wrote:&lt;BR /&gt;Awesome. Any reason to do the 'Grab device list per network' step ?&lt;BR /&gt;&lt;BR /&gt;There is a get all Devices in Org call that is the exact same info as the get list per network. Should save a ton of API calls.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developer.cisco.com/meraki/api/#/rest/api-endpoints/devices/get-organization-devices" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.cisco.com/meraki/api/#/rest/api-endpoints/devices/get-organization-devices&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;GET /organizations/{organizationId}/devices&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I wanted to check switches/APs set for DHCP against DHCP pools on the MX in their networks. Then if the MX was the DHCP server for that device, check the MX's pool for a reservation for that device's IP.&lt;/P&gt;&lt;P&gt;All of my clients have a single network for each physical location, for switches/AP/MX. So once I got inside the network, I could check all of that without having to do a rummage to figure out which MX to compare the switches and APs to.&lt;/P&gt;&lt;P&gt;That gave me logic that I could follow more easily. Crunching the returns and writing the spreadsheet slows the process down enough that I didn't hit the call speed limiter.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 21:01:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426966#M4467</guid>
      <dc:creator>Nash</dc:creator>
      <dc:date>2019-12-16T21:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Get AP status</title>
      <link>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426967#M4468</link>
      <description>Fair enough. For people who have issues hitting the Rate limit ( due to other active monitoring API calls ), it would be significantly faster to do the network list call and the full org device list call, and correlate the device to the correct network in the code, instead of the individual calls per network.&lt;BR /&gt;&lt;BR /&gt;Either way, you solved Raphael's issue!</description>
      <pubDate>Mon, 16 Dec 2019 21:07:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426967#M4468</guid>
      <dc:creator>BrianP2</dc:creator>
      <dc:date>2019-12-16T21:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get AP status</title>
      <link>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426968#M4469</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/32698"&gt;@BrianP2&lt;/A&gt; wrote:&lt;BR /&gt;Fair enough. For people who have issues hitting the Rate limit ( due to other active monitoring API calls ), it would be significantly faster to do the network list call and the full org device list call, and correlate the device to the correct network in the code, instead of the individual calls per network.&lt;BR /&gt;&lt;BR /&gt;Either way, you solved Raphael's issue!&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Definitely agree. &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt; I can do things sloppily sometimes because Auvik and I are the only things making calls, and Auvik rate limits itself.&lt;/P&gt;&lt;P&gt;There are advantages and disadvantages to being the only automator on your team.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 21:09:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/get-ap-status/m-p/5426968#M4469</guid>
      <dc:creator>Nash</dc:creator>
      <dc:date>2019-12-16T21:09:47Z</dc:date>
    </item>
  </channel>
</rss>

