<?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 Reload Apps with API in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reload-Apps-with-API/m-p/2106352#M19008</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a requirement to reload an app using API.&lt;/P&gt;
&lt;P&gt;I tried with following url&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;curl &lt;A href="https://xxx.xx.qlikcloud.com/qrs/app/3e324b7c-bcd3-4984-85bd-2ccfc0aa2155/reload" target="_blank"&gt;https://xxx.xx.qlikcloud.com/qrs/app/3e324b7c-bcd3-4984-85bd-2ccfc0aa2155/reload&lt;/A&gt; -X POST --ssl-no-revoke -H "Authorization: Bearer eyJhbGciOiJFUzM4NCIsImtpZCI6ImQwOThjZDhkLTc2M2UtNDNjZC1iZjdmLWJjOWQxMWU0MmFlMCIsInR5cCI6IkpXVCJ9.eyJzdWJUeXBlIjoidXNlciIsInRlbmFudElkIjoiMG1CTXExSW1qMnBFWHYyUnhpZzdqUlBqM013ajVoVXoiLCJqdGkiOiJkMDk4Y2Q4ZC03NjNlLTQzY2QtYmY3Zi1iYzlkMTFlNDJhZTAiLCJhdWQiOiJxbGlrLmFwaSIsImlzcyI6InFsaWsuYXBpL2FwaS1rZXlzIiwic3ViIjoiNjRkNDRkMmVlZDc5MjhiODlmN2MxYTdkIn0.0pcXKkfBXZR_JOqDvZh_wOOTg46AG1P8fuRmP2GTlaSo2FCmMWNlGRsW6Wdnb-36xXOzVywNbaTaXMJiM1dnb9vsnXI0PmYSAmjIPLKYmDvsxmh8q2i3etiOEbLVgdWh"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it showing 405 Not allowed Error.&lt;/P&gt;
&lt;P&gt;Response&lt;/P&gt;
&lt;P&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;405 Not Allowed&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;center&amp;gt;&amp;lt;h1&amp;gt;405 Not Allowed&amp;lt;/h1&amp;gt;&amp;lt;/center&amp;gt;&lt;BR /&gt;&amp;lt;hr&amp;gt;&amp;lt;center&amp;gt;nginx&amp;lt;/center&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;
&lt;P&gt;I tried with Postman also ,got the same error.&lt;/P&gt;
&lt;P&gt;Could you anyone suggest how to call API with Post method.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2023 14:01:56 GMT</pubDate>
    <dc:creator>John_Peter</dc:creator>
    <dc:date>2023-08-16T14:01:56Z</dc:date>
    <item>
      <title>Reload Apps with API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reload-Apps-with-API/m-p/2106352#M19008</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a requirement to reload an app using API.&lt;/P&gt;
&lt;P&gt;I tried with following url&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;curl &lt;A href="https://xxx.xx.qlikcloud.com/qrs/app/3e324b7c-bcd3-4984-85bd-2ccfc0aa2155/reload" target="_blank"&gt;https://xxx.xx.qlikcloud.com/qrs/app/3e324b7c-bcd3-4984-85bd-2ccfc0aa2155/reload&lt;/A&gt; -X POST --ssl-no-revoke -H "Authorization: Bearer eyJhbGciOiJFUzM4NCIsImtpZCI6ImQwOThjZDhkLTc2M2UtNDNjZC1iZjdmLWJjOWQxMWU0MmFlMCIsInR5cCI6IkpXVCJ9.eyJzdWJUeXBlIjoidXNlciIsInRlbmFudElkIjoiMG1CTXExSW1qMnBFWHYyUnhpZzdqUlBqM013ajVoVXoiLCJqdGkiOiJkMDk4Y2Q4ZC03NjNlLTQzY2QtYmY3Zi1iYzlkMTFlNDJhZTAiLCJhdWQiOiJxbGlrLmFwaSIsImlzcyI6InFsaWsuYXBpL2FwaS1rZXlzIiwic3ViIjoiNjRkNDRkMmVlZDc5MjhiODlmN2MxYTdkIn0.0pcXKkfBXZR_JOqDvZh_wOOTg46AG1P8fuRmP2GTlaSo2FCmMWNlGRsW6Wdnb-36xXOzVywNbaTaXMJiM1dnb9vsnXI0PmYSAmjIPLKYmDvsxmh8q2i3etiOEbLVgdWh"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it showing 405 Not allowed Error.&lt;/P&gt;
&lt;P&gt;Response&lt;/P&gt;
&lt;P&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;405 Not Allowed&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;center&amp;gt;&amp;lt;h1&amp;gt;405 Not Allowed&amp;lt;/h1&amp;gt;&amp;lt;/center&amp;gt;&lt;BR /&gt;&amp;lt;hr&amp;gt;&amp;lt;center&amp;gt;nginx&amp;lt;/center&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;
&lt;P&gt;I tried with Postman also ,got the same error.&lt;/P&gt;
&lt;P&gt;Could you anyone suggest how to call API with Post method.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 14:01:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Reload-Apps-with-API/m-p/2106352#M19008</guid>
      <dc:creator>John_Peter</dc:creator>
      <dc:date>2023-08-16T14:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Apps with API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reload-Apps-with-API/m-p/2106360#M19009</link>
      <description>&lt;P&gt;qlikcloud.com/qrs? Against which edition you are trying to run the API? Qlik SaaS or Windows?&lt;/P&gt;
