Using Basic Templates

Using templates to access Parameter values.

Setup

Once you've created a set of parameters, you can begin using them in templates as outlined below.

Create a template and use the edit window to customize it. The templates format is user-defined - in this example, we're following a JSON format. Parameters are referenced by name within mustache notation (ex. {{service.demo.timeout}}).

The preview window will display the evaluated results, based upon the selected environment.

Click "Copy URL [for this environment]" - this will generate a URL, similar to:

https://api.cloudtruth.com/t/d12f53fd-c1a6-444e-bece-164aa1b817bc

Now Click "Submit" to save the template.

The Template URL is persistent and serves as an API for evaluating template results.

See "API Sample Code" for examples of calling the Template API from different languages.