I am trying to get Attributes for server attributes using the following REST_API.
https://community.jaspersoft.com/documentation/tibco-jasperreports-server-rest-api-reference/v750/attributes-service#Viewing_Attributes
--> Viewing Attributes
--> [GET] http://<host>:<port>/jasperserver[-pro]/rest_v2/<entity>attributes?<arguments>
I am getting Attributes as expected.
*Response Example(unencrypted state)
-----
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<attributes>
<attribute>
<description/>
<holder>tenant:/</holder>
<inherited>false</inherited>
<name>SAMPLE_KEY</name>
<permissionMask>1</permissionMask>
<secure>false</secure>
<value>vjIginIanFx3IZB2ZJVtIKTpS88cTsmu</value>
</attribute>
</attributes>
-----
However, for encrypted Attributes, the value cannot be obtained.
*Response Example(encryption status)
-----
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<attributes>
<attribute>
<description/>
<holder>tenant:/</holder>
<inherited>false</inherited>
<name>SAMPLE_KEY</name>
<permissionMask>1</permissionMask>
<secure>true</secure>
</attribute>
</attributes>
-----
It would be useful to be able to obtain encrypted Attributes and compound them.
Components | RestAPI |