[MGNLDAM-988] Enhance DAM API to be able to return all renditions Created: 16/Sep/21  Updated: 23/Aug/22

Status: Open
Project: Magnolia DAM Module
Component/s: None
Affects Version/s: None
Fix Version/s: 3.1.0

Type: Improvement Priority: Neutral
Reporter: Jaroslav Simak Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLGQL-105 Get asset link from AssetRendition in... Selected
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: External DAM MVP
Team: AuthorX

 Description   

Currently, the only way to get all the configured renditions is via Site and it's Theme. It is inconvenient because code that needs to get all the renditions is tightly coupled to the site module.
We could enhance the API of the info.magnolia.dam.api.AssetRenderer to also include method for returning a stream / collection of available renditions.

This would help with MGNLGQL-105 - to fetch all the asset renditions, GraphQL currently has to inject site and it's theme.


Generated at Mon Feb 12 05:05:16 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.