<?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: OneAgent Download through the API in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/OneAgent-Download-through-the-API/m-p/113899#M663</link>
    <description>&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;Instead of an API-token please use a PaaS-token in your request:&lt;/P&gt;&lt;PRE&gt;curl -X GET "https://abc.dynatrace.com/api/v1/deployment/installer/gateway/windows/latest" -H &amp;nbsp;"accept: */*" -H &amp;nbsp;"Authorization: Api-Token &lt;STRONG&gt;PAAS-TOKEN-HERE&lt;/STRONG&gt;"&lt;/PRE&gt;&lt;P&gt;It may indeed look confusing but if you look in the Swagger API UI you'll see that they're asking for a PaaS-token instead of the standard API-token that we usually use.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/25451-1592586187520.png" /&gt;&lt;/P&gt;&lt;P&gt;Sia&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jun 2020 17:00:42 GMT</pubDate>
    <dc:creator>sia_h</dc:creator>
    <dc:date>2020-06-19T17:00:42Z</dc:date>
    <item>
      <title>OneAgent Download through the API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/OneAgent-Download-through-the-API/m-p/113898#M662</link>
      <description>&lt;P&gt;If this sufficient to download oneagent &lt;/P&gt;&lt;PRE&gt;wget -O Dynatrace-OneAgent-Linux-[version].sh https://[serverURL]/installer/agent/unix/latest/?api-token=abcdefjhij1234567890&lt;/PRE&gt;&lt;P&gt;I'm just passing api-token as query in url, but document says  we need PaaS token for downloading the oneagent, if so how to add PaaS token can you give me an example which helps me to download the oneagent from my Managed server.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 13:44:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/OneAgent-Download-through-the-API/m-p/113898#M662</guid>
      <dc:creator>ravi_kumar11</dc:creator>
      <dc:date>2020-06-19T13:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent Download through the API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/OneAgent-Download-through-the-API/m-p/113899#M663</link>
      <description>&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;Instead of an API-token please use a PaaS-token in your request:&lt;/P&gt;&lt;PRE&gt;curl -X GET "https://abc.dynatrace.com/api/v1/deployment/installer/gateway/windows/latest" -H &amp;nbsp;"accept: */*" -H &amp;nbsp;"Authorization: Api-Token &lt;STRONG&gt;PAAS-TOKEN-HERE&lt;/STRONG&gt;"&lt;/PRE&gt;&lt;P&gt;It may indeed look confusing but if you look in the Swagger API UI you'll see that they're asking for a PaaS-token instead of the standard API-token that we usually use.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/25451-1592586187520.png" /&gt;&lt;/P&gt;&lt;P&gt;Sia&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 17:00:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/OneAgent-Download-through-the-API/m-p/113899#M663</guid>
      <dc:creator>sia_h</dc:creator>
      <dc:date>2020-06-19T17:00:42Z</dc:date>
    </item>
  </channel>
</rss>

