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 Top

Response

Supported Media Types

200 Response

OK

User home path.

Body ()
Root Schema : schema
Type: string

400 Response

Bad Request

Logged in user may not have appropriate permissions.

500 Response

Internal Server Error.

Back to Top

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
Back to Top