MCPcopy Create free account
hub / github.com/Flagsmith/flagsmith / WebhookSerializer

Class WebhookSerializer

api/environments/serializers.py:188–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186
187
188class WebhookSerializer(serializers.ModelSerializer): # type: ignore[type-arg]
189 url = NoSSRFURLField()
190
191 class Meta:
192 model = Webhook
193 fields = ("id", "url", "enabled", "created_at", "updated_at", "secret")
194 read_only_fields = ("id", "created_at", "updated_at")
195
196
197class EnvironmentAPIKeySerializer(serializers.ModelSerializer): # type: ignore[type-arg]

Callers

nothing calls this directly

Calls 1

NoSSRFURLFieldClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…