Skip to main content
Announcements
Jan 15, Trends 2025! Get expert guidance to thrive post-AI with After AI: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Gokryzex
Contributor
Contributor

Qlik Cloud - How to filter on the endpoint GET /apps ?

The endpoint GET /v1/apps is not specified in the documentation, but it does work.

I'd like to filter on app names but I can't. I find it curious that this isn't possible

I've tried all sorts of things but to no avail.

  • filter=name eq "my_app"
  • filter=attributes[name] eq "my_app"
  • filter=attributes.name eq "my_app"
  • etc.

Thanks in advance

Labels (1)
3 Replies
MatheusC
Specialist II
Specialist II

Hi, @Gokryzex 

Using With Connection you can set the parameters, like this very basic example. See the qlik hlep documentation about the connection

let vAppID = 4e56…..


RestConnectorTable:
SQL SELECTION
Key…
(select
…..)
FROM JSON
WITH CONNECTION (
URL "https://...../api/v1/apps/$(vAppID)/...");


https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/Create...



-Regards, Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Are you trying to get a list of apps? I think the documented way with filtering is the items api https://qlik.dev/apis/rest/items/

-Rob

Gokryzex
Contributor
Contributor
Author

Thanks @rwunderlich 

It is possible to use /items like this
https://....qlikcloud.com/api/v1/items?name=my_app&spaceId=XXXXXXX&resourceType=app
but it's not at all satisfactory because name makes a search filter, so in this case I'll get all the apps with the sub-string "my_app", which means I'll have to filter again on my side.

In fact, what I find weird with /apps is that this kind of query returns a 400 error (unfortunately without body 😕 ) so I suppose filter is usable but I don't know how
https://.....qlikcloud.com/api/v1/apps/?filter=attributes[name] eq "my_app"