diff --git a/netbox_config_backup/api/serializers.py b/netbox_config_backup/api/serializers.py index 6f90417..4c08db2 100644 --- a/netbox_config_backup/api/serializers.py +++ b/netbox_config_backup/api/serializers.py @@ -13,6 +13,9 @@ class BackupSerializer(NetBoxModelSerializer): + url = serializers.HyperlinkedIdentityField( + view_name='plugins-api:netbox_config_backup-api:backup-detail' + ) device = DeviceSerializer(nested=True, required=False, allow_null=True), ip = IPAddressSerializer(nested=True, required=False, allow_null=True)