&lt;P&gt;qlikcloud.com - seems like a SaaS url&lt;/P&gt;
&lt;P&gt;/qrs - seems like a Windows edition&lt;/P&gt;
&lt;P&gt;Regards!&lt;/P&gt;
&lt;P&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 14:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Reload-Apps-with-API/m-p/2106360#M19009</guid>
      <dc:creator>stefanstoichev123</dc:creator>
      <dc:date>2023-08-16T14:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Apps with API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reload-Apps-with-API/m-p/2106425#M19010</link>
      <description>&lt;P&gt;Hi &amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using Qlik sense saas..&lt;/P&gt;
&lt;P&gt;could you please tell me the correct api url for Qlik saas ?&lt;/P&gt;
&lt;P&gt;Thanks ,J&lt;/P&gt;
&lt;P&gt;ohn&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 15:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Reload-Apps-with-API/m-p/2106425#M19010</guid>
      <dc:creator>agnie_john</dc:creator>
      <dc:date>2023-08-16T15:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Apps with API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reload-Apps-with-API/m-p/2106431#M19011</link>
      <description>&lt;P&gt;It should be &lt;STRONG&gt;POST&lt;/STRONG&gt;&amp;nbsp;request to &lt;STRONG&gt;h&lt;SPAN class="url-scheme"&gt;ttps://&lt;/SPAN&gt;&lt;SPAN class="url-host"&gt;XXX.eu.qlikcloud.com&lt;/SPAN&gt;&lt;SPAN class="url-filename"&gt;/api/v1/reloads&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="url-filename"&gt;and the body is a JSON with the app id:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="url-filename"&gt;{"appId":"3e324b7c-bcd3-4984-85bd-2ccfc0aa2155"}&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="url-filename"&gt;(and the authorization header ofc)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;The response of this request will be returned when Qlik acknowledge your reload request and &lt;STRONG&gt;NOT when the app is reloaded&lt;/STRONG&gt;. The response will have the reload id.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have the reload id then you can start pooling:&amp;nbsp;&lt;STRONG&gt;GET&amp;nbsp;&lt;/STRONG&gt;request to&amp;nbsp;&lt;STRONG&gt;h&lt;SPAN class="url-scheme"&gt;ttps://&lt;/SPAN&gt;&lt;SPAN class="url-host"&gt;XXX.eu.qlikcloud.com&lt;/SPAN&gt;&lt;SPAN class="url-filename"&gt;/api/v1/reloads/&amp;lt;reload-id&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="url-filename"&gt;This will return the status of the reload with one of the possible options:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;QUEUED,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;RELOADING,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CANCELING,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SUCCEEDED,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;FAILED,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CANCELED,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;EXCEEDED_LIMIT&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;The end statuses (aka the app reload is finished) -&lt;/SPAN&gt; SUCCEEDED, FAILED,CANCELED,EXCEEDED_LIMIT&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Regards!&lt;/P&gt;
&lt;P&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 15:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Reload-Apps-with-API/m-p/2106431#M19011</guid>
      <dc:creator>stefanstoichev123</dc:creator>
      <dc:date>2023-08-16T15:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Apps with API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reload-Apps-with-API/m-p/2106570#M19013</link>
      <description>&lt;P&gt;Hi Stefan,&lt;/P&gt;
&lt;P&gt;Thanks for your reply.Now i am able to reload my app using API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 04:18:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Reload-Apps-with-API/m-p/2106570#M19013</guid>
      <dc:creator>John_Peter</dc:creator>
      <dc:date>2023-08-17T04:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Apps with API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reload-Apps-with-API/m-p/2106590#M19014</link>
      <description>&lt;P&gt;Not a problem John.&lt;/P&gt;
&lt;P&gt;Glad that it worked&lt;/P&gt;
&lt;P&gt;Regards!&lt;/P&gt;
&lt;P&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 05:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Reload-Apps-with-API/m-p/2106590#M19014</guid>
      <dc:creator>stefanstoichev123</dc:creator>
      <dc:date>2023-08-17T05:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Apps with API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reload-Apps-with-API/m-p/2500221#M21701</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;This is really useful. Is there a way to expand on this to fetch only the last successful reload of an app?&lt;/P&gt;
&lt;P&gt;I'm using this string to fetch back all reload times which I can loop through using __FK_next to get the next 100 records etc.&lt;/P&gt;
&lt;P&gt;'&lt;A href="https://XXX.XX.qlikcloud.com/api/v1/reloads?filter=status%20eq%20%22SUCCEEDED%22&amp;amp;limit=100" target="_blank"&gt;https://XXX.XX.qlikcloud.com/api/v1/reloads?filter=status%20eq%20%22SUCCEEDED%22&amp;amp;limit=100&lt;/A&gt;'&lt;/P&gt;
&lt;P&gt;So rather than looping multiple times to ensure I get all apps and then reducing the table using MAX and grouping by the appId, is there a way to only fetch back the last successful reload details for each app?&lt;/P&gt;
&lt;P&gt;Many thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 09:17:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Reload-Apps-with-API/m-p/2500221#M21701</guid>
      <dc:creator>SimonDB</dc:creator>
      <dc:date>2025-01-07T09:17:46Z</dc:date>
    </item>
  </channel>
</rss>

