Get Home Path
get
/essbase/rest/v1/files/homepath
Get the home path of the current logged in user.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
- application/xml
200 Response
OK
User home path.
Root Schema : schema
Type:
string
400 Response
Bad Request
Logged in user may not have appropriate permissions.
500 Response
Internal Server Error.
Examples
The following example shows how to use the REST API to get the current user's home path 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/homepath -H "accept: application/json" -u %User%:%Password%
Example of Response Body
/users/ksmith