<?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: how to do lun show -path via API in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/how-to-do-lun-show-path-via-API/m-p/451361#M657</link>
    <description>&lt;P&gt;The LUN endpoints do not support returning the serial number in hexadecimal form. However, you can retrieve the serial number through the REST API with "/api/storage/luns?fields=serial_number". You can then convert this returned string to to a hexadecimal string. (this is can be done by getting the hexadecimal value of each character in the string and putting them together to get the hexadecimal string)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While imperfect, this should get you what you're looking for!&lt;/P&gt;&lt;P&gt;Please let me know if you have further questions!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2024 13:51:40 GMT</pubDate>
    <dc:creator>ddegraaf</dc:creator>
    <dc:date>2024-03-12T13:51:40Z</dc:date>
    <item>
      <title>how to do lun show -path via API</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/how-to-do-lun-show-path-via-API/m-p/451354#M656</link>
      <description>&lt;DIV class=""&gt;Hi All,&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;how do i get information of serial-hex of a lun using API. Essentaily i need to get output&amp;nbsp; of "lun show -path" using API&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:40:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/how-to-do-lun-show-path-via-API/m-p/451354#M656</guid>
      <dc:creator>kbhonagiri</dc:creator>
      <dc:date>2025-06-04T09:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to do lun show -path via API</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/how-to-do-lun-show-path-via-API/m-p/451361#M657</link>
      <description>&lt;P&gt;The LUN endpoints do not support returning the serial number in hexadecimal form. However, you can retrieve the serial number through the REST API with "/api/storage/luns?fields=serial_number". You can then convert this returned string to to a hexadecimal string. (this is can be done by getting the hexadecimal value of each character in the string and putting them together to get the hexadecimal string)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While imperfect, this should get you what you're looking for!&lt;/P&gt;&lt;P&gt;Please let me know if you have further questions!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 13:51:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/how-to-do-lun-show-path-via-API/m-p/451361#M657</guid>
      <dc:creator>ddegraaf</dc:creator>
      <dc:date>2024-03-12T13:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to do lun show -path via API</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/how-to-do-lun-show-path-via-API/m-p/451362#M658</link>
      <description>&lt;P&gt;The serial_number property returned by the&amp;nbsp;GET /storage/luns/{uuid} can be converted to hex. That ASCII and the hex are the same thing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@jfs0 current]# echo -n '80A2z+UglTqg' | od -A n -t x1&lt;BR /&gt;38 30 41 32 7a 2b 55 67 6c 54 71 67&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 13:51:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/how-to-do-lun-show-path-via-API/m-p/451362#M658</guid>
      <dc:creator>steiner</dc:creator>
      <dc:date>2024-03-12T13:51:47Z</dc:date>
    </item>
  </channel>
</rss>

