<?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: App metadata using api call in Move to Qlik Cloud Analytics</title>
    <link>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2516888#M2644</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336937"&gt;@TejalJadhav92&lt;/a&gt;&amp;nbsp;I see your question on this link:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/to-automate-exporting-Qlik-SaaS-app-scripts-using-qlik-saas-and/td-p/2516785" target="_blank"&gt;to automate exporting Qlik SaaS app scripts using ... - Qlik Community - 2516785&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'll try to help you from there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mark Costa&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 06 May 2025 20:17:23 GMT</pubDate>
    <dc:creator>marksouzacosta</dc:creator>
    <dc:date>2025-05-06T20:17:23Z</dc:date>
    <item>
      <title>App metadata using api call</title>
      <link>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2505805#M2451</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;I need to fetch the metadata of each application like file size and other details in qlik cloud analytics using api call but I am only getting 1 line of data using below api call&lt;/P&gt;
&lt;P&gt;GET /api/v1/apps/{appId}/metadata&lt;/P&gt;
&lt;P&gt;.is there a way to Loop through all other apps metadata using the same api call to fecth the data mentioned above?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Raju&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ae_app" data-nosnippet=""&gt;&lt;!--
        Layout, Style or Voice Helpers
    --&gt;
&lt;DIV id="ae_helpers" class="ae-module" style="display: none;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!--
        Compliance
    --&gt;
&lt;DIV id="ae_compliance" class="ae-module" style="display: none;"&gt;&lt;!-- For autoSmartRem addNewWindowWarnings div is referenced in an aria-describedby --&gt;
&lt;DIV id="audioeye_new_window_message" style="display: none;"&gt;Opens in new window&lt;/DIV&gt;
&lt;DIV id="audioeye_pdf_message" style="display: none;"&gt;PDF Download&lt;/DIV&gt;
&lt;DIV id="audioeye_word_message" style="display: none;"&gt;Word Download&lt;/DIV&gt;
&lt;DIV id="audioeye_excel_message" style="display: none;"&gt;Excel Download&lt;/DIV&gt;
&lt;DIV id="audioeye_powerpoint_message" style="display: none;"&gt;PowerPoint Download&lt;/DIV&gt;
&lt;DIV id="audioeye_document_message" style="display: none;"&gt;Document Download&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;!--
        Versioning Control Panel if versioning = true !
    --&gt; &lt;!--
        Launcher
    --&gt;  &lt;!-- Toolbar --&gt;
&lt;ASIDE id="ae_toolbar" tabindex="0" aria-label="Accessibility options"&gt;&lt;/ASIDE&gt;
&lt;!--
        Site Menu
    --&gt;  &lt;!--
        Generic Aria Live message container
    --&gt;
&lt;DIV id="ae_enabled_messages" class="ae-blurb-noaudio" aria-relevant="additions" aria-live="assertive"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!-- Symbol definitions --&gt;    &lt;/DIV&gt;
&lt;!-- end #ae_app --&gt;</description>
      <pubDate>Tue, 27 Jan 2026 10:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2505805#M2451</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2026-01-27T10:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: App metadata using api call</title>
      <link>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2505813#M2453</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/229534"&gt;@Raju_6952&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If you are looking only for App Size, you can use the Get Items API Endpoint.&lt;/P&gt;
&lt;P&gt;If you need the App Metadata, you'll have to use a combination of &lt;STRONG&gt;Get Items&lt;/STRONG&gt; (or &lt;STRONG&gt;Get App&lt;/STRONG&gt;) Endpoint, loop through the returned App IDs, and then the metadata from Get App Metadada Endpoint for each listed app.&lt;/P&gt;
&lt;P&gt;I'll assume that you need the App Metadata, so in this case you can do this code - &lt;EM&gt;this may take some time to reload depending on the number of apps you have on your Tenant&lt;/EM&gt;:&lt;/P&gt;
&lt;PRE&gt;LIB CONNECT TO 'Get Apps';

// Get the list of Apps
[AppList]:
LOAD
	[id] AS [AppID],
    [id] AS [AppLoopID], // just for looping purposes in the next step
	[name] AS [AppName],
	[ownerId] AS [OwnerID],
	[spaceId] AS [SpaceID]
WHERE
	NOT IsNull([__FK_attributes])
;
SQL SELECT 
	"__KEY_root",
	(SELECT 
		"__FK_data",
		"__KEY_data",
		(SELECT 
			"id",
			"name",
			"ownerId",
			"spaceId",
			"__FK_attributes",
			"__KEY_attributes"
		FROM "attributes" PK "__KEY_attributes" FK "__FK_attributes")
	FROM "data" PK "__KEY_data" FK "__FK_data")
FROM JSON (wrap on) "root" PK "__KEY_root";


