The Pentaho BI server ships a lightweight general purpose webservice for accessing metadata. This is implemented as a webservice plugin by the org.pentaho.common.ui.metadata.service.MetadataService class. This forms a more generic and independent API as compared to WAQR metadata services.
It can be accessed via urls of this form:
http://localhost:8080/pentaho/content/ws-run/metadataService/<method-name>
The method name represents the name of a java method of the org.pentaho.common.ui.metadata.service.MetadataService class. Valid methods are:
- listBusinessModels
- listBusinessModelsJson
- loadModel
- loadModelJson
- doQuery
- doXmlQuery
- doXmlQueryToJson
- doXmlQueryToCdaJson
- doJsonQuery
- doJsonQueryToJson
- doJsonQueryToCdaJson