Customize API Catalog
5 minute read
Customize API Catalog settings
You can customize the following in the API Catalog view of API Portal:
Display APIs in a list or tile view.
Show or hide the button that enables users to download API definitions. Defaults to shown.
Show or hide the button that enables users to download client SDKs. Defaults to hidden.
Hide tags from API Catalog.
Show only APIs associated with specified tags. For more details on tags, see Group APIs with tags.
Hide APIs associated with specified tags. For more details on tags, see Group APIs with tags.
Show only APIs associated with specified statuses.
Show or hide the button that enables users to try out an API. You can show the button for all users, for authenticated users only, hide it for APIs with specific tags, or hide it completely. The default is shown for all users. For more details on Try-it button visibility see Customize Try-it button visibility.
Set a payload size (in KB). If the response is bigger than the configured value, the response is downloaded as file. Defaults to blank, which means that downloads are disabled.
Swagger UI layout of REST APIs. You can choose from:
- Multi-column: A Two-column view, in which methods are listed on the left side, and the details of a selected method are listed on the right side. This is the default option in API Portal.
- Single-column: The official layout shipped with the Swagger UI.
Show or hide code examples in endpoint details when using AMPLIFY rendering tool. Defaults to shown.
Show or hide
externalDocsalong with its description.
Choose colors for the different methods.
To change the API Catalog settings:
- Log in to the Joomla! Administrator Interface (JAI) (
- Click Menus > Main Menu.
- Click APIs.
- Click the API Catalog tab.
- Change the settings as required and click Save & Close.
Customize source of API descriptions
You can customize API Portal to show summaries instead of descriptions for APIs to give the app developer a quicker summary view of what the API is about instead of a long description. Using description can also have a performance impact, so it is best to use summary to improve the performance of the API Catalog view.
To change the settings:
- In the Joomla! Administrator Interface (JAI), click Components > API Portal > Additional Settings.
- In the API Information Source field, select
- Click Save.
Customize page title and summary
You can customize the API Catalog page title and summary text. For details, see Additional customizations.
Group APIs with tags
You can add tags to APIs in API Manager and use them to split your API Catalog into smaller subsets. For example, you can create multiple themed API groups based on your developer communities.
For more details on adding tags to APIs, see the API Manager User Guide.
To create a dedicated API Catalog for a subset of tagged APIs, do the following:
Log in to Joomla! Administrator Interface (JAI).
Click Menus > Main Menu > Add New Menu Item.
Enter a menu title for the new API Catalog.
In Menu Item Type, click Select > API Portal > API Catalog Page.
Set Access to the level you want, and ensure that Status is set to
In Ordering, select where in the main menu the new API Catalog appears. The menu item is placed after the item you select in here.
- To access all your API Catalogs under the APIs menu item rather than additional menu items, set Parent Item to APIs.
On the API Catalog tab, in the Show APIs with tags, enter the tags to include in this API Catalog.
On the API Catalog tab, in the Do not show APIs with tags, enter the tags to exclude in this API Catalog.
On the Page Display tab, you can change the page title and summary text. For more details, see Customize page title and summary.
Click Save & Close.
Your themed API Catalog is now ready, and you can see it in your API Portal.
You can also choose to use some tags as an internal tool, and hide them from the API consumers. To hide tags, On the API Catalog tab, in Hide tags, enter the tags to hide.
Create tags with wildcards
You can add tags using the
? wildcards. This is helpful to list only development APIs in one API Catalog and production APIs in another. In this case you can filter them using wildcards as follows:
*dev* will list APIs which contain
dev somewhere in the tag, for example,
development tags. Or, to hide all tags which start with
test and end with any other letter, for example,
tests, you can do
Customize the Try-it button visibility
You can customize the Try-it button for a specific API Catalog.
In JAI, click Menus > Main Menu > APIs.
Click the API Catalog tab.
Select one of the options from the Show Inline Try-it list to set the Try-it button visibility.
- Yes always - The Try-it button will always be displayed. This is the default option.
- Yes only for authenticated users - The Try-it button will be visible only for authenticated users.
- No for APIs with the following tags - The Try-it button will be hidden for APIs with specific tags. When this option is selected, a new field, Hide Inline Try-it for APIs with tags, is shown. In this field, you can choose for which tags the Try-it button will be hidden. You can enter multiple tags by separating them by coma. Wildcard symbols (
*) are allowed in this field.
- Never - The Try-it button will always be hidden.
Disable the Try-it button visibility
The Try-It button is enabled for all requests to an API by default. To enable or disable it on specific types of requests (
PUT, and so on):
- In JAI, click Components > API Portal > API Manager.
- In Try-It Settings, enable or disable the Try-It button for each request type.
- Click Save.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.