How are you friends today I reblog for us this amazing post including new Pentaho 5 features from : http://ivy-is.blogspot.co.uk/2013/11/pentaho-5-restful-web-services-101.html
With the latest release of Pentaho V5 comes some very cool new features. One that we were really interested in had to be the new Restful Webservices.
Lets take a look at some of the core Repository features.
- Navigate Repository Contents
- Manipulate Repository Contents
- Edit User and Group Permissions
Manipulating the Pentaho Repository
A quick word about the syntax of solution directories. With the new Restful API, solution directories are broken up using the : character. So for example, if we wanted to render a report called sales.prpt in the steel-wheels/reports/sales-reports directory the url would look a little like this:
LISTING REPOSITORY CONTENTS
Getting Solution folder / file properties
Creating new Folders
Deleting Solution Files and Folders
Listing File or Folder ACLs
Setting ACLs for Files or Folders Summary
Web Services to interact with Mondrian
Here are the webservice calls for getting a Mondrian schema file into the repository and out of the repository. Note at this time you need to have admin permissions to perform these actions, but in future releases we’ll be able to control which users can import and export schemas.
Multipart POST request with post params:
uploadAnalysis – Mondrian schema
catalogName – name of the catalog (optional?)
parameters – parameter list
GET request to get the parameters of a Mondrian schema definition
SteelWheels should be the name attribute that appears in the Mondrian.xml schema
GET request to download the Mondrian xml schema
Most of the datasource UIs call REST services for these behaviours, you can look at the http traffic in Chrome or Firefox to determine the API calls for other datasource types like Pentaho Metadata.