From 851b941ae62a29f9ec4b25991391d86fc9b4539f Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Mon, 22 Jan 2024 14:26:47 -0500 Subject: [PATCH] Fixes #14879: Include custom fields in REST API representation of data sources --- netbox/core/api/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/core/api/serializers.py b/netbox/core/api/serializers.py index 4ae426df51a..a16a06d625a 100644 --- a/netbox/core/api/serializers.py +++ b/netbox/core/api/serializers.py @@ -36,7 +36,7 @@ class Meta: model = DataSource fields = [ 'id', 'url', 'display', 'name', 'type', 'source_url', 'enabled', 'status', 'description', 'comments', - 'parameters', 'ignore_rules', 'created', 'last_updated', 'file_count', + 'parameters', 'ignore_rules', 'custom_fields', 'created', 'last_updated', 'file_count', ]