<?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: How Does Snapshot API Work? in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/how-does-snapshot-api-work/m-p/5420583#M3356</link>
    <description>&lt;P&gt;Indeed, internet connectivity is required for two things:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For the API client to reach the dashboard API&lt;/LI&gt;&lt;LI&gt;For the dashboard to reach the camera&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If either of those things is not available, the snapshot will not work. But them being unavailable doesn't stop the camera from recording as it records locally to it's on-board SSD drive.&lt;/P&gt;&lt;P&gt;As soon as both are available (again) the snapshot can be taken. Via the timestamp parameter of the API you can specify from which point in time you need a snapshot. If there is footage from that time, the call will be successful. If not, you'll get an error. There are a number of reasons why the footage could be unavailable, a few examples:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;camera wasn't scheduled to record&lt;/LI&gt;&lt;LI&gt;camera is set to motion based recording and there was no movement at that time(range)&lt;/LI&gt;&lt;LI&gt;camera was offline (e.g. power problem)&lt;/LI&gt;&lt;LI&gt;timestamp is too far back in time and that footage has already been deleted&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Tue, 16 Jul 2019 08:05:23 GMT</pubDate>
    <dc:creator>BrechtSchamp</dc:creator>
    <dc:date>2019-07-16T08:05:23Z</dc:date>
    <item>
      <title>How Does Snapshot API Work?</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-does-snapshot-api-work/m-p/5420580#M3353</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;Please I'm trying to understand how the Snapshot API works for the Meraki Cameras.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;1. Do I require access to the Meraki dashboard all the time I have to use the Snapshot API like generating a snapshot of what the camera sees at the specified time and return a link to that image? &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;2. What are the Snapshot API calls flows or procedures? &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;3. What happens if there is loss of Internet access and the API Client can’t reach Meraki Dashboard or the Dashboard can’t reach the cameras? &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;3. Can snapshots be taken when Internet access is restored for past recordings?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I would appreciate any documentations or diagrams that can aid my understanding. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 Jul 2019 05:56:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-does-snapshot-api-work/m-p/5420580#M3353</guid>
      <dc:creator>onyeze</dc:creator>
      <dc:date>2019-07-16T05:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: How Does Snapshot API Work?</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-does-snapshot-api-work/m-p/5420581#M3354</link>
      <description>&lt;P&gt;Let's take these one at a time:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The API client uses API access keys to get access to the API. An API key is linked to the account that generated the key and inherits it's access rights. The advantage of the fact that it's a separate key is that you can change your password every once in a while without impacting your scripts' access.&lt;/LI&gt;&lt;LI&gt;The snapshot API call is:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;POST /networks/[networkId]/cameras/[serial]/snapshot&lt;/PRE&gt;&lt;BR /&gt;Documentation can be found here: &lt;A href="https://documenter.getpostman.com/view/897512/meraki-dashboard-api/2To9xm?version=latest#53147d40-de79-4695-882a-f57c8a975709" target="_blank" rel="noopener nofollow noreferrer"&gt;https://documenter.getpostman.com/view/897512/meraki-dashboard-api/2To9xm?version=latest#53147d40-de79-4695-882a-f57c8a975709&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;If the client has no internet access you'll get an exception or an error. It'll be different depending on the technology you're using to do the API call. If the dashboard can't reach the camera or if there is no footage stored for the timestamp you specify, you will also get an error.&lt;/LI&gt;&lt;LI&gt;The camera doesn't need internet connectivity to record. So once the connectivity is restored the snapshot can still be taken.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Hope that answers your questions!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 07:05:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-does-snapshot-api-work/m-p/5420581#M3354</guid>
      <dc:creator>BrechtSchamp</dc:creator>
      <dc:date>2019-07-16T07:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: How Does Snapshot API Work?</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-does-snapshot-api-work/m-p/5420582#M3355</link>
      <description>&lt;P&gt;Thanks for your quick response and explanations which I found very useful. I guess it has to do with the &lt;FONT face="courier new,courier"&gt;baseurl&lt;/FONT&gt; which is a public endpoint in the POST request. &lt;/P&gt;&lt;PRE&gt;POST &lt;SPAN class="token string"&gt;"{{baseUrl}}/networks/{{networkId}}/cameras/{{serial}}/snapshot"&lt;/SPAN&gt; \&lt;/PRE&gt;&lt;P&gt;If internet connectivity is restored can I take snapshot of past recordings. E.g. If Internet access is restored at 16:00, can I take snapshot of recordings in the past say at 15:30? &lt;/P&gt;&lt;P&gt;Many thanks &lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 07:34:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-does-snapshot-api-work/m-p/5420582#M3355</guid>
      <dc:creator>onyeze</dc:creator>
      <dc:date>2019-07-16T07:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: How Does Snapshot API Work?</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-does-snapshot-api-work/m-p/5420583#M3356</link>
      <description>&lt;P&gt;Indeed, internet connectivity is required for two things:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For the API client to reach the dashboard API&lt;/LI&gt;&lt;LI&gt;For the dashboard to reach the camera&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If either of those things is not available, the snapshot will not work. But them being unavailable doesn't stop the camera from recording as it records locally to it's on-board SSD drive.&lt;/P&gt;&lt;P&gt;As soon as both are available (again) the snapshot can be taken. Via the timestamp parameter of the API you can specify from which point in time you need a snapshot. If there is footage from that time, the call will be successful. If not, you'll get an error. There are a number of reasons why the footage could be unavailable, a few examples:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;camera wasn't scheduled to record&lt;/LI&gt;&lt;LI&gt;camera is set to motion based recording and there was no movement at that time(range)&lt;/LI&gt;&lt;LI&gt;camera was offline (e.g. power problem)&lt;/LI&gt;&lt;LI&gt;timestamp is too far back in time and that footage has already been deleted&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 16 Jul 2019 08:05:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-does-snapshot-api-work/m-p/5420583#M3356</guid>
      <dc:creator>BrechtSchamp</dc:creator>
      <dc:date>2019-07-16T08:05:23Z</dc:date>
    </item>
  </channel>
</rss>

