<?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 ontapi snapshot-list-info volume input parameter in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ontapi-snapshot-list-info-volume-input-parameter/m-p/24699#M212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From ONTAPI 1.5 onwards, the "volume" input parameter of snapshot-list-info has description as follows:&lt;/P&gt;&lt;P&gt;"Name of the volume on which to list the snaplist information. It is for backward compatibility. The recommended usage is to use arguments ("target-name", "target-type") pair."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have some code written a while back that invokes snapshot-list-info with the volume parameter. We would like to know:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Is this volume parameter going to be obsoleted at some point?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If the above is true, then we would need to add logic to invoke snapshot-list-info with either target-name/target-type or volume parameter depending on what the filer supports. What would be the best way to make such a determination? Version check or is there a way to describe snapshot-list-info specification on a system to get valid input parameter names?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 06:07:14 GMT</pubDate>
    <dc:creator>adrienne_wong</dc:creator>
    <dc:date>2025-06-05T06:07:14Z</dc:date>
    <item>
      <title>ontapi snapshot-list-info volume input parameter</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ontapi-snapshot-list-info-volume-input-parameter/m-p/24699#M212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From ONTAPI 1.5 onwards, the "volume" input parameter of snapshot-list-info has description as follows:&lt;/P&gt;&lt;P&gt;"Name of the volume on which to list the snaplist information. It is for backward compatibility. The recommended usage is to use arguments ("target-name", "target-type") pair."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have some code written a while back that invokes snapshot-list-info with the volume parameter. We would like to know:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Is this volume parameter going to be obsoleted at some point?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If the above is true, then we would need to add logic to invoke snapshot-list-info with either target-name/target-type or volume parameter depending on what the filer supports. What would be the best way to make such a determination? Version check or is there a way to describe snapshot-list-info specification on a system to get valid input parameter names?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:07:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ontapi-snapshot-list-info-volume-input-parameter/m-p/24699#M212</guid>
      <dc:creator>adrienne_wong</dc:creator>
      <dc:date>2025-06-05T06:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: ontapi snapshot-list-info volume input parameter</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ontapi-snapshot-list-info-volume-input-parameter/m-p/24703#M213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrienne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "volume" input parameter is not going away for snapshot-list-info.&amp;nbsp; Note that "volume" is not deprecated. It was recommended because I believe the snapshot team was planning to deprecate "volume", but never got around to it.&amp;nbsp; With all the effort focused on clustered ONTAP, this parameter will not be changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to check parameters, the system-api-list and system-api-get-elements APIs can be used.&amp;nbsp; Also ONTAPI 1.5 is ONTAP 7.1.&amp;nbsp; See my &lt;A _jive_internal="true" href="https://community.netapp.com/people/rle/blog/2012/08/08/api-version-matrix" target="_blank"&gt;API matrix blog&lt;/A&gt; for details.&amp;nbsp; With the API system-get-api-version, you can check for 1.5 and with system-get-version, you can check for 7.1.&amp;nbsp; Another approach is to use "target-type" and "target-name" and if it fails, revert to using "volume".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Rick -&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 05:38:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ontapi-snapshot-list-info-volume-input-parameter/m-p/24703#M213</guid>
      <dc:creator>rle</dc:creator>
      <dc:date>2013-03-19T05:38:37Z</dc:date>
    </item>
  </channel>
</rss>

