<?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 In listing all volumes, online filter not working in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/In-listing-all-volumes-online-filter-not-working/m-p/136569#M2513</link>
    <description>&lt;P&gt;operations i perform:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vol_url = baseurl + "ontap/volumes/"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; params = { "state": "online" }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; list_volumes = self.get(vol_url, params).json()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but in list_volumes i am getting offline volume also...&lt;/P&gt;&lt;P&gt;is there something i am missing ??&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 14:16:33 GMT</pubDate>
    <dc:creator>neha_T</dc:creator>
    <dc:date>2025-06-04T14:16:33Z</dc:date>
    <item>
      <title>In listing all volumes, online filter not working</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/In-listing-all-volumes-online-filter-not-working/m-p/136569#M2513</link>
      <description>&lt;P&gt;operations i perform:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vol_url = baseurl + "ontap/volumes/"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; params = { "state": "online" }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; list_volumes = self.get(vol_url, params).json()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but in list_volumes i am getting offline volume also...&lt;/P&gt;&lt;P&gt;is there something i am missing ??&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:16:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/In-listing-all-volumes-online-filter-not-working/m-p/136569#M2513</guid>
      <dc:creator>neha_T</dc:creator>
      <dc:date>2025-06-04T14:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: In listing all volumes, online filter not working</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/In-listing-all-volumes-online-filter-not-working/m-p/137209#M2537</link>
      <description>&lt;P&gt;The query shoule be similar to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;URL : base-url/ontap/volumes?state=online&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The URL should be modified to do the filter-ing (Instead of the GET parameters).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Changes to be done in above code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vol_url = baseurl + "ontap/volumes/"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vol_url&amp;nbsp;+= "?state=online"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;list_volumes = self.get(vol_url).json()&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 09:50:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/In-listing-all-volumes-online-filter-not-working/m-p/137209#M2537</guid>
      <dc:creator>AkashShukla</dc:creator>
      <dc:date>2018-01-10T09:50:15Z</dc:date>
    </item>
  </channel>
</rss>

