Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
agnostic
Contributor II
Contributor II

Way to fetch the space detail of the APP

How to fetch the details of the space name and space type of the particular app using Rest API?

Thanks

 

Labels (1)
  • SaaS

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

My error. Instead of /apps, I meant use /items?resourceType=app

-Rob

View solution in original post

4 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Use the spaces API to get a list of spaces. https://qlik.dev/apis/rest/spaces/

Use the items API to get the Apps https://qlik.dev/apis/rest/items/

/items?resourceType=app will include the spaceId.

-Rob

agnostic
Contributor II
Contributor II
Author

Thank you for the response.

But there is no way we can fetch the space ID using Apps Rest API. At least, if that was there I could have fetched the space detail using space ID later.

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

My error. Instead of /apps, I meant use /items?resourceType=app

-Rob

agnostic
Contributor II
Contributor II
Author

Thank you, Rob.

The mistake was from my end, that I wasn't creating an app within the space which is why I wasn't getting space ID in the response.