- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to export extensions via QRS API?
From the UI you can export extensions in the QMC. Is it possible to export extensions via the QRS API or another Qlik Sense API? !
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Adam,
Sure. The endpoint is going to be GET https://servername:443/api/wes/v1/extensions/export/ExtensionName
In a Qlik CLI framework the code would be like this:
# Scrape the hostname from the Host.cfg
$Data = Get-Content C:\ProgramData\Qlik\Sense\Host.cfg
# Convert the base64 encoded install name for Sense to UTF data
$FQDN = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($($Data)))
Connect-Qlik -ComputerName https://$($FQDN):443 -UseDefaultCredentials
Invoke-QlikDownload -path https://$($FQDN)/api/wes/v1/extensions/export/blah -filename blah.zip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Adam,
Sure. The endpoint is going to be GET https://servername:443/api/wes/v1/extensions/export/ExtensionName
In a Qlik CLI framework the code would be like this:
# Scrape the hostname from the Host.cfg
$Data = Get-Content C:\ProgramData\Qlik\Sense\Host.cfg
# Convert the base64 encoded install name for Sense to UTF data
$FQDN = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($($Data)))
Connect-Qlik -ComputerName https://$($FQDN):443 -UseDefaultCredentials
Invoke-QlikDownload -path https://$($FQDN)/api/wes/v1/extensions/export/blah -filename blah.zip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This worked perfectly for me. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Levi_TurnerIs this API documented somewhere in the Qlik Documentation? I'm curious if I can get a list of endpoints similar to calling GET /qrs/about/api/description?extended=true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This API is not part of the repository API (QRS) and not documented since it's a private API.
But, if you are curious, you should be able to access the specs through `/api/wes/v1/openapi`