diff --git a/netbox_napalm_plugin/api/serializers.py b/netbox_napalm_plugin/api/serializers.py index 9a4728d..684aad6 100644 --- a/netbox_napalm_plugin/api/serializers.py +++ b/netbox_napalm_plugin/api/serializers.py @@ -7,7 +7,7 @@ class NapalmPlatformSerializer(NetBoxModelSerializer): url = serializers.HyperlinkedIdentityField( - view_name="plugins-api:netbox_napalm_plugin:napalmplatform-detail" + view_name="plugins-api:netbox_napalm_plugin-api:napalmplatform-detail" ) platform = NestedPlatformSerializer() @@ -15,6 +15,7 @@ class Meta: model = NapalmPlatform fields = [ "id", + "url", "platform", "napalm_driver", "napalm_args",