Problem/Motivation

As a admin, I want a dedicated asset download action and updated Drush commands support for --asset_id and --media_id flags in the Acquia DAM module, so that assets can be downloaded directly via a module action and individual assets or media entities can be targeted precisely from the command line.

Acceptance Criteria

Asset Download Action

  • A new "asset download action" is implemented and available within the Acquia DAM module.
  • The action successfully triggers the download of the specified Acquia DAM asset.

Drush Command Arguments

  • The designated Drush command is updated to accept --asset_id=[ID] or --media_id=[ID] as optional parameters.
  • When --asset_id is passed, the command executes its logic exclusively on the provided DAM asset ID.
  • When --media_id is passed, the command executes its logic exclusively on the provided Drupal media entity ID.
  • Appropriate validation and error handling are in place if an invalid ID is provided.

Issue fork acquia_dam-3611284

Command icon Show commands

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

rajeshreeputra created an issue. See original summary.

rajeshreeputra’s picture

Assigned: rajeshreeputra » Unassigned
Status: Active » Closed (outdated)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

rajeshreeputra’s picture

Title: Comprehensive code coverage » Add Asset Download Action and update Drush command to support --asset_id or --media_id flags
Assigned: Unassigned » rajeshreeputra
Issue summary: View changes
Status: Closed (outdated) » Needs work
Parent issue: #3611277: Feature: Webhook integration in Acquia DAM for real-time asset sync »

rajeshreeputra’s picture

Assigned: rajeshreeputra » Unassigned
Status: Needs work » Needs review

Requesting review!

  • rajeshreeputra committed c652fcb9 on 1.1.x
    Resolve #3611284 "Add Asset Download Action and update Drush command to...
rajeshreeputra’s picture

Status: Needs review » Fixed

MR merged!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.