This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Add a Custom Sequence to your API
This section shows you how to add a mediation sequence to your API
Log in to the API Publisher (https://api.cloud.wso2.com/publisher/)
Select an existing API and click Edit.
Go to the Implement tab.
Select Enable Message Mediation.
The following types of sequences can be added.In Flow - To change the default request
Out Flow - To change the default response
Fault Flow - To modify the default fault sequence of events.
Click the drop-down menu to see the default sequences available for each flow. You can also upload custom sequences manually as an xml file, according to your requirements.