callRepository method

Note: STABLE.
This API is reliable and breaking changes are unlikely.

qlik.callRepository(path, method, body)

Calls the Qlik Sense repository.

Version history

Introduced 1.1

Parameters

Name Type Description
path String

Path to the Qlik Sense repository.

Refer to Qlik Sense repository documentation for the available paths.

method String

Optional.

HTTP method.

Default is GET.

body 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.5.8/docs/api/ng/service/$q#the-promise-api.

Example

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

Did this information help you?

Can you tell us why it did not help you and how we can improve it?