<?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: Need assistances with Settings 2.0 API call in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Need-assistances-with-Settings-2-0-API-call/m-p/206290#M2332</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/6931"&gt;@Yosi_Neuman&lt;/a&gt;&amp;nbsp;for confirming what i was afraid to be the solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For those reading this post, I use a product called Node-Red to handle such advanced API call requirements. I suggest others give it a try as a low-code solution to iterate over the results of one API (and pages) to then collect details from a second, third, forth API. Apparently this will be needed if having to use Settings 2.0 API.&lt;/P&gt;&lt;P&gt;Most large companies probably don't have issue with such code dependent approaches because they have multiple resources and developers at hand.&amp;nbsp; I'm in a situation where it's 2 people supporting this service, so we need APIs that are more efficient, require less code, or use low-code solutions to fill in for lack of resources.&lt;/P&gt;&lt;P&gt;Dynatrace I'd be interested to here from your API team why you're trying to move to a One-API-Fits-All solution with Settings 2.0.&amp;nbsp; This is making it more difficult to use Dynatrace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 04 Mar 2023 20:19:26 GMT</pubDate>
    <dc:creator>ct_27</dc:creator>
    <dc:date>2023-03-04T20:19:26Z</dc:date>
    <item>
      <title>Need assistances with Settings 2.0 API call</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Need-assistances-with-Settings-2-0-API-call/m-p/206147#M2330</link>
      <description>&lt;P&gt;I seem to struggle a bit wit the Settings API. I'm trying to list all hosts in my environment that have custom anomaly disk detection configurations.&amp;nbsp; I tried the 'Hierarchy and overrides" but the list it provides is definitely not right.&lt;/P&gt;
&lt;P&gt;This is the schema&amp;nbsp;&lt;SPAN&gt;builtin:anomaly-detection.infrastructure-disks.per-disk-override.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm trying to list each host that has custom disk-overrides and then list what each of those are. (at the per-disk level)&amp;nbsp; I need to report on this as part of a QA process of our monitors.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm looking for any guidance though I admit I'm afraid the solution is going to be a very code-level set of multiple-API calls to obtain. This Settings api is far more complicated than the old API created for each function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks in advance to anyone with guidance.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 07:59:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Need-assistances-with-Settings-2-0-API-call/m-p/206147#M2330</guid>
      <dc:creator>ct_27</dc:creator>
      <dc:date>2023-03-03T07:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need assistances with Settings 2.0 API call</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Need-assistances-with-Settings-2-0-API-call/m-p/206288#M2331</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/38037"&gt;@ct_27&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yep you will need a small automation code that will collect all the &lt;EM&gt;&lt;STRONG&gt;object ids&lt;/STRONG&gt; &lt;/EM&gt;with v2&lt;EM&gt;/settings/objects&lt;/EM&gt; and then for each&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;objectId&amp;nbsp; &lt;/EM&gt;&lt;/STRONG&gt;fetch with &lt;EM&gt;v2/settings/objects/{objectId}&amp;nbsp;&lt;/EM&gt;the&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;hostid&lt;/STRONG&gt;&amp;nbsp;&lt;/EM&gt;from the scope filed and if you need the host name .... you know what to do with &lt;EM&gt;v1/entity/infrastructure/hosts/{meIdentifier}.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Yos&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Mar 2023 18:12:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Need-assistances-with-Settings-2-0-API-call/m-p/206288#M2331</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2023-03-04T18:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need assistances with Settings 2.0 API call</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Need-assistances-with-Settings-2-0-API-call/m-p/206290#M2332</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/6931"&gt;@Yosi_Neuman&lt;/a&gt;&amp;nbsp;for confirming what i was afraid to be the solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For those reading this post, I use a product called Node-Red to handle such advanced API call requirements. I suggest others give it a try as a low-code solution to iterate over the results of one API (and pages) to then collect details from a second, third, forth API. Apparently this will be needed if having to use Settings 2.0 API.&lt;/P&gt;&lt;P&gt;Most large companies probably don't have issue with such code dependent approaches because they have multiple resources and developers at hand.&amp;nbsp; I'm in a situation where it's 2 people supporting this service, so we need APIs that are more efficient, require less code, or use low-code solutions to fill in for lack of resources.&lt;/P&gt;&lt;P&gt;Dynatrace I'd be interested to here from your API team why you're trying to move to a One-API-Fits-All solution with Settings 2.0.&amp;nbsp; This is making it more difficult to use Dynatrace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Mar 2023 20:19:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Need-assistances-with-Settings-2-0-API-call/m-p/206290#M2332</guid>
      <dc:creator>ct_27</dc:creator>
      <dc:date>2023-03-04T20:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need assistances with Settings 2.0 API call</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Need-assistances-with-Settings-2-0-API-call/m-p/206813#M2340</link>
      <description>&lt;P&gt;I like the settings API a lot. The fact is that the last year a huge amount of possible config was added to Dynatrace. Having separate API's for them would not be better or worse in my opinion. There would just be a lot of them and probably less consistent.&lt;/P&gt;&lt;P&gt;As an alternative for your question you could use monaco v2 (&lt;A href="https://github.com/Dynatrace/dynatrace-configuration-as-code/releases/tag/v2.0.0-rc.4" target="_blank"&gt;https://github.com/Dynatrace/dynatrace-configuration-as-code/releases/tag/v2.0.0-rc.4&lt;/A&gt;) and download the configuration to start with.&lt;BR /&gt;But I would also invest in a GitOps approach to maintain the configuration so you know exactly at any time what the deviations of all settings are on all scopes.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 20:40:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Need-assistances-with-Settings-2-0-API-call/m-p/206813#M2340</guid>
      <dc:creator>Bert_VanderHeyd</dc:creator>
      <dc:date>2023-03-10T20:40:25Z</dc:date>
    </item>
  </channel>
</rss>

