API Catalog
- Applies to
- Developer Portalthe documentation site for your API consumers
- Hosting
- Managed EdgeManaged DedicatedSelf-Hosted
If you're dealing with multiple APIs and multiple OpenAPI files, the API Catalog comes in handy. It creates an overview of all your APIs and lets you organize them into categories and tags.
Categories and Tags
Each entry in an API's categories array has two fields, label and tags, which serve different
purposes:
labelis the primary grouping. The catalog page renders one filter chip per unique label, so this is what users click to narrow the list. An API can belong to multiple categories by adding multiple entries to the array.tagsare secondary descriptors attached to that category. They do not get their own filter chip. Instead, they are matched against the search input and rendered as additional badges on the API card (alongside the label). Use them for finer-grained keywords that should help users discover an API without cluttering the top-level filters.
For example, { label: "Payments", tags: ["billing", "subscriptions"] } puts the API under the
"Payments" filter chip and adds "billing" and "subscriptions" as searchable badges on its card.
Enable API Catalog
To enable the API Catalog, add a catalogs object to your Dev Portal configuration file.
zudoku.config.ts
You can then add your APIs to the catalog by adding the categories property to your API
configuration.
Recommendation: nest API paths under the catalog path
For a consistent user experience, APIs that appear in the catalog should have their path prefixed
with the catalog path. For example, if your catalog is at /catalog, an API path should start with
/catalog/ (e.g., /catalog/api-users). APIs with paths outside the catalog path still appear in
the catalog, but clicking them navigates the user outside the catalog section.
zudoku.config.ts
To add the catalog to your navigation, use a link item:
zudoku.config.ts
Advanced Configuration
Filtering catalog items
You can filter which APIs are shown in the catalog by using the filterItems property. The function
receives the items and the catalog context (including auth) as arguments. Each item has a
categories array where each category has a label and tags.
zudoku.config.ts
Standalone APIs (without catalog)
APIs that are not part of a catalog can use any path and will appear as standalone API reference
pages. These APIs don't need categories and their paths don't need to be nested under a catalog.
zudoku.config.ts
See the API Reference page for full details on configuring individual APIs, including versioning and customization options.