API Manager admins can add new throttling tiers and define extra properties to throttling tiers using the management console as discussed below. For a description of throttling tiers, see API-level throttling.
- Log in to the API Manager's Management Console and select Browse under Resources menu.
- Select the file:
In the Contents panel, click Edit as text link and the throttling policy opens.
You can add a new policy configuration by editing the XML code. For example, we have added a new tier called
Platinumby including the following XML code block soon after the
Tier Attributes : In the configuration below, there's a commented out XML section starting from the XML tag
<throttle:Attributes>. You can use it to define additional attributes related to each throttling tier definition. For example, if the throttling tier
Platinumhas attributes called
Availability, first uncomment the
<throttle:Attributes>section and define the new attributes as follows:
After the edits, click Save Content. Your new throttling policy (Platinum) is now successfully saved in the Repository used by WSO2 API Manager. You can view this new throttle tier available for selection when creating a new API through the API Publisher.