Added plugin icon to plugin list/detail

This commit is contained in:
Jason Novinger
2025-04-25 13:42:36 -05:00
parent 37cfc50202
commit afc7b35af0
7 changed files with 37 additions and 18 deletions

View File

@@ -47,6 +47,7 @@ class Plugin:
The representation of a NetBox plugin in the catalog API.
"""
id: str = ''
icon_url: str = ''
status: str = ''
title_short: str = ''
title_long: str = ''
@@ -193,6 +194,7 @@ def get_catalog_plugins():
# Populate plugin data
plugins[data['config_name']] = Plugin(
id=data['id'],
icon_url=data['icon_url'],
status=data['status'],
title_short=data['title_short'],
title_long=data['title_long'],