forked from marklogic-community/Corona
Environment Variable Management
isubiker edited this page Dec 24, 2011
·
1 revision
Environment variables allow a Corona administrator to configure various options inside the Corona runtime. These options include things like setting a transformer to run on all inserts or fetches, enabling debug logging, setting the default output format and more. For a complete listing of available environment variables, see the page on built-in environment variables.
Sets the specified environment variable to the given value.
- Endpoint:
/manage/env/<environment variable name>
- Request type: POST
- Paramaters:
- value - The value to set to the given environment variable
- Returns:
- On success a 204 is returned with an empty response body
To get a list of all the environment variables that have been set along with their values, make a GET request to:
/manage/env
Get the value of an environment variable
- Endpoint:
/manage/env/<environment variable name>
- Request type: GET
Deletes the environment variable value.
- Endpoint:
/manage/env/<environment variable name>
- Request type: DELETE