Data Source APIs Data Source Wizard Resource
This service allows for listing, downloading, and removal of DSW data sources in the BA Platform.
Get a list of Data Source Wizard (DSW) datasource ids.
Example Request:
GET pentaho/plugin/data-access/api/datasource/dsw/domainSuccessfully retrieved the list of DSW IDs
List of DSW IDs in XML format
GET /data-access/api/datasource/dsw/domain HTTP/1.1
Host:
Authorization: Basic username:password
Accept: */*
Successfully retrieved the list of DSW IDs
<jaxbList>
<type>java.lang.String</type>
<item>jmeter-dsw-pentaho-test.xmi</item>
<item>sample-dsw-data.xmi</item>
</jaxbList>
Export the DSW data source for the given DSW ID. The response will be zipped if there is more than one file. The response will contain an XMI and/or a mondrian cube definition file.
Example Request:
GET pentaho/plugin/data-access/api/datasource/dsw/domain/jmeter-dsw-pentaho-test.xmiThe id of the DSW datasource to export
DSW datasource export succeeded
An encrypted .XMI file or a .zip with encoded .XMI files
User is not authorized to export DSW datasource
Failure to export DSW datasource
GET /data-access/api/datasource/dsw/domain/{dswId} HTTP/1.1
Host:
Authorization: Basic username:password
Accept: */*
binaryRemove the DSW data source for a given DSW ID.
Example Request:
DELETE pentaho/plugin/data-access/api/datasource/dsw/domain/jmeter-dsw-pentaho-test.xmiThe id of the DSW datasource to remove
Successfully removed the DSW data source
Success message
User is not authorized to delete the DSW datasource
Failure to remove DSW data source
DELETE /data-access/api/datasource/dsw/domain/{dswId} HTTP/1.1
Host:
Authorization: Basic username:password
Accept: */*
textWas this helpful?

