Skip to content

Environment Variable Management

isubiker edited this page Dec 24, 2011 · 1 revision

Environment Variable Management

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.

Set an 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

Get a list of all environment variables that have been set

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 an environment variable

Get the value of an environment variable

  • Endpoint: /manage/env/<environment variable name>
  • Request type: GET

Delete an environment variable

Deletes the environment variable value.

  • Endpoint: /manage/env/<environment variable name>
  • Request type: DELETE
Clone this wiki locally