This documentation is for WSO2 API Manager 1.8.0 View documentation for the latest release.
Page Comparison - Editing API Templates (v.1 vs v.2) - API Manager 1.8.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Each API in API manager is represented by an XML file. The elements of this XML file and their attributes are defined in <APIM_HOME>/repository/resources/api_templates/velocity_template.xml file, which is the default API template that comes with the API Manager. By editing the default template definitions, you can change the synapse configuration of all APIs that are created.

If you are using a distributed API Manager setup (i.e., Publisher, Store, Gateway and Key Manager components are running on separate JVMs), edit the template in the Publisher node.