Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
RopoOssi
Contributor
Contributor

Repository API /qrs/servernodeconfiguration/local response way different than docs

I have a very strange problem. We are trying to automate adding virtual proxys to qlik sense using the Repository API. We had a developer working for the company who built the skeleton for the tool but he quit and none of us seem to have any idea how Qlik works. It's a mess and the documentation seems to be something of a mess.

When sending a /qrs/servernodeconfiguration/local GET request I receive a response looking like this:

{
"id": "",
"createdDate": "2018-10-22T09:01:18.538Z",
"modifiedDate": "2018-10-22T09:01:18.538Z",
"modifiedByUserName": "INTERNAL\\bootstrap",
"customProperties": [],
"name": "Central",
"hostName": "",
"isCentral": true,
"nodePurpose": 2,
"engineEnabled": true,
"proxyEnabled": true,
"printingEnabled": true,
"schedulerEnabled": true,
"tags": [],
"temporaryfilepath": "",
"roles": [
{
"id": "",
"definition": 0,
"privileges": null
},
{
"id": "",
"definition": 1,
"privileges": null
},
{
"id": "",
"definition": 2,
"privileges": null
},
{
"id": "",
"definition": 3,
"privileges": null
},
{
"id": "",
"definition": 4,
"privileges": null
},
{
"id": "",
"definition": 5,
"privileges": null
}
],
"serviceCluster": {
"id": "",
"name": "ServiceCluster",
"privileges": null
},
"failoverCandidate": true,
"privileges": null,
"schemaPath": "ServerNodeConfiguration"
}

 This looks nothing like what the documentation says it should: 

https://help.qlik.com/en-US/sense-developer/September2019/Subsystems/RepositoryServiceAPI/Content/Se...

The documentation is so bad I have no idea what the configuration looks like and why it should be attached to a key 

loadBalancingServerNodes

 but apparently this is an array. Seriously, what's wrong the that qrs response and why can't people write proper documentation?

0 Replies