Themes
Themes enable you to customize/style the Qlik Sense client experience.
Endpoints
Lists all imported themes in the tenant.
Facts
Rate limit | Tier 1 (1000 requests per minute) |
Categories | extend |
Responses
200
application/json
OK. Lists all themes.
- application/jsonobject
application/json properties
- dataarray of objectsRequired
The theme model.
data properties
- idstring
- fileobject
The file that was uploaded with the theme.
- iconstring
Icon to show in the client.
- namestring
The display name of this theme.
- tagsarray of strings
List of tags.
- typestring
The type of this theme (visualization, etc.).
- authorstring
Author of the theme.
- userIdstring
- licensestring
Under which license this theme is published.
- versionstring
Version of the theme.
- homepagestring
Home page of the theme.
- keywordsstring
Keywords for the theme.
- supplierstring
Supplier of the theme.
- tenantIdstring
- updateAtstring
- createdAtstring
- repositorystring
Link to the theme source code.
- descriptionstring
Description of the theme.
- qextVersionstring
The version from the qext file that was uploaded with this extension.
- dependenciesobject
Map of dependencies describing version of the component it requires.
- qextFilenamestring
The name of the qext file that was uploaded with this theme.
-
-
curl "https://your-tenant.us.qlikcloud.com/api/v1/themes" \-H "Authorization: Bearer <access_token>"
const https = require('https') const data = JSON.stringify("") const options = { 'hostname': 'https://your-tenant.us.qlikcloud.com', 'port': 443, 'path': '/api/v1/themes', 'method': 'GET', 'headers': { 'Authorization': 'Bearer <access_token>' } } const req = https.request(options)
qlik theme ls
Response
{ "data": [ { "id": "string", "file": {}, "icon": "string", "name": "string", "tags": [ "string" ], "type": "string", "author": "string", "userId": "string", "license": "string", "version": "string", "homepage": "string", "keywords": "string", "supplier": "string", "tenantId": "string", "updateAt": "string", "createdAt": "string", "repository": "string", "description": "string", "qextVersion": "string", "dependencies": {}, "qextFilename": "string" } ]}
Creates a new theme. Accepts either provided file or data object. The name of the new theme must be different to any existing themes.
Facts
Rate limit | Tier 2 (100 requests per minute) |
Categories | extend |
Request Body
Requiredmultipart/form-data
- multipart/form-dataobject
multipart/form-data properties
- dataobject
The theme model.
data properties
- fileobject
The file that was uploaded with the theme.
- iconstring
Icon to show in the client.
- namestring
The display name of this theme.
- tagsarray of strings
List of tags.
- typestring
The type of this theme (visualization, etc.).
- authorstring
Author of the theme.
- licensestring
Under which license this theme is published.
- versionstring
Version of the theme.
- homepagestring
Home page of the theme.
- keywordsstring
Keywords for the theme.
- supplierstring
Supplier of the theme.
- repositorystring
Link to the theme source code.
- descriptionstring
Description of the theme.
- qextVersionstring
The version from the qext file that was uploaded with this extension.
- dependenciesobject
Map of dependencies describing version of the component it requires.
- qextFilenamestring
The name of the qext file that was uploaded with this theme.
-
- filestring
Theme archive.
-
Responses
201
application/json
Created. Creates a new theme and returns it.
The theme model.
- application/jsonobject
The theme model.
application/json properties
- idstring
- fileobject
The file that was uploaded with the theme.
- iconstring
Icon to show in the client.
- namestring
The display name of this theme.
- tagsarray of strings
List of tags.
- typestring
The type of this theme (visualization, etc.).
- authorstring
Author of the theme.
- userIdstring
- licensestring
Under which license this theme is published.
- versionstring
Version of the theme.
- homepagestring
Home page of the theme.
- keywordsstring
Keywords for the theme.
- supplierstring
Supplier of the theme.
- tenantIdstring
- updateAtstring
- createdAtstring
- repositorystring
Link to the theme source code.
- descriptionstring
Description of the theme.
- qextVersionstring
The version from the qext file that was uploaded with this extension.
- dependenciesobject
Map of dependencies describing version of the component it requires.
- qextFilenamestring
The name of the qext file that was uploaded with this theme.
-
409
application/json
Conflict. Resource with same unique identity already exists.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
415
application/json
Unsupported media type. Body of the payload is not a valid JSON object.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
422
application/json
Unprocessable entity. Validation error.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
default
application/json
Unexpected error.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
curl "https://your-tenant.us.qlikcloud.com/api/v1/themes" \-X POST \-H "Content-type: multipart/form-data" \-H "Authorization: Bearer <access_token>" \-F "data={\"id\":\"string\",\"file\":{},\"icon\":\"string\",\"name\":\"string\",\"tags\":[\"string\"],\"type\":\"string\",\"author\":\"string\",\"userId\":\"string\",\"license\":\"string\",\"version\":\"string\",\"homepage\":\"string\",\"keywords\":\"string\",\"supplier\":\"string\",\"tenantId\":\"string\",\"updateAt\":\"string\",\"createdAt\":\"string\",\"repository\":\"string\",\"description\":\"string\",\"qextVersion\":\"string\",\"dependencies\":{},\"qextFilename\":\"string\"}" \-F "file=@/path/to/file"
const https = require('https') const data = JSON.stringify({"data":{"file":{},"icon":"string","name":"string","tags":["string"],"type":"string","author":"string","license":"string","version":"string","homepage":"string","keywords":"string","supplier":"string","repository":"string","description":"string","qextVersion":"string","dependencies":{},"qextFilename":"string"},"file":"string"}) const options = { 'hostname': 'https://your-tenant.us.qlikcloud.com', 'port': 443, 'path': '/api/v1/themes', 'method': 'POST', 'headers': { 'Content-type': 'multipart/form-data', 'Authorization': 'Bearer <access_token>' } } const req = https.request(options) req.write(formData)
qlik theme create \--file="string"
Request
{ "data": { "file": {}, "icon": "string", "name": "string", "tags": [ "string" ], "type": "string", "author": "string", "license": "string", "version": "string", "homepage": "string", "keywords": "string", "supplier": "string", "repository": "string", "description": "string", "qextVersion": "string", "dependencies": {}, "qextFilename": "string" }, "file": "string"}
Response
{ "id": "string", "file": {}, "icon": "string", "name": "string", "tags": [ "string" ], "type": "string", "author": "string", "userId": "string", "license": "string", "version": "string", "homepage": "string", "keywords": "string", "supplier": "string", "tenantId": "string", "updateAt": "string", "createdAt": "string", "repository": "string", "description": "string", "qextVersion": "string", "dependencies": {}, "qextFilename": "string"}
Returns a specific theme matching either theme ID or theme name.
Facts
Rate limit | Tier 1 (1000 requests per minute) |
Categories | extend |
Path Parameters
- idstringRequired
Theme identifier or its qextFilename
Responses
200
application/json
OK. Returns theme with {id}.
The theme model.
- application/jsonobject
The theme model.
application/json properties
- idstring
- fileobject
The file that was uploaded with the theme.
- iconstring
Icon to show in the client.
- namestring
The display name of this theme.
- tagsarray of strings
List of tags.
- typestring
The type of this theme (visualization, etc.).
- authorstring
Author of the theme.
- userIdstring
- licensestring
Under which license this theme is published.
- versionstring
Version of the theme.
- homepagestring
Home page of the theme.
- keywordsstring
Keywords for the theme.
- supplierstring
Supplier of the theme.
- tenantIdstring
- updateAtstring
- createdAtstring
- repositorystring
Link to the theme source code.
- descriptionstring
Description of the theme.
- qextVersionstring
The version from the qext file that was uploaded with this extension.
- dependenciesobject
Map of dependencies describing version of the component it requires.
- qextFilenamestring
The name of the qext file that was uploaded with this theme.
-
403
application/json
Forbidden. User is not authorized to read theme with {id}.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
404
application/json
Not found. Could not find the theme with {id}.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
410
application/json
Gone. Theme with {id} has been deleted.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
curl "https://your-tenant.us.qlikcloud.com/api/v1/themes/{id}" \-H "Authorization: Bearer <access_token>"
const https = require('https') const data = JSON.stringify("") const options = { 'hostname': 'https://your-tenant.us.qlikcloud.com', 'port': 443, 'path': '/api/v1/themes/{id}', 'method': 'GET', 'headers': { 'Authorization': 'Bearer <access_token>' } } const req = https.request(options)
qlik theme get <themeId>
Response
{ "id": "string", "file": {}, "icon": "string", "name": "string", "tags": [ "string" ], "type": "string", "author": "string", "userId": "string", "license": "string", "version": "string", "homepage": "string", "keywords": "string", "supplier": "string", "tenantId": "string", "updateAt": "string", "createdAt": "string", "repository": "string", "description": "string", "qextVersion": "string", "dependencies": {}, "qextFilename": "string"}
Updates a specific theme matching either theme ID or theme name. Accepts either provided file or data object.
Facts
Rate limit | Tier 2 (100 requests per minute) |
Categories | extend |
Path Parameters
- idstringRequired
Theme identifier or its qextFilename.
Request Body
Requiredmultipart/form-data
- multipart/form-dataobject
multipart/form-data properties
- dataobject
The theme model.
data properties
- fileobject
The file that was uploaded with the theme.
- iconstring
Icon to show in the client.
- namestring
The display name of this theme.
- tagsarray of strings
List of tags.
- typestring
The type of this theme (visualization, etc.).
- authorstring
Author of the theme.
- licensestring
Under which license this theme is published.
- versionstring
Version of the theme.
- homepagestring
Home page of the theme.
- keywordsstring
Keywords for the theme.
- supplierstring
Supplier of the theme.
- repositorystring
Link to the theme source code.
- descriptionstring
Description of the theme.
- qextVersionstring
The version from the qext file that was uploaded with this extension.
- dependenciesobject
Map of dependencies describing version of the component it requires.
- qextFilenamestring
The name of the qext file that was uploaded with this theme.
-
- filestring
Theme archive.
-
Responses
200
application/json
OK. Theme has been updated.
- application/jsonobject
application/json properties
- dataarray of objectsRequired
The theme model.
data properties
- idstring
- fileobject
The file that was uploaded with the theme.
- iconstring
Icon to show in the client.
- namestring
The display name of this theme.
- tagsarray of strings
List of tags.
- typestring
The type of this theme (visualization, etc.).
- authorstring
Author of the theme.
- userIdstring
- licensestring
Under which license this theme is published.
- versionstring
Version of the theme.
- homepagestring
Home page of the theme.
- keywordsstring
Keywords for the theme.
- supplierstring
Supplier of the theme.
- tenantIdstring
- updateAtstring
- createdAtstring
- repositorystring
Link to the theme source code.
- descriptionstring
Description of the theme.
- qextVersionstring
The version from the qext file that was uploaded with this extension.
- dependenciesobject
Map of dependencies describing version of the component it requires.
- qextFilenamestring
The name of the qext file that was uploaded with this theme.
-
-
403
application/json
Forbidden. User is not authorized to update theme with {id}.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
404
application/json
Not found. Could not find the theme with {id}.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
409
application/json
Conflict. Resource with same unique identity already exists.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
415
application/json
Unsupported media type. Body of the payload is not a valid JSON object.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
422
application/json
Unprocessable entity. Validation error.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
default
application/json
Unexpected error.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
curl "https://your-tenant.us.qlikcloud.com/api/v1/themes/{id}" \-X PATCH \-H "Content-type: multipart/form-data" \-H "Authorization: Bearer <access_token>" \-F "data={\"id\":\"string\",\"file\":{},\"icon\":\"string\",\"name\":\"string\",\"tags\":[\"string\"],\"type\":\"string\",\"author\":\"string\",\"userId\":\"string\",\"license\":\"string\",\"version\":\"string\",\"homepage\":\"string\",\"keywords\":\"string\",\"supplier\":\"string\",\"tenantId\":\"string\",\"updateAt\":\"string\",\"createdAt\":\"string\",\"repository\":\"string\",\"description\":\"string\",\"qextVersion\":\"string\",\"dependencies\":{},\"qextFilename\":\"string\"}" \-F "file=@/path/to/file"
const https = require('https') const data = JSON.stringify({"data":{"file":{},"icon":"string","name":"string","tags":["string"],"type":"string","author":"string","license":"string","version":"string","homepage":"string","keywords":"string","supplier":"string","repository":"string","description":"string","qextVersion":"string","dependencies":{},"qextFilename":"string"},"file":"string"}) const options = { 'hostname': 'https://your-tenant.us.qlikcloud.com', 'port': 443, 'path': '/api/v1/themes/{id}', 'method': 'PATCH', 'headers': { 'Content-type': 'multipart/form-data', 'Authorization': 'Bearer <access_token>' } } const req = https.request(options) req.write(formData)
qlik theme patch <themeId> \--file="string"
Request
{ "data": { "file": {}, "icon": "string", "name": "string", "tags": [ "string" ], "type": "string", "author": "string", "license": "string", "version": "string", "homepage": "string", "keywords": "string", "supplier": "string", "repository": "string", "description": "string", "qextVersion": "string", "dependencies": {}, "qextFilename": "string" }, "file": "string"}
Response
{ "data": [ { "id": "string", "file": {}, "icon": "string", "name": "string", "tags": [ "string" ], "type": "string", "author": "string", "userId": "string", "license": "string", "version": "string", "homepage": "string", "keywords": "string", "supplier": "string", "tenantId": "string", "updateAt": "string", "createdAt": "string", "repository": "string", "description": "string", "qextVersion": "string", "dependencies": {}, "qextFilename": "string" } ]}
Deletes a specific theme matching either theme ID or theme name.
Facts
Rate limit | Tier 2 (100 requests per minute) |
Categories | extend |
Path Parameters
- idstringRequired
Theme identifier or its qextFilename.
Responses
204
No content. Soft deletes the theme.
403
application/json
Forbidden. User is not authorized to delete themes with {id}.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
404
application/json
Not found. Could not find the theme with {id}.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
410
application/json
Gone. Theme with {id} has been deleted.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
curl "https://your-tenant.us.qlikcloud.com/api/v1/themes/{id}" \-X DELETE \-H "Authorization: Bearer <access_token>"
const https = require('https') const data = JSON.stringify("") const options = { 'hostname': 'https://your-tenant.us.qlikcloud.com', 'port': 443, 'path': '/api/v1/themes/{id}', 'method': 'DELETE', 'headers': { 'Authorization': 'Bearer <access_token>' } } const req = https.request(options)
qlik theme rm <themeId>
Downloads all files in the theme matching either theme ID or theme name as a .zip
archive.
Facts
Rate limit | Tier 1 (1000 requests per minute) |
Categories | extend |
Path Parameters
- idstringRequired
Theme identifier or its qextFilename
Responses
200
OK. Theme exists. Returns the theme archive.
403
application/json
Forbidden. User is not authorized to read theme with {id}.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
404
application/json
Not found. Could not find the theme with {id}.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
410
application/json
Gone. Theme with {id} has been deleted.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
curl "https://your-tenant.us.qlikcloud.com/api/v1/themes/{id}/file" \-H "Authorization: Bearer <access_token>"
const https = require('https') const data = JSON.stringify("") const options = { 'hostname': 'https://your-tenant.us.qlikcloud.com', 'port': 443, 'path': '/api/v1/themes/{id}/file', 'method': 'GET', 'headers': { 'Authorization': 'Bearer <access_token>' } } const req = https.request(options)
qlik theme file ls
Downloads a file from the theme matching either theme ID or theme name, identified by the file path within the imported extension.
Facts
Rate limit | Tier 1 (1000 requests per minute) |
Categories | extend |
Path Parameters
- filepathstringRequired
Path to the file location within the specified theme archive. Folders separated with forward slashes.
- idstringRequired
Theme identifier or its qextFilename.
Responses
200
OK. Theme exists and the file specified exists. Returns the specific file.
403
application/json
Forbidden. User is not authorized to read theme with {id}.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
404
application/json
Not found. Could not find a theme with {id} or the file does not exist in the archive.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
410
application/json
Gone. Theme with {id} has been deleted.
An error object.
- application/jsonobject
An error object.
application/json properties
- metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
- stackstring
Full stack trace of the error that was raised.
- messagestring
A more detailed message explaining the error.
- resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
-
- titlestringRequired
Title of the HTTP status code.
- sourceobject
Optional JSON patch object pointing to an invalid property.
- statusnumber
The HTTP status code.
-
curl "https://your-tenant.us.qlikcloud.com/api/v1/themes/{id}/file/{filepath}" \-H "Authorization: Bearer <access_token>"
const https = require('https') const data = JSON.stringify("") const options = { 'hostname': 'https://your-tenant.us.qlikcloud.com', 'port': 443, 'path': '/api/v1/themes/{id}/file/{filepath}', 'method': 'GET', 'headers': { 'Authorization': 'Bearer <access_token>' } } const req = https.request(options)
qlik theme file get <filepath>