Closed (fixed)
Project:
Acquia DAM
Version:
1.1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Jul 2026 at 03:34 UTC
Updated:
25 Aug 2026 at 07:55 UTC
Jump to comment: Most recent
As a site administrator, I want a webhook management UI, automated hook wiring, and configurable asset_created filtering, so that I can manage webhooks through the admin interface and control which new DAM uploads automatically create Drupal media entities.
/admin/config/acquia-dam/webhooks, tab on parent admin page):acquia_dam_webhooks.settingswebhook_enabledasset_created filter section only visible when asset_created is in webhook_event_typesBulkImportConfigForm)
getAssetGroups() API, displayed as select, keyed by UUIDmedia_types = all types allowed for that group{uuid: {name: string, media_types: [...]}} — UUID for stability, name stored for display without extra API call.module / .install):hook_cron: reads acquia_dam_webhooks.settings; 24h sync via WebhookManager::syncFromDam(); uses acquia_dam_webhooks.webhook_last_sync State keyhook_form_acquia_dam_config_alter: injects pre/post submit handlers for credential rotation — parent form has zero webhook knowledge
deregisterAll() while old token validregister() with new token; failure → admin messenger link to /admin/config/acquia-dam/webhooksacquia_dam_webhooks.settings):webhook_enabled (bool, default false)webhook_event_types (sequence) — list of enabled event typeswebhook_asset_created_allow_all (bool, default false) — process every asset_created event without group/type filterwebhook_asset_created_groups (mapping) — {uuid: {name: string, media_types: [bundle_ids]}}, default emptywebhook_sync_frequency (int, default 86400)Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
rajeshreeputraComment #4
rajeshreeputraComment #5
rajeshreeputraRequesting review.
Comment #7
rajeshreeputraMR merged!