Every step in a Clear API has pre-processing and post-processing rules that take advantage of the Django template processing engine to perform data transformations. These transformations prepare parameters for backend systems (in the case of pre-processing) and transform the outputs (in the case of post-processing) from these system calls into something more useful for the API consumer.

Within these rules, all of the built in Django template tags and filters are available as well as some custom functions we have created for our specific workloads.