JasperServer Rest v2 Client & ReportUnit example?

2

Hi,

I want to integrate my application with JasperServer by using the Rest v2 API.

 

My questions are:

1. Is the one in "https://github.com/Jaspersoft/jrs-rest-java-client" the official API lib?

2. If so, how to create/update/delete a ReportUnit by using abovementioned API? Or some other API libs we should use instead?

 

Thanks.

Zheng

zhengxianquan's picture
Joined: Jun 22 2014 - 7:53pm
Last seen: 5 years 3 weeks ago

1 Answer:

0

>1. Is the one in "https://github.com/Jaspersoft/jrs-rest-java-client" the official API lib?

No.  The official one is the one below:

http://community.jaspersoft.com/documentation/jasperreports-server-web-s...

hozawa's picture
45109
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 month 1 week ago

Thanks Hozawa for your prompt reply.
I noticed that series of documents but the guide sounds more like a interface specification rather than the Java client API.

Anyway, could you share some code snippets for the Report Unit creating by using the Restful v2 APIs?

zhengxianquan - 5 years 3 weeks ago

How is the "https://github.com/Jaspersoft/jrs-rest-java-client" not the official library ?
The name of the repository is registered under the official website... Moreover, the "library" you pointed at in your answer is basically the documentation of the rest API.
I would like to ask the same question as Zhengxianqua. This github library sounds interesting but you can't seem to be able to use it with recent versions of the dependencies. I think it's strange for a library written three month ago. Is it sill under development ?

l.weingart - 5 years 1 day ago
Feedback
randomness