File Management APIs Directory Resource
PUT pentaho/api/repo/dirs/home:admin:newfoldercurl -X PUT \
"http://localhost:8080/pentaho/api/repo/dirs/home:admin:newfolder" \
-H "Authorization: Basic YWRtaW46cGFzc3dvcmQ="HTTP Basic Authentication
The path from the root folder to the root node of the tree to return usingcolon characters in place of / or \ characters. To clarify /path/to/file, the encoded pathId would be :path:to:file.
home:admin:newfolderSuccessfully created folder.
No content
Forbidden. Cannot create root level folder or contains illegal characters.
Path already exists.
Server Error.
No content
GET pentaho/api/repo/dirs/home:admin:folder/isVisiblecurl -X GET \
"http://localhost:8080/pentaho/api/repo/dirs/home:admin:folder/isVisible" \
-H "Authorization: Basic YWRtaW46cGFzc3dvcmQ="HTTP Basic Authentication
The path from the root folder to the root node of the tree to return using colon characters in place of / or \ characters. To clarify /path/to/file, the encoded pathId would be :path:to:file.
home:admin:folderSuccessfully returns a boolean value, either true or false
String "true" if the folder is visible to the current user, or "false" otherwise.
Successfully returns a boolean value, either true or false
GET pentaho/api/repo/dirs/home:admin:folder/defaultLocationcurl -X GET \
"http://localhost:8080/pentaho/api/repo/dirs/home:admin:folder/defaultLocation" \
-H "Authorization: Basic YWRtaW46cGFzc3dvcmQ="HTTP Basic Authentication
The path from the root folder to the root node of the tree to return using colon characters in place of / or \ characters. To clarify /path/to/file, the encoded pathId would be :path:to:file.
home:admin:folderSuccessfully returns a default open/save location
Path for a default save location
/publicSuccessfully returns a default open/save location
Last updated
Was this helpful?

