Skip to main content Skip to complementary content

callRepository method

Information noteSTABLE.

This API is reliable and breaking changes are unlikely.
Warning noteDEPRECATED.

This API is deprecated and may be removed in a future version.

qlik.callRepository(path, method, body)

Calls the Qlik Sense repository.

Version history

Version history
Version state Details
Introduced 1.1
Updated 1.0, 1.2, 2.0
Deprecated

June 2019

Use instead: Qlik Sense Repository Service API

Information noteThe Qlik Sense Repository Service API is only applicable to Qlik Sense Enterprise on Windows. It does not exist in Qlik Sense Enterprise SaaS and Qlik Sense Enterprise on Kubernetes.

Parameters

path

Type: String

Path to the Qlik Sense repository.

Refer to Qlik Sense repository documentation for the available paths.

method

Type: String

Optional.

HTTP method.

Default is GET.

body

Type: String

Optional.

Body of the post.

Returns

A promise of a Qlik associative engine reply.

Tip noteFor more information regarding a promise, see The Promise API.

Example

qlik.callRepository('/qrs/extension/schema').success(function(reply) {
	alert(JSON.stringify(reply));
});