Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

API Manager admins can add new throttling tiers through the Management Console as described in the instructions below. For a description of throttling tiers, see API-level throttling.

  1. Log in to the API Manager's Management Console and select Browse under Resources menu.

  2. Select the file: /_system/governance/apimgt/applicationdata/tiers.xml.

  3. In the Contents panel, click Edit as text link and throttling policy should open up bellow.

  4. You can add a new policy configuration by editing the XML code. As an example, we have added a new tier called Platinum by including the following XML code block soon after the <throttle:MediatorThrottleAssertion> tag:

    wsp:Policy>
         <throttle:ID throttle:type="ROLE">Platinum</throttle:ID>
              <wsp:Policy>
                   <throttle:Control>
                        <wsp:Policy>
                            <throttle:MaximumCount>50</throttle:MaximumCount>
                            <throttle:UnitTime>60000</throttle:UnitTime>
                        </wsp:Policy>
                   </throttle:Control>
              </wsp:Policy>
    </wsp:Policy>

    The file looks as follows after the addition:

  5. Click the Save Content button. Now your new throttling policy (Platinum) is 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.

  • No labels