Skip to content

API Category based Grouping

You can use API categories to group APIs. API categories do not use a naming convention. Therefore, the admin does not need to take into consideration any naming conventions when using API category based grouping.

Initially, the Admins will define API categories. Thereafter, API providers will add API categories to APIs when designing them via the API Publisher. API categories allow API providers to categorize APIs that have similar attributes. When a categorized API gets published to the Developer Portal, its categories appear as clickable links to the API consumers. The API consumers can use the available API categories to quickly jump to a category of interest.

Step 1 - Add an API Category

You can add an API category using any of the following methods:

Add an API Category using the Admin Portal UI

  1. Sign in to the Admin Portal.

    https://localhost:9443/admin

  2. Click API Category and then click API Categories.

    API categories menu

  3. Click Add New Category.

    Add API category page

  4. Enter a name and a description for the API category.

    Field Value
    Name Food
    Description Fast food related APIs

    Add API category

  5. Click Save.

Step 2 - Attach the API Category to an API

  1. Sign in to the Publisher.

    https://localhost:9443/publisher

  2. Click on an API.

  3. Click Portal Configurations > Basic Info.

    Add API category

  4. Select the API category.

    Add API categories

  5. Click Save.

Step 3 - List APIs in Developer Portal

  1. Sign in to the Developer Portal.

    https://localhost:9443/devportal

  2. Expand the Tag Cloud menu.

  3. Click on the specific API category under API Categories.

    All APIs that belong to the selected category appear.

    APIs categorised based on API category