<?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 PowerShell Toolkit 9.12 - Issues with RESTAPI Not Providing All Details that were in ONTAPI in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/PowerShell-Toolkit-9-12-Issues-with-RESTAPI-Not-Providing-All-Details-that-were/m-p/444943#M520</link>
    <description>&lt;P&gt;When you use REST API to get the status/list of snapmirrors, the fields returned are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SourceVserver&amp;nbsp;&lt;BR /&gt;SourceLocation&lt;BR /&gt;DestinationVserver&lt;BR /&gt;DestinationLocation&lt;BR /&gt;Status : snapmirrored&lt;BR /&gt;IsHealthy&amp;nbsp;&lt;BR /&gt;TransferSchedule&amp;nbsp;&lt;BR /&gt;MirrorState : snapmirrored&lt;BR /&gt;NcController&amp;nbsp;&lt;BR /&gt;Policy&amp;nbsp;&lt;BR /&gt;PolicyType&amp;nbsp;&lt;BR /&gt;Vserver&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the old ONTAPI would return:&lt;/P&gt;&lt;P&gt;SourceVserver&lt;BR /&gt;SourceLocation&lt;BR /&gt;DestinationVserver&lt;BR /&gt;DestinationLocation&lt;BR /&gt;Status : preparing&lt;BR /&gt;IsHealthy&lt;BR /&gt;TransferSchedule :&lt;BR /&gt;MirrorState : snapmirrored&lt;BR /&gt;NcController&lt;BR /&gt;Policy&lt;BR /&gt;PolicyType&lt;BR /&gt;Vserver&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My point being, that the old ONTAPI would return the MirrorState (snapmirrored) and the Status (Preparring).&lt;/P&gt;&lt;P&gt;With the new RESTAPI, there is no way to know that the snapmirror is still "preparring".... it only reports "snapmirrored".&lt;/P&gt;&lt;P&gt;So, calling another command to do something to the snapmirror fails - as the snapmirror is performing a different operation (ie. it's busy).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There seem to be quite a large number of shortcomings in the RESTAPI set of commands for this to be replacing ONTAPI in OnTap 9.14 (as we are already running 9.12 with 9.13 in RC status).&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 09:48:35 GMT</pubDate>
    <dc:creator>MRoney</dc:creator>
    <dc:date>2025-06-04T09:48:35Z</dc:date>
    <item>
      <title>PowerShell Toolkit 9.12 - Issues with RESTAPI Not Providing All Details that were in ONTAPI</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/PowerShell-Toolkit-9-12-Issues-with-RESTAPI-Not-Providing-All-Details-that-were/m-p/444943#M520</link>
      <description>&lt;P&gt;When you use REST API to get the status/list of snapmirrors, the fields returned are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SourceVserver&amp;nbsp;&lt;BR /&gt;SourceLocation&lt;BR /&gt;DestinationVserver&lt;BR /&gt;DestinationLocation&lt;BR /&gt;Status : snapmirrored&lt;BR /&gt;IsHealthy&amp;nbsp;&lt;BR /&gt;TransferSchedule&amp;nbsp;&lt;BR /&gt;MirrorState : snapmirrored&lt;BR /&gt;NcController&amp;nbsp;&lt;BR /&gt;Policy&amp;nbsp;&lt;BR /&gt;PolicyType&amp;nbsp;&lt;BR /&gt;Vserver&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the old ONTAPI would return:&lt;/P&gt;&lt;P&gt;SourceVserver&lt;BR /&gt;SourceLocation&lt;BR /&gt;DestinationVserver&lt;BR /&gt;DestinationLocation&lt;BR /&gt;Status : preparing&lt;BR /&gt;IsHealthy&lt;BR /&gt;TransferSchedule :&lt;BR /&gt;MirrorState : snapmirrored&lt;BR /&gt;NcController&lt;BR /&gt;Policy&lt;BR /&gt;PolicyType&lt;BR /&gt;Vserver&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My point being, that the old ONTAPI would return the MirrorState (snapmirrored) and the Status (Preparring).&lt;/P&gt;&lt;P&gt;With the new RESTAPI, there is no way to know that the snapmirror is still "preparring".... it only reports "snapmirrored".&lt;/P&gt;&lt;P&gt;So, calling another command to do something to the snapmirror fails - as the snapmirror is performing a different operation (ie. it's busy).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There seem to be quite a large number of shortcomings in the RESTAPI set of commands for this to be replacing ONTAPI in OnTap 9.14 (as we are already running 9.12 with 9.13 in RC status).&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:48:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/PowerShell-Toolkit-9-12-Issues-with-RESTAPI-Not-Providing-All-Details-that-were/m-p/444943#M520</guid>
      <dc:creator>MRoney</dc:creator>
      <dc:date>2025-06-04T09:48:35Z</dc:date>
    </item>
  </channel>
</rss>

