This documentation is for WSO2 API Manager 1.4.0 View documentation for the latest release.
Page Comparison - Adding New Throttling Tiers (v.4 vs v.5) - API Manager 1.4.0 - WSO2 Documentation

Versions Compared

Key

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

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

  1. Log in to the API Manager's Management Console and select

...

  1. Browse

...

  1. under

...

  1. Resources

...

  1. menu.

...

  1. Image Added

...

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

    Image Modified

...

  1. In the

...

  1. Contents

...

  1. panel,

...

  1. click Edit as text

...

  1. link and throttling policy should open up bellow.Image Added

    Image Modified

...

  1.  

  2. Image Added

    Code Block
    languagehtml/xml
    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>

    Image AddedThe file looks as follows after the addition:

    Image Added

    Image Modified

...

  1. Image AddedImage Added

  2. Image Addedlick the Save Content

...

  1. button. Now your new throttling policy (

...

  1. Platinum

...

Excerpt
hiddentrue

Throttling tiers in WSO2 API Manager

  1. ) 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. For more information, refer to section Creating an API .

...

  1.