API to fetch resources

Hello Team,

I am using Helical Insight 3.1 EE in an embedded mode within my application. I would like to know more about the API to fetch the list of reports and dashboard current users has got access to and then display the same within my application.

Thank You
Vetegoc.

1 Like

Hello Vetegoc,

Below mentioned are some of the APIs which you can refer to

(a) Fetching all the file types of entire file browser
http://192.168.2.178:8010/hi-ee/getSolutionResources.html
This above API will give list of ALL the resources which current loggedin use is having access to. Hence all the content visible in file path gets returned in JSON format which you can accordingly modify and show within your application.

(b) Fetching any specific file types from entire file browser
http://192.168.2.178:8010/hi-ee/getResources.html?extensions=["report"]
This API will give list of resources with the extension .report which current loggedin use is having access to. You can pass things like report, metadata, efw, All etc here. Any of the file extensiosn can be passed here and accordingly it will only return those selected dataset.

You can also pass multiple values also as a parameter by comma seperated things like as shown below.
http://192.168.2.178:8010/hi-ee/getResources.html?extensions=["report","metadata"]

© Fetching the content of any specific subfolder
Service : http://192.168.2.178:8010/hi-ee/getSolutionResources.html?&resource=/1578031949910&recursive=true
Using the above API you can also pass folder name and then you will can see the content of that specific folder as JSON response which can then be plotted on the frontend. You can right click on any folder and in its property you can find its name.

Thank You
Team Helical.