Jump to content
We've recently updated our Privacy Statement, available here ×
  • Accessing Resources in Favorites using REST API


    Prasad B
    • Edited on:
    • Features: JasperReports Server Version: v9.0.0 Product: JasperReports® Server

    Question: How do access resources in favourites using REST API?

    Answer: Use the following method to get the list of favorites. By default, favorites is false.

    Please find below Method and URL used for this request:    
    Method: GET, URL:http://<host>:<port>/jasperserver[-pro]/rest_v2/resources?favorites=true

    The content type for this request is usually a JSON object that lists the resources added to Favorites.

    The Return values for this request is as below:
    a) For Success: 200 OK - The body contains a list of Favorites representing the results of the search.
    b) For Failure: i) 404 Not Found - When the resource specified in the request does not exist.
                    ii) 204 No content - When the resources added to Favorites are not found.    


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...