Get Shared Path
get
/essbase/rest/v1/files/sharedpath
Get the shared path in the Essbase file catalog. This directory is a good location to store files and artifacts that you can use in more than one cube. Its contents are accessible to all users.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
- application/xml
200 Response
OK
The shared path was returned successfully.
400 Response
Bad Request
Logged in user may not have appropriate permissions.
500 Response
Internal Server Error.
Examples
The following example shows how to get the path of the shared user directory in the Essbase file catalog.
This example uses cURL to access the REST API from a Windows shell script. The calling user's ID and password are variables whose values are set in properties.bat
.
Script with cURL Command
call properties.bat
curl -X GET https://myserver.example.com:9001/essbase/rest/v1/files/sharedpath -H "accept: application/json" -u %User%:%Password%
Example of Response Body
/shared