Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
We are attempting to use the Open API specification for Repository Main API version: 38.32.0 to create a Reload Task as shown here https://help.qlik.com/en-US/sense-developer/August2023/APIs/RepositoryServiceAPI/index.html?page=124...
{
"task": {"app": {
"id": "bda74c3e-c7e6-4154-845a-139ad7c07390"
},
"name": "Reload task for app xyz"
},
"compositeEvents": [ ],
"schemaEvents":[]
}
Hi @Cynicszm
In case you haven't solved this...
There are a few components that differ depending on the task type, triggers, etc. You may want to take a look at how the functions in qlik-cli-windows do this, as it shows the payloads and the endpoints - https://github.com/ahaydon/Qlik-Cli-Windows/blob/master/resources/task.ps1
Thanks for the reply, I'll have a look at the script.
My main aim is to have a typed client based off the Open API specification for Repository Main API instead of creating our own versions of the JSON objects that will need to be maintained.
I'm using Open API Tools Open API Generator https://github.com/OpenAPITools/openapi-generator to generate the client types and the Open API specification for Repository Main API differs from the example code e.g. not having an App on ReloadTaskCondensed.