<?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: Getting user quota details using REST API. in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Getting-user-quota-details-using-REST-API/m-p/158341#M91</link>
    <description>&lt;P&gt;Hi Pavel,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's no particular meaning to "someGuid" in the response. It is a system-generated UUID which uniquely identifies that entry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can both search and get the additional information in one call by using a query like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;https://"netAppName"/api/storage/quota/reports?users.name="userName"&amp;amp;volume.name="volumeName"&amp;amp;fields=*&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is, for any GET,&amp;nbsp; you can add the "fields" query parameter to request that certain fields of the object also be returned. By default, only key fields are returned (fields that identify the record) when you query a collection. This is in contrast to the default behavior&amp;nbsp; of an instance query (a request to a path that includes the identifier for a single record). For those requests, all fields are returned by default which is the behavior you saw.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appending fields=* means that you want all the fields of the object (except for certain expensive to compute fields, to include those you would need fields=**). You could alternatively (and more efficiently) use fields=files if you only cared about the hard_limit and soft_limit, for example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more examples, look in the section of the REST documentation called "Requesting Specific Fields" which is near the top.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Aug 2020 12:18:17 GMT</pubDate>
    <dc:creator>RobertBlackhart</dc:creator>
    <dc:date>2020-08-06T12:18:17Z</dc:date>
    <item>
      <title>Getting user quota details using REST API.</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Getting-user-quota-details-using-REST-API/m-p/158338#M90</link>
      <description>&lt;P&gt;Hello all!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not Storage Admin, but I've been requested to write some Web Page or something similar to show Storage Quota for each user.&lt;/P&gt;
&lt;P&gt;In our company each user has his own Quota(~5000 user).&lt;/P&gt;
&lt;P&gt;What I actually need is the correct HTTP REQUEST URL of REST API for specific user.&lt;/P&gt;
&lt;P&gt;What I have already tried to use:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://&amp;quot;netAppName&amp;quot;/api/storage/quota/reports?users.name=&amp;quot;userName&amp;quot;&amp;amp;volume.name=&amp;quot;volumeName&amp;quot;" target="_blank"&gt; https://"netAppName"/api/storage/quota/reports?users.name="userName"&amp;amp;volume.name="volumeName"&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The request above did bring this:&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;links": {&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "self": {&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "href": "/api/storage/quota/reports/"someGuid""&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Based on the "someGuid" above I&amp;nbsp; combined following HTTP REQUEST:&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;https://&lt;A href="https://&amp;quot;netAppName&amp;quot;/api/storage/quota/reports?users.name=&amp;quot;userName&amp;quot;&amp;amp;volume.name=&amp;quot;volumeName&amp;quot;" target="_blank"&gt;"netAppName"&lt;/A&gt;/api/storage/quota/reports/"someGuid"&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;This request did bring the "hard_limit", "soft_limit" and other user's information.&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;My question is: What does this "someGuid" mean? And how can I get Quota Information for specific user using one request and not multiple as in my example?&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;BR,&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Pavel&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:58:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Getting-user-quota-details-using-REST-API/m-p/158338#M90</guid>
      <dc:creator>PAVLENYCH</dc:creator>
      <dc:date>2025-06-04T10:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Getting user quota details using REST API.</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Getting-user-quota-details-using-REST-API/m-p/158341#M91</link>
      <description>&lt;P&gt;Hi Pavel,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's no particular meaning to "someGuid" in the response. It is a system-generated UUID which uniquely identifies that entry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can both search and get the additional information in one call by using a query like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;https://"netAppName"/api/storage/quota/reports?users.name="userName"&amp;amp;volume.name="volumeName"&amp;amp;fields=*&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is, for any GET,&amp;nbsp; you can add the "fields" query parameter to request that certain fields of the object also be returned. By default, only key fields are returned (fields that identify the record) when you query a collection. This is in contrast to the default behavior&amp;nbsp; of an instance query (a request to a path that includes the identifier for a single record). For those requests, all fields are returned by default which is the behavior you saw.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appending fields=* means that you want all the fields of the object (except for certain expensive to compute fields, to include those you would need fields=**). You could alternatively (and more efficiently) use fields=files if you only cared about the hard_limit and soft_limit, for example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more examples, look in the section of the REST documentation called "Requesting Specific Fields" which is near the top.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 12:18:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Getting-user-quota-details-using-REST-API/m-p/158341#M91</guid>
      <dc:creator>RobertBlackhart</dc:creator>
      <dc:date>2020-08-06T12:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Getting user quota details using REST API.</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Getting-user-quota-details-using-REST-API/m-p/158346#M92</link>
      <description>&lt;P&gt;Hello&amp;nbsp;RobertBlackhart,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very, very much!&lt;/P&gt;
&lt;P&gt;It worked for me!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You just can't imagine how long&amp;nbsp; I googled trying to find something to help me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 13:34:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Getting-user-quota-details-using-REST-API/m-p/158346#M92</guid>
      <dc:creator>PAVLENYCH</dc:creator>
      <dc:date>2020-08-06T13:34:18Z</dc:date>
    </item>
  </channel>
</rss>