// For each app previously loaded, get the metadata
For Each vAppID in FieldValueList('AppLoopID')

	// Dynamically sets the URL to use in the REST Connector
	LET vGetAppMetadataUrl = 'https://your-tenant.us.qlikcloud.com/api/v1/apps/$(vAppID)/data/metadata';
    
    LIB CONNECT TO 'Get App Metadata';

	// Your query and sub-tables will change according to the fields you need to load
    [TempAppMetadata]:
    SQL SELECT 
        "static_byte_size",
        "__KEY_root",
        (SELECT 
            "cpu_time_spent_ms",
            "peak_memory_bytes",
            "fullReloadPeakMemoryBytes",
            "__FK_reload_meta",
            "__KEY_reload_meta"
        FROM "reload_meta" PK "__KEY_reload_meta" FK "__FK_reload_meta")
    FROM JSON (wrap on) "root" PK "__KEY_root"
    WITH CONNECTION (
    	Url "$(vGetAppMetadataUrl)"
    )
    ;

    [AppReloadMetadata]:
    LOAD
        '$(vAppID)' AS [AppID],
        [cpu_time_spent_ms],
        [peak_memory_bytes],
        [fullReloadPeakMemoryBytes]
    RESIDENT
        [TempAppMetadata]
    WHERE
        NOT IsNull([__FK_reload_meta])
    ;

    [AppSize]:
    LOAD
        '$(vAppID)' AS [AppID],
        [static_byte_size]
    RESIDENT
        [TempAppMetadata]
    WHERE
        NOT IsNull([__KEY_root])
    ;

    DROP TABLE [TempAppMetadata];
    
Next vAppID&lt;/PRE&gt;
&lt;P&gt;These are the two REST Connections needed:&lt;/P&gt;
&lt;P&gt;The first one is to return the list of Applications - with a few more info if needed. The green arrows are the things you need to adjust. This connection requires&amp;nbsp;&lt;STRONG&gt;pagination&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marksouzacosta_0-1739471925198.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177528iC27FF6F94500D4E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marksouzacosta_0-1739471925198.png" alt="marksouzacosta_0-1739471925198.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The second REST Connection returns the Metadata. Enter the URL to collect the metadata for one application where you know its ID. Don't worry about it, in the Load Script we will dynamically overwrite the URL from this REST Connection. That is why the&amp;nbsp;&lt;STRONG&gt;Allow WITH Connection&lt;/STRONG&gt; is mandatory for this connection.&amp;nbsp;&lt;STRONG&gt;Pagination&lt;/STRONG&gt; is NOT required on this connection:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marksouzacosta_2-1739472067117.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177530i27D32137CA5E02B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marksouzacosta_2-1739472067117.png" alt="marksouzacosta_2-1739472067117.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is everything. I hope it helps!&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mark Costa&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 18:44:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2505813#M2453</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2025-02-13T18:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: App metadata using api call</title>
      <link>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2505912#M2455</link>
      <description>&lt;P&gt;Following thanks &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 10:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2505912#M2455</guid>
      <dc:creator>diegozecchini</dc:creator>
      <dc:date>2025-02-14T10:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: App metadata using api call</title>
      <link>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2505947#M2456</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Many thanks for sharing the inputs here to fix this issue on my end.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Raju&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 13:54:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2505947#M2456</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2025-02-14T13:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: App metadata using api call</title>
      <link>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2505949#M2457</link>
      <description>&lt;P&gt;No problem&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/229534"&gt;@Raju_6952&lt;/a&gt;,&amp;nbsp;it is my pleasure.&lt;BR /&gt;Let us know if you have any other questions.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mark Costa&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 13:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2505949#M2457</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2025-02-14T13:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: App metadata using api call</title>
      <link>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2506096#M2460</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;just wanted to check is there a way to track the RAM usage details consumed by user and use b&lt;/P&gt;
&lt;P&gt;consider like we have one text app and it has some concurrent users which are accessing the system simultaneously and RAM required for making the selection state and other stuff.&lt;/P&gt;
&lt;P&gt;currently I am able to fetch Static file size and App reload statiscs data using Rest api connection.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Raju&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 08:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2506096#M2460</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2025-02-17T08:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: App metadata using api call</title>
      <link>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2516783#M2625</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035" target="_blank"&gt;@marksouzacosta&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; can you please ex;plain how&amp;nbsp;&lt;SPAN class="ng-star-inserted"&gt;to automate exporting Qlik SaaS app scripts using qlik&lt;/SPAN&gt;&lt;BR class="ng-star-inserted" /&gt;&lt;SPAN class="ng-star-inserted"&gt;and the Qlik REST APIs&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 09:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2516783#M2625</guid>
      <dc:creator>TejalJadhav92</dc:creator>
      <dc:date>2025-05-06T09:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: App metadata using api call</title>
      <link>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2516888#M2644</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336937"&gt;@TejalJadhav92&lt;/a&gt;&amp;nbsp;I see your question on this link:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/to-automate-exporting-Qlik-SaaS-app-scripts-using-qlik-saas-and/td-p/2516785" target="_blank"&gt;to automate exporting Qlik SaaS app scripts using ... - Qlik Community - 2516785&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'll try to help you from there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mark Costa&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 20:17:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Move-to-Qlik-Cloud-Analytics/App-metadata-using-api-call/m-p/2516888#M2644</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2025-05-06T20:17:23Z</dc:date>
    </item>
  </channel>
</rss>

