Jasper Rest Client for Jasper Server - Get All Reports

Hello Jasper friends,

I am using the JRS-REST Java Client to access the jasper server: https://github.com/Jaspersoft/jrs-rest-java-client 

I am looking for a service to get a List of all reports which are stored in my jasper server like:

OperationResult operationResult = session.reportingService() ......Get-All-Reports
Does anyone have an idea?
Best Regards



florian.johannssen's picture
Joined: Sep 25 2014 - 8:25am
Last seen: 5 years 8 months ago

Yes, I have already solved this problem by using the resourceService()

The code:

public void testGetAllReports() {
        OperationResult<ClientResourceListWrapper> result = session
                .parameter(ResourceSearchParameter.FOLDER_URI, "/Velimo")
        ClientResourceListWrapper resourceListWrapper = result.getEntity();
        assertTrue(resourceListWrapper.getResourceLookups().size() > 0);
        for (ClientResourceLookup resource : resourceListWrapper.getResourceLookups()) {
        logger.info("Report: " + resource);


florian.johannssen - 7 years 4 months ago

0 Answers:

No answers yet