<?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: size output from /storage/volumes in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/size-output-from-storage-volumes/m-p/157771#M72</link>
    <description>&lt;P&gt;No, there is no way to ask the API to return the value in any other format other than an integer number of bytes (unless otherwise noted). Any conversion after fetching will need to be done on the client side by the application.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jul 2020 17:00:29 GMT</pubDate>
    <dc:creator>RobertBlackhart</dc:creator>
    <dc:date>2020-07-15T17:00:29Z</dc:date>
    <item>
      <title>size output from /storage/volumes</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/size-output-from-storage-volumes/m-p/157769#M71</link>
      <description>&lt;P&gt;Is it possible to to get size output from /storage/volumes in KB/MB/GB? Or is it only in bytes.&amp;nbsp; I saw the following but this seems to apply only for query parameters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Overview&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Many objects contain properties related to various sizes. Examples can be found in the&amp;nbsp;aggregate&amp;nbsp;object,&amp;nbsp;volume&amp;nbsp;object,&amp;nbsp;lun&amp;nbsp;object and&amp;nbsp;nvme_namespace&amp;nbsp;object. These properties are documented as type&amp;nbsp;integer.&lt;BR /&gt;&lt;BR /&gt;Unless otherwise documented, all sizes are reported in GET in bytes.&lt;BR /&gt;&lt;BR /&gt;Depending on the development language-specific code generation, the API typically also requires an integer value in bytes for POST and PATCH input as well.&lt;BR /&gt;&lt;BR /&gt;Where a string value is accepted, such as query parameters and ad-hoc curl requests, any of the following suffixes can be used to specify different units:&lt;/P&gt;
&lt;TABLE width="1378"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;&lt;STRONG&gt;Suffix&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;&lt;STRONG&gt;Definition&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;KB&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;kilobytes (1024 bytes, aka kibibytes)&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;MB&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;megabytes (KB x 1024, aka mebibytes)&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;GB&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;gigabytes (MB x 1024, aka gibibytes)&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;TB&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;terabytes (GB x 1024, aka tebibytes)&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;PB&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;petabytes (TB x 1024, aka pebibytes)&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:00:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/size-output-from-storage-volumes/m-p/157769#M71</guid>
      <dc:creator>kramar</dc:creator>
      <dc:date>2025-06-04T11:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: size output from /storage/volumes</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/size-output-from-storage-volumes/m-p/157771#M72</link>
      <description>&lt;P&gt;No, there is no way to ask the API to return the value in any other format other than an integer number of bytes (unless otherwise noted). Any conversion after fetching will need to be done on the client side by the application.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 17:00:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/size-output-from-storage-volumes/m-p/157771#M72</guid>
      <dc:creator>RobertBlackhart</dc:creator>
      <dc:date>2020-07-15T17:00:29Z</dc:date>
    </item>
  </channel>
</rss>

