Data Source APIs Metadata Resource
GET pentaho/plugin/data-access/api/datasource/metadata/domaincurl -X GET \
"http://localhost:8080/pentaho/plugin/data-access/api/datasource/metadata/domain" \
-H "Authorization: Basic YWRtaW46cGFzc3dvcmQ=" \
-H "Accept: application/json"HTTP Basic Authentication
Successfully retrieved the list of existing metadata IDs
List of metadata IDs in XML format
Successfully retrieved the list of existing metadata IDs
GET pentaho/plugin/data-access/api/datasource/metadata/domain/SampleData2curl -X GET \
"http://localhost:8080/pentaho/plugin/data-access/api/datasource/metadata/domain/SampleData2" \
-H "Authorization: Basic YWRtaW46cGFzc3dvcmQ=" \
-H "Accept: application/octet-stream"HTTP Basic Authentication
The ID of the Metadata datasource to export
SampleData2Metadata datasource export succeeded
The metadata XMI file
User is not authorized to export the Metadata datasource
Failure to export Metadata datasource
PUT pentaho/plugin/data-access/api/datasource/metadata/domain/SampleDatacurl -X PUT \
"http://localhost:8080/pentaho/plugin/data-access/api/datasource/metadata/domain/SampleData" \
-H "Authorization: Basic YWRtaW46cGFzc3dvcmQ=" \
-H "Content-Type: multipart/form-data" \
-F "[email protected];type=text/xml" \
-F "domainId=SampleData2" \
-F "overwrite=true"HTTP Basic Authentication
Unique identifier for the metadata datasource
SampleDataDomain identifier for the metadata datasource
Input stream for the metadata.xmi file
User selected name for the file (FormDataContentDisposition)
List of locale files
List of FormDataContentDisposition for locale files
Flag for overwriting existing version of the file
falseAccess control list data
Indicates successful import
Import failed because publish is prohibited
Access Control Forbidden
Content already exists (use overwrite flag to force)
Metadata datasource import failed. Error code or message included in response entity
Unspecified general error has occurred
DELETE pentaho/plugin/data-access/api/datasource/metadata/domain/SampleData2curl -X DELETE \
"http://localhost:8080/pentaho/plugin/data-access/api/datasource/metadata/domain/SampleData2" \
-H "Authorization: Basic YWRtaW46cGFzc3dvcmQ="HTTP Basic Authentication
The ID of the Metadata datasource to remove
SampleData2Metadata datasource removed.
No content
User is not authorized to delete the Metadata datasource.
No content
Last updated
Was this helpful?

