End of Sale Notice:
F5 NGINX is announcing the End of Sale (EoS) for NGINX Controller API Management Module, effective January 1, 2024.
F5 maintains generous lifecycle policies that allow customers to continue support and receive product updates. Existing NGINX Controller API- Management customers can continue to use the product past the EoS date. License renewals are not available after September 30, 2024.
See our End of Sale announcement for more details.
End of Sale Notice:
F5 NGINX is announcing the End of Sale (EoS) for NGINX Controller Application Delivery Module, effective January 1, 2024.
F5 maintains generous lifecycle policies that allow customers to continue support and receive product updates. Existing NGINX Controller Application Delivery customers can continue to use the product past the EoS date. License renewals are not available after September 30, 2024.
See our End of Sale announcement for more details.
Manage Developer Portals
Learn how to create and manage Developer Portals for your API documentation.
Overview
You can use F5 NGINX Controller Developer Portals (also called ‘Dev Portals’) to create and manage beautiful, easy-to-use API reference documentation to support your Published APIs.
About Developer Portals
In NGINX Controller, each Dev Portal sits within an Environment. An Environment can contain multiple Dev Portals. You can use the same Dev Portal names across different Environments, which means you can create “test”, “dev”, and “production” versions of your Dev Portal across the corresponding Environments.
Each Dev Portal is associated with a Gateway, which defines the URI at which users can access the Dev Portal – for example, developer.acme.com
. A Gateway for a Developer Portal can be placed on a dedicated Instance, or share an Instance with other Gateway resources.
Before You Begin
You must complete the steps below before you can create a Developer Portal.
-
Create a Gateway for the Dev Portal.
Tip:
You can create multiple Dev Portal Gateways on the same Instance. If you do so, be sure to use a unique hostname and port for each. For example:
- Gateway 1’s ingress URI is
https://dev-developer.acme.com
. - Gateway 2’s ingress URI is
https://test-developer.acme.com
. These resources might both have IP addresses and ports that are accessible only from within your private network. - Gateway 3’s ingress URI is
https://developer.acme.com
. This resource would have a public IP address and be accessible via the internet.
If you create multiple Dev Portal Gateways on the same Instance using the same hostname and port, the Dev Portal configuration will fail.
- Gateway 1’s ingress URI is
-
-
Important:
You must create an App Component when creating a Published API. You’ll assign routes from the API Definition to this Component.
Both the Published API and the associated App Component must be successfully created before you can create a Dev Portal.
See Manage Your APIs and the troubleshooting section below for more information.
You also have the option to associate Dev Portal(s) in the Deployment page when you Add a Published API. If you already have a Published API and you want to create a new Dev Portal to host it, complete the tasks described in this guide.
Create a Developer Portal
To create a Dev Portal, take the steps below:
-
Open the NGINX Controller user interface and log in.
-
Select the NGINX Controller menu icon, then select Services.
-
On the Services menu, select APIs.
-
On the APIs page, select Create Dev Portal from the Quick Actions menu.
Tip:
If you want to connect one or more Dev Portals to an existing Published API, you should select the Edit Published API option. The API Documentation will be published to the selected Dev Portal(s). Refer to the Define the Published API Deployment section for more information and instructions.
Configure the Developer Portal
On the Create Dev Portal Configuration page:
- Provide a resource name for the Dev Portal.
- (Optional) Provide a display name, description, and tags.
- Select the desired Environment, or select Create to create a new resource.
- Select a Gateway, or select Create to create a new resource.
- Select the Published API(s) that you want to host in the Dev Portal.
- Select Next to move to the Themes page.
Define the Dev Portal Theme
On the Create Dev Portal Themes page:
-
Select Brand to define the following elements:
- Brand Name,
- Logo, and
- Favicon
-
Select Next.
-
Set the Colors for theme elements. Then, select Next.
-
Set the Fonts for the theme. Then, select Next.
-
Review the API Spec, then select Submit.
You should now be able to access the Dev Portal via the hostname and port that you assigned to the Dev Portal Gateway.
View, Edit, or Delete a Developer Portal
To view, edit, or delete a Dev Portal, take the steps below:
- Open the NGINX Controller user interface and log in.
- Select the NGINX Controller menu icon, then select Services.
- On the Services menu, select APIs.
- On the APIs menu, select Dev Portals.
To edit a Dev Portal:
-
Select the Edit icon for the Dev Portal.
-
Edit the Dev Portal as desired.
- Select Configure to update the Dev Portal configurations, including the Environment, Gateway, and Published API.
- Select Brand to customize the Brand Name and to upload a Logo and Favicon.
- Select Color to customize the Dev Portal theme colors.
- Select Fonts to customize the Dev Portal theme fonts.
-
Select Submit to save your changes.
To delete a Dev Portal, select the Delete icon. Then, select Delete in the confirmation prompt window.
Troubleshoot Dev Portal Publication
If the Gateway that the Dev Portal is associated with is in an error state, publishing your Dev Portal will fail. You won’t necessarily see an error in the Dev Portals section of the user interface when this happens, but configuration errors in these resources will impact Dev Portal functionality.
- App Component configuration errors are displayed only in the App Component section of the user interface.
- Published API configuration errors are displayed in the Published APIs section of the user interface, as well as in the Dev Portal.
- Dev Portal configuration errors are not displayed in the NGINX Controller user interface.
If your Dev Portal failed to publish, check the status of the Gateway first; resolve any issues with the Gateway, then try publishing the Dev Portal again. If the issue persists, check the other resources for configuration errors.
What’s Next