It appears that 'skip-dependent-resources' option in rest_v2 export service is not working?
http://community.jaspersoft.com/documentation/tibco-jasperreports-server...
I did the following:
% cat export-6.2.1.json
{
"uris": ["/organizations/organization_1/reports"],
"parameters": ["skip-dependent-resources"]
}
% curl -XPOST -d @export-6.2.1.json "https://superuser:superuser@localhost:8777/jasperserver-pro/rest_v2/export" -k -H "content-type: application/json"
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><state><id>fe08c4d8-54b3-4f36-9361-86f0170620d8</id><message>Export in progress.</message><phase>inprogress</phase></state>
% curl "https://superuser:superuser@localhost:8777/jasperserver-pro/rest_v2/expo..." -k
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><state><id>fe08c4d8-54b3-4f36-9361-86f0170620d8</id><message>Export succeeded.</message><phase>finished</phase></state>
% wget "https://superuser:superuser@localhost:8777/jasperserver-pro/rest_v2/expo..." --no-check-certificate
The export.zip still contains datasources and images (that I put in a folder called shared_resources) referenced by the reports.
resources/organizations/organization_1/datasources/...
resources/organizations/organization_1/shared_resources
I am expecting only resources/organizations/organization_1/reports directory in the zip. Am I missing something?
JasperServer version: 6.2.1
Hi kaung_1, did you ever get this to work? Thanks!