<?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: List all Snapshots in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/List-all-Snapshots/m-p/448620#M604</link>
    <description>&lt;P&gt;If you look at the top of the ONTAP REST API Online Reference (clusterip/docs/api) under "Features for all ONTAP APIs" the last topic "Using the private CLI passthrough with the ONTAP REST API" has a good description and some examples.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Nov 2023 03:01:53 GMT</pubDate>
    <dc:creator>JohnChampion</dc:creator>
    <dc:date>2023-11-03T03:01:53Z</dc:date>
    <item>
      <title>List all Snapshots</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/List-all-Snapshots/m-p/448514#M601</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to list all snapshots from a storage cluster per api call, but I get a different output on CLI vs API. API output is only from one SVM?!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;API-Request:&amp;nbsp;&lt;A href="https://community.netapp.com/" target="_blank"&gt;https://&amp;lt;cluster_mgmt_ip&amp;gt;/api/storage/volumes/*/snapshots&lt;/A&gt;&lt;/P&gt;&lt;P&gt;CLI: Cluster::&amp;gt; snapshot show&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;ST&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 13:32:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/List-all-Snapshots/m-p/448514#M601</guid>
      <dc:creator>ST123</dc:creator>
      <dc:date>2023-10-31T13:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: List all Snapshots</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/List-all-Snapshots/m-p/448574#M602</link>
      <description>&lt;P&gt;Confirmed - interesting the REST API even accepts a wildcard for the volume.uuid - I would expect it would throw an invalid URL error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the Private CLI method and get back results in standard JSON result/records format. The field names are the same as in the CLI - and you cannot use a wildcard (fields=*) with the private CLI method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;https://{clustermgtip}/api/private/cli/snapshot?fields=vserver,volume,snapshot,create-time,size,snapmirror-label&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 23:06:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/List-all-Snapshots/m-p/448574#M602</guid>
      <dc:creator>JohnChampion</dc:creator>
      <dc:date>2023-11-01T23:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: List all Snapshots</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/List-all-Snapshots/m-p/448584#M603</link>
      <description>&lt;P&gt;I didn't know the /private parameter, exactly what I was looking for, thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 09:35:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/List-all-Snapshots/m-p/448584#M603</guid>
      <dc:creator>ST123</dc:creator>
      <dc:date>2023-11-02T09:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: List all Snapshots</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/List-all-Snapshots/m-p/448620#M604</link>
      <description>&lt;P&gt;If you look at the top of the ONTAP REST API Online Reference (clusterip/docs/api) under "Features for all ONTAP APIs" the last topic "Using the private CLI passthrough with the ONTAP REST API" has a good description and some examples.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 03:01:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/List-all-Snapshots/m-p/448620#M604</guid>
      <dc:creator>JohnChampion</dc:creator>
      <dc:date>2023-11-03T03:01:53Z</dc:date>
    </item>
  </channel>
</rss>

