This documentation is for WSO2 API Manager 1.4.0 View documentation for the latest release.
Editing the API Template - API Manager 1.4.0 - WSO2 Documentation
Skip to end of metadata
Go to start of metadata

From the version 1.4.0 of the API Manager, it is possible for users to edit the API Template definition so that the synapse configuration of the APIs gets created as the users wish. To edit the template of the APIs being generated follow the two simple steps below.

  • In your local API manager setup, navigate to "<APIM_HOME>/repository/resources/api_templates" directory
  • Edit the necessary template xml file.

Lets take an example of editing the resource content of the API. For doing this you need to edit the content of the 'api_templates_resource.xml' file. Once done, all APIs that are being created will have the new resource definition within the API.

Note: If this is being done on a distributed setup (where the Publisher, Store, Gateway and Key Manager are running on separate jvms), you need to edit the template on the Publisher node.


  • No labels