<?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: using rest api to get spare disks info in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/using-rest-api-to-get-spare-disks-info/m-p/460542#M736</link>
    <description>&lt;P&gt;9.14.1P8&lt;/P&gt;</description>
    <pubDate>Thu, 08 May 2025 09:18:37 GMT</pubDate>
    <dc:creator>huulrich</dc:creator>
    <dc:date>2025-05-08T09:18:37Z</dc:date>
    <item>
      <title>using rest api to get spare disks info</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/using-rest-api-to-get-spare-disks-info/m-p/460541#M735</link>
      <description>&lt;P&gt;looking for an aquivlenet to ZAPI "aggr-spare-get-iter"&lt;/P&gt;&lt;P&gt;or the CLI call "aggr show-spare-disks"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Helpfull would also be a rest api replacement for "disk partition show"&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 08:55:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/using-rest-api-to-get-spare-disks-info/m-p/460541#M735</guid>
      <dc:creator>huulrich</dc:creator>
      <dc:date>2025-05-08T08:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: using rest api to get spare disks info</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/using-rest-api-to-get-spare-disks-info/m-p/460542#M736</link>
      <description>&lt;P&gt;9.14.1P8&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 09:18:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/using-rest-api-to-get-spare-disks-info/m-p/460542#M736</guid>
      <dc:creator>huulrich</dc:creator>
      <dc:date>2025-05-08T09:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: using rest api to get spare disks info</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/using-rest-api-to-get-spare-disks-info/m-p/460799#M739</link>
      <description>&lt;P&gt;From here ,you might get a little inspiration&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PSTK&lt;BR /&gt;Get-NcAggrSpare&lt;/P&gt;&lt;P&gt;API&lt;BR /&gt;curl -X GET "https://&amp;lt;mgmt_ip&amp;gt;/api/storage/disks/? container_type=spare" -H "accept: application/json"&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 05:52:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/using-rest-api-to-get-spare-disks-info/m-p/460799#M739</guid>
      <dc:creator>Ashun</dc:creator>
      <dc:date>2025-05-19T05:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: using rest api to get spare disks info</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/using-rest-api-to-get-spare-disks-info/m-p/461584#M742</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -X GET "https://&amp;lt;mgmt_ip&amp;gt;/api/storage/disks/? container_type=spare" -H "accept: application/json"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;gives you all disks of type "spare", thats fine.&lt;BR /&gt;However with disk of type "shared", there is no further info on spare-partitions, date-partitions or root-partitions.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 13:36:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/using-rest-api-to-get-spare-disks-info/m-p/461584#M742</guid>
      <dc:creator>huulrich</dc:creator>
      <dc:date>2025-06-13T13:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: using rest api to get spare disks info</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/using-rest-api-to-get-spare-disks-info/m-p/461591#M743</link>
      <description>&lt;P data-unlink="true"&gt;According to the ONTAPI-to-REST mapping documentation located&amp;nbsp;&lt;A href="https://docs.netapp.com/us-en/ontap-restmap/aggr.html#aggr-space-get-iter" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;, (this is an amazingly useful resource by the way) the "aggr-spare-get-iter" API maps to the /api/storage/aggregates REST API, and you can use the "show_spares=true" parameter to filter the output.&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;curl -X GET &lt;/SPAN&gt;&lt;SPAN&gt;"https://&amp;lt;cluster-mgmt-fqdn&amp;gt;/api/storage/aggregates?show_spares=true&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P data-unlink="true"&gt;I am not able to find a REST API equivalent to the "disk partition show" command either, might be out of luck on that one.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jun 2025 15:44:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/using-rest-api-to-get-spare-disks-info/m-p/461591#M743</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2025-06-14T15:44:47Z</dc:date>
    </item>
  </channel>
</rss>

