<?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 Coffee breaks with REST - Episode #2:  Features of ONTAP REST APIs in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Coffee-breaks-with-REST-Episode-2-Features-of-ONTAP-REST-APIs/m-p/168168#M208</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Medium Res JPG Output to RGB-AdobeStock_329550982.JPG" style="width: 470px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/11804iFF151EF4D145E43A/image-dimensions/470x313?v=v2" width="470" height="313" role="button" title="Medium Res JPG Output to RGB-AdobeStock_329550982.JPG" alt="Medium Res JPG Output to RGB-AdobeStock_329550982.JPG" /&gt;&lt;/span&gt;In the &lt;A href="https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Coffee-breaks-with-REST-Episode-1-Basics-of-ONTAP-REST-APIs/m-p/167852" target="_blank" rel="noopener"&gt;previous blog Episode#1&lt;/A&gt;, you would have read about the basics of ONTAP REST APIs and how it can be accessed from your cluster environment. In this blog, we will learn about the features of ONTAP REST APIs and some cool stuffs that ONTAP REST APIs holds for simplifying your automation infrastructure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Unlike ZAPIs (ONTAPI), REST APIs simplified storage management. Going forward, New ONTAP features would be developed only on REST APIs, by which it would be the primary external facing API planned for long term. It also provides secure data access through Role based Access Control (RBAC) – supporting ONTAP Admin and SVM scoped admin access. ONTAP REST provides you historical performance for storage objects such as at cluster level, volume, nodes, LUN, Protocol in the samples of hour, day, week, month and up to a year. To understand how simple ONTAP REST APIs is compared to CLI, take a look at the below table that shows how NTFS file security permissions has been simplified with latest ONTAP release,&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Comparison of CLI Vs ZAPI Vs REST calls" style="width: 906px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/11805iDB2689990B959DDF/image-size/large?v=v2&amp;amp;px=999" role="button" title="comparison.png" alt="Comparison of CLI Vs ZAPI Vs REST calls" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Comparison of CLI Vs ZAPI Vs REST calls&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the above example, it would have been crystal clear that how ONTAP REST helps in simplifying the automation of ONTAP storage management tasks by reducing the complex calls in traditional ways. Every storage object is identified by a resource in REST – e.g: name, UUID. Whenever a API call is made, it returns a JSON Output and a status code. User can always filter the records of output (e.g, order by sorting, &amp;gt;50, &amp;lt;10). REST uses HAL as a mechanism – by which if an object or attribute is returned it provides encoded HAL link that inturn can be used to obtain more details about the resource. REST is easy to use as it come with key-value pair and thereby reducing the no of steps required to query the storage objects. All POST/PATCH operations are expected to return output in less than 2 seconds as it is handled with asynchronous jobs. The below snapshot shows http methods supported by ONTAP REST,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="http methods in ONTAP REST API" style="width: 941px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/11806iBCC81C66C4624B71/image-size/large?v=v2&amp;amp;px=999" role="button" title="http methods.png" alt="http methods in ONTAP REST API" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;http methods in ONTAP REST API&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In our next Episode#3 of the blog series, we’ll learn how curl commands and postman application can be leveraged to get started with basic API calls in ONTAP REST APIs.&amp;nbsp;&lt;BR /&gt;For queries in ONTAP REST, write to slack: &lt;A title="#api" href="https://netapppub.slack.com/archives/C1E4AJHDM" target="_blank" rel="noopener"&gt;#api&lt;/A&gt;&lt;BR /&gt;Bookmark our One Stop Shop for ONTAP REST resources -&amp;nbsp;&lt;A title="https://devnet.netapp.com/restapi.php" href="https://devnet.netapp.com/restapi.php" target="_blank" rel="noopener"&gt;https://devnet.netapp.com/restapi.php&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 10:20:25 GMT</pubDate>
    <dc:creator>qw</dc:creator>
    <dc:date>2025-06-04T10:20:25Z</dc:date>
    <item>
      <title>Coffee breaks with REST - Episode #2:  Features of ONTAP REST APIs</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Coffee-breaks-with-REST-Episode-2-Features-of-ONTAP-REST-APIs/m-p/168168#M208</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Medium Res JPG Output to RGB-AdobeStock_329550982.JPG" style="width: 470px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/11804iFF151EF4D145E43A/image-dimensions/470x313?v=v2" width="470" height="313" role="button" title="Medium Res JPG Output to RGB-AdobeStock_329550982.JPG" alt="Medium Res JPG Output to RGB-AdobeStock_329550982.JPG" /&gt;&lt;/span&gt;In the &lt;A href="https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Coffee-breaks-with-REST-Episode-1-Basics-of-ONTAP-REST-APIs/m-p/167852" target="_blank" rel="noopener"&gt;previous blog Episode#1&lt;/A&gt;, you would have read about the basics of ONTAP REST APIs and how it can be accessed from your cluster environment. In this blog, we will learn about the features of ONTAP REST APIs and some cool stuffs that ONTAP REST APIs holds for simplifying your automation infrastructure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Unlike ZAPIs (ONTAPI), REST APIs simplified storage management. Going forward, New ONTAP features would be developed only on REST APIs, by which it would be the primary external facing API planned for long term. It also provides secure data access through Role based Access Control (RBAC) – supporting ONTAP Admin and SVM scoped admin access. ONTAP REST provides you historical performance for storage objects such as at cluster level, volume, nodes, LUN, Protocol in the samples of hour, day, week, month and up to a year. To understand how simple ONTAP REST APIs is compared to CLI, take a look at the below table that shows how NTFS file security permissions has been simplified with latest ONTAP release,&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Comparison of CLI Vs ZAPI Vs REST calls" style="width: 906px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/11805iDB2689990B959DDF/image-size/large?v=v2&amp;amp;px=999" role="button" title="comparison.png" alt="Comparison of CLI Vs ZAPI Vs REST calls" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Comparison of CLI Vs ZAPI Vs REST calls&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the above example, it would have been crystal clear that how ONTAP REST helps in simplifying the automation of ONTAP storage management tasks by reducing the complex calls in traditional ways. Every storage object is identified by a resource in REST – e.g: name, UUID. Whenever a API call is made, it returns a JSON Output and a status code. User can always filter the records of output (e.g, order by sorting, &amp;gt;50, &amp;lt;10). REST uses HAL as a mechanism – by which if an object or attribute is returned it provides encoded HAL link that inturn can be used to obtain more details about the resource. REST is easy to use as it come with key-value pair and thereby reducing the no of steps required to query the storage objects. All POST/PATCH operations are expected to return output in less than 2 seconds as it is handled with asynchronous jobs. The below snapshot shows http methods supported by ONTAP REST,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="http methods in ONTAP REST API" style="width: 941px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/11806iBCC81C66C4624B71/image-size/large?v=v2&amp;amp;px=999" role="button" title="http methods.png" alt="http methods in ONTAP REST API" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;http methods in ONTAP REST API&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In our next Episode#3 of the blog series, we’ll learn how curl commands and postman application can be leveraged to get started with basic API calls in ONTAP REST APIs.&amp;nbsp;&lt;BR /&gt;For queries in ONTAP REST, write to slack: &lt;A title="#api" href="https://netapppub.slack.com/archives/C1E4AJHDM" target="_blank" rel="noopener"&gt;#api&lt;/A&gt;&lt;BR /&gt;Bookmark our One Stop Shop for ONTAP REST resources -&amp;nbsp;&lt;A title="https://devnet.netapp.com/restapi.php" href="https://devnet.netapp.com/restapi.php" target="_blank" rel="noopener"&gt;https://devnet.netapp.com/restapi.php&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:20:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Coffee-breaks-with-REST-Episode-2-Features-of-ONTAP-REST-APIs/m-p/168168#M208</guid>
      <dc:creator>qw</dc:creator>
      <dc:date>2025-06-04T10:20:25Z</dc:date>
    </item>
  </channel>
</rss>

