Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We introduced this PR to add the new feature API tile enhancement to both the publisher & dev portals. The current API tile information lacks some necessary business details from a marketplace perspective. With this feature, we are extending the API tile information structure to accommodate optional properties such as business information, external APIs, and the monetization-enabled state of the APIs. These properties are displayed in the API tile through a config. Users can set the 'display' property of optional properties as per their preference. By default, the configuration for the 'display' property is set to 'false.' This configuration can be found in the 'settings.json' file in both portals.
For the publisher portal, the configuration is as follows:
For the dev portal, the configuration is as follows:
Please note that we haven't introduced a new configuration for the 'display' property of external APIs, as this label is already displayed in the API tile of the publisher portal when an API is marked as a Third-Party API. Therefore, we have added the same behaviour to the dev portal as well.
Below are screenshots of the new API tile for reference.
Publisher Portal
Dev Portal
Here we have added a popover to display the email of the business owner & technical owner. But we are not going to add more details here by taking the performance impact into consideration.
With Popover
Additionally, we have added this business info, monetization status and third-party label to the API Thumb plain tile as well for both portals. Below are the screenshots of the new Plain API tile for reference.
Publisher Portal
Dev Portal
Related PRs: