<?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 Ontap REST API CMDlets in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Ontap-REST-API-CMDlets/m-p/449520#M43014</link>
    <description>&lt;P&gt;Hi! Since ZAPI will be replaced soon i started tinkering with our scripts but noticed i get less information from using the REST API than ZAPI in all cases or no information at all from simple cmdlets to our&amp;nbsp; larger scripts since they use most of the built in cmdlets thats come from the ONTAP module in some way right now.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Few&amp;nbsp; examples below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;"PS C:\Windows\system32&amp;gt; get-ncaggr&lt;/P&gt;&lt;P&gt;Name State TotalSize Used Available Disks RaidType RaidSize Volumes&lt;BR /&gt;---- ----- --------- ---- --------- ----- -------- -------- -------&lt;BR /&gt;aggr_data_02 online 49.8 TB 23.1 TB 17 23&lt;BR /&gt;aggr_data_01 online 23.0 TB 10.4 TB 34 17"&lt;BR /&gt;&lt;BR /&gt;"RaidType &amp;amp; RaidSize Volumes" info is missing but listed as if they should be there and they are if i use "-ZAPICALL" after the command.&lt;BR /&gt;&lt;BR /&gt;Get-NcSnapmirror not working at all in our system, it does with zapicall&lt;BR /&gt;&lt;BR /&gt;Get-Ncvol is missing the "data used in %" i find that an important thing to have. "depude" entry is not shown its empty.&lt;BR /&gt;vserver and aggregate entry is showing less information than before.&lt;BR /&gt;&lt;BR /&gt;started to play around with the anti ransomware protection cmdlets since i want a script to monitor this.&amp;nbsp;&lt;BR /&gt;But all of these have problems aswell or showing almost no relevant information.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;applies to all CMDlets using "Get-NcAnti.."&lt;BR /&gt;&lt;BR /&gt;System im testing on right now is at ONTAP version&amp;nbsp;9.13.1P2.&lt;BR /&gt;&lt;BR /&gt;anyone have any input on this or if it will be fixed ? Im expecting that it will since ZAPI is about to be replaced starting at 2024 and i could rewrite all of our scripts but would rather not. i have read other threads on this and not seen a clear answer what NetApp is going to do about it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 09:43:04 GMT</pubDate>
    <dc:creator>Mattias</dc:creator>
    <dc:date>2025-06-04T09:43:04Z</dc:date>
    <item>
      <title>Ontap REST API CMDlets</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Ontap-REST-API-CMDlets/m-p/449520#M43014</link>
      <description>&lt;P&gt;Hi! Since ZAPI will be replaced soon i started tinkering with our scripts but noticed i get less information from using the REST API than ZAPI in all cases or no information at all from simple cmdlets to our&amp;nbsp; larger scripts since they use most of the built in cmdlets thats come from the ONTAP module in some way right now.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Few&amp;nbsp; examples below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;"PS C:\Windows\system32&amp;gt; get-ncaggr&lt;/P&gt;&lt;P&gt;Name State TotalSize Used Available Disks RaidType RaidSize Volumes&lt;BR /&gt;---- ----- --------- ---- --------- ----- -------- -------- -------&lt;BR /&gt;aggr_data_02 online 49.8 TB 23.1 TB 17 23&lt;BR /&gt;aggr_data_01 online 23.0 TB 10.4 TB 34 17"&lt;BR /&gt;&lt;BR /&gt;"RaidType &amp;amp; RaidSize Volumes" info is missing but listed as if they should be there and they are if i use "-ZAPICALL" after the command.&lt;BR /&gt;&lt;BR /&gt;Get-NcSnapmirror not working at all in our system, it does with zapicall&lt;BR /&gt;&lt;BR /&gt;Get-Ncvol is missing the "data used in %" i find that an important thing to have. "depude" entry is not shown its empty.&lt;BR /&gt;vserver and aggregate entry is showing less information than before.&lt;BR /&gt;&lt;BR /&gt;started to play around with the anti ransomware protection cmdlets since i want a script to monitor this.&amp;nbsp;&lt;BR /&gt;But all of these have problems aswell or showing almost no relevant information.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;applies to all CMDlets using "Get-NcAnti.."&lt;BR /&gt;&lt;BR /&gt;System im testing on right now is at ONTAP version&amp;nbsp;9.13.1P2.&lt;BR /&gt;&lt;BR /&gt;anyone have any input on this or if it will be fixed ? Im expecting that it will since ZAPI is about to be replaced starting at 2024 and i could rewrite all of our scripts but would rather not. i have read other threads on this and not seen a clear answer what NetApp is going to do about it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:43:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Ontap-REST-API-CMDlets/m-p/449520#M43014</guid>
      <dc:creator>Mattias</dc:creator>
      <dc:date>2025-06-04T09:43:04Z</dc:date>
    </item>
  </channel>
</rss>

