<?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>qedroger Tracker</title>
    <link>https://communities.vmware.com/wbsdv95928/tracker</link>
    <description>qedroger Tracker</description>
    <pubDate>Fri, 17 Nov 2023 19:29:54 GMT</pubDate>
    <dc:date>2023-11-17T19:29:54Z</dc:date>
    <item>
      <title>Using data API</title>
      <link>https://communities.vmware.com/t5/VIX-API-Discussions/Using-data-API/m-p/2910339#M3914</link>
      <description>&lt;P&gt;I discovered the API explorer part of our vCenter and I have had some success pulling information about VM’s. What I’m really interested in is the Metrics and Data Points API’s. I haven’t had much luck with getting useful information out of them. Under the Metrics portion I can pull the list of the available metrics but when I use the data part to actually get the data I get empty returns. This is the result for not specifying any metrics on the data API. It’s just empty.&lt;/P&gt;&lt;PRE&gt;curl -X GET 'https://{myvcenter}/api/stats/data/dp?metric=cpu.capacity.usage' -H 'vmware-api-session-id: {mysessionid}'&lt;/PRE&gt;&lt;P&gt;This is the entirety of the response.&amp;nbsp; What am I doing wrong?&amp;nbsp; {myvcenter} and {mysessionid} are just place holders for the real information.&amp;nbsp; I&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A&gt;VstatsDataDataPointsResult&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;&lt;SPAN class=""&gt;"data_points":&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;[ ]&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;[&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;]&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 18:13:56 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VIX-API-Discussions/Using-data-API/m-p/2910339#M3914</guid>
      <dc:creator>qedroger</dc:creator>
      <dc:date>2022-05-20T18:13:56Z</dc:date>
    </item>
  </channel>
</rss>

