Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to exclude folder from resources search in REST v2 resources service


    Friendly User
    • Features: Web Services Product: JasperReports® Server

    Problem:

    You are trying to search for a list of resources that are stored under a certain URI in JasperServer. You use a request like this:

    GET localhost:1234/jasperserver-pro/rest_v2/resources?folderUri=/organizations/organization_1/

    This request will return you a list of folders and resources under /organization_1/ URI as well as /public/ folder contents which is undesired and you want that removed.


    Solution:

    Try adding &excludeFolder=/public to your request. This should exclude public folder from the search result. You can use excludeFolder to exclude any folder you like.


    User Feedback

    Recommended Comments



    Guest
    This is now closed for further comments

×
×
  • Create New...