<?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: getNetworkEvents working example with curl in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411438#M2018</link>
    <description>&lt;P&gt;I think the post stripped that out.  Here's a screenshot.  No error message, just a null response. Could there be something a customer has to enable in the Dashboard that I could verify via the API?&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-03-08 at 3.01.04 PM.png" style="width: 781px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/263477iD99B109AACC1BB33/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2024 20:04:47 GMT</pubDate>
    <dc:creator>Prodrick</dc:creator>
    <dc:date>2024-03-08T20:04:47Z</dc:date>
    <item>
      <title>getNetworkEvents working example with curl</title>
      <link>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411431#M2011</link>
      <description>&lt;P&gt;I've been trying to use this endpoint but haven't had any success.  I wonder if someone might share a working example executed with curl.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 18:59:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411431#M2011</guid>
      <dc:creator>Prodrick</dc:creator>
      <dc:date>2024-03-08T18:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: getNetworkEvents working example with curl</title>
      <link>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411432#M2012</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Here is an example:&lt;/P&gt;&lt;P&gt;curl -L -H 'X-Cisco-Meraki-API-Key: &amp;lt;Your-API-Key&amp;gt;' -X GET -H 'Content-Type: application/json' '&lt;A href="https://api.meraki.com/api/v1/networks/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.com/api/v1/networks/&lt;/A&gt;&amp;lt;Your-Network-ID&amp;gt;/events'&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 19:05:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411432#M2012</guid>
      <dc:creator>aleabrahao</dc:creator>
      <dc:date>2024-03-08T19:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: getNetworkEvents working example with curl</title>
      <link>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411433#M2013</link>
      <description>&lt;P&gt;In the API documentation there is also an example of curl code.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/get-network-events/" target="_blank" rel="nofollow noopener noreferrer"&gt;Get Network Events - Meraki Dashboard API v1 - Cisco Meraki Developer Hub&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 19:09:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411433#M2013</guid>
      <dc:creator>aleabrahao</dc:creator>
      <dc:date>2024-03-08T19:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: getNetworkEvents working example with curl</title>
      <link>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411434#M2014</link>
      <description>&lt;P&gt;Copied directly from meraki.io - &lt;A href="https://developer.cisco.com/meraki/api-v1/get-network-events/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-network-events/&lt;/A&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample language-python"&gt;&lt;CODE&gt;Last login: Thu Mar  7 13:35:54 on ttys007
RHB@wopr ~ % curl -L --request GET \
--url 'https://api.meraki.com/api/v1/networks/xxxx/events?productType=appliance' \
--header 'Authorization: Bearer xxxx' \
--header 'Accept: application/json'

{"message":null,"pageStartAt":"2024-03-08T18:02:41.102375Z","pageEndAt":"2024-03-08T19:08:17.455765Z","events":[], ...}&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Mar 2024 19:10:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411434#M2014</guid>
      <dc:creator>Rasmus Hoffmann Birkelund</dc:creator>
      <dc:date>2024-03-08T19:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: getNetworkEvents working example with curl</title>
      <link>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411435#M2015</link>
      <description>&lt;P&gt;Thanks so much.  When I execute this for a network that I know has an appliance, this is what I get:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Last login: Fri Mar&lt;SPAN class=""&gt;  &lt;/SPAN&gt;8 13:50:23 on ttys000&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;patrick.rouse@RMT-PROUSE ~ % curl -L --request GET \&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;--url '&lt;A href="https://api.meraki.com/api/v1/networks/L_1234567890/events?productType=appliance" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api.meraki.com/api/v1/networks/L_1234567890/events?productType=appliance&lt;/A&gt;' \&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;--header 'Authorization: Bearer 1234567890\&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;--header 'Accept: application/json'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;patrick.rouse@RMT-PROUSE ~ % &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 19:39:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411435#M2015</guid>
      <dc:creator>Prodrick</dc:creator>
      <dc:date>2024-03-08T19:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: getNetworkEvents working example with curl</title>
      <link>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411436#M2016</link>
      <description>&lt;P&gt;Have you tried the code that I sent to you?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 19:43:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411436#M2016</guid>
      <dc:creator>aleabrahao</dc:creator>
      <dc:date>2024-03-08T19:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: getNetworkEvents working example with curl</title>
      <link>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411437#M2017</link>
      <description>&lt;P&gt;On your Authorization Bearer, are you perhaps missing an apostrophe? Or is that just a result of the anonymisation?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 19:55:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411437#M2017</guid>
      <dc:creator>Rasmus Hoffmann Birkelund</dc:creator>
      <dc:date>2024-03-08T19:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: getNetworkEvents working example with curl</title>
      <link>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411438#M2018</link>
      <description>&lt;P&gt;I think the post stripped that out.  Here's a screenshot.  No error message, just a null response. Could there be something a customer has to enable in the Dashboard that I could verify via the API?&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-03-08 at 3.01.04 PM.png" style="width: 781px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/263477iD99B109AACC1BB33/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 20:04:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411438#M2018</guid>
      <dc:creator>Prodrick</dc:creator>
      <dc:date>2024-03-08T20:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: getNetworkEvents working example with curl</title>
      <link>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411439#M2019</link>
      <description>&lt;P&gt;I really can't say what's going on. Perhaps try adding "&amp;amp;perPage=1000" after "appliance" on the URL?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 20:22:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411439#M2019</guid>
      <dc:creator>Rasmus Hoffmann Birkelund</dc:creator>
      <dc:date>2024-03-08T20:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: getNetworkEvents working example with curl</title>
      <link>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411440#M2020</link>
      <description>&lt;P&gt;I literally copied the curl command from this page, and followed the same process as I usually to to test endpoints.  I copy the curl example, swap-out my API key and put single quotes around the call.  I'm used to the API providing a useful error message, but in this case I get nothing.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/get-network-events/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-network-events/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 20:38:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411440#M2020</guid>
      <dc:creator>Prodrick</dc:creator>
      <dc:date>2024-03-08T20:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: getNetworkEvents working example with curl</title>
      <link>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411441#M2021</link>
      <description>&lt;P&gt;The correct command.&lt;/P&gt;&lt;P&gt;curl -L -H 'X-Cisco-Meraki-API-Key:&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;Your-API-Key&amp;gt;&lt;/SPAN&gt;' -X GET -H 'Content-Type: application/json' '&lt;A href="https://api.meraki.com/api/v1/networks/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api.meraki.com/api/v1/networks/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;Your-Network-ID&amp;gt;&lt;/SPAN&gt;/events?productType=wireless'&lt;/P&gt;&lt;P&gt;You have to add the &lt;STRONG&gt;productType&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 20:40:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411441#M2021</guid>
      <dc:creator>aleabrahao</dc:creator>
      <dc:date>2024-03-08T20:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: getNetworkEvents working example with curl</title>
      <link>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411442#M2022</link>
      <description>&lt;P&gt;Ok, I got this working, but I don't know why the following command did not give me an incorrect API key response when I missed a character.&lt;BR /&gt;&lt;BR /&gt;Thanks to all who helped.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-03-08 at 3.48.08 PM.png" style="width: 832px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/263479i827D5082A8AA3A9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 20:50:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getnetworkevents-working-example-with-curl/m-p/5411442#M2022</guid>
      <dc:creator>Prodrick</dc:creator>
      <dc:date>2024-03-08T20:50:38Z</dc:date>
    </item>
  </channel>
</rss>

