callRepository method

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

qlik.callRepository(path, method, body)

Calls the Qlik Sense repository.

Version history

Introduced 1.1
Updated 1.0, 1.2, 2.0
Deprecated

June 2019

Use instead: Qlik Sense Repository Service API

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: For more information regarding a promise, see https://code.angularjs.org/1.7.0/docs/api/ng/service/$q#the-promise-api.

Example

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