[FRONTIFY-15] Add parameter "permanent: true" to downloadUrl Created: 24/Jan/23  Updated: 07/Feb/23  Resolved: 07/Feb/23

Status: Closed
Project: Frontify
Component/s: None
Affects Version/s: 1.0.1
Fix Version/s: 1.0.2

Type: Improvement Priority: Major
Reporter: Alberto Ramirez Assignee: Teresa Miyar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-01-24-17-42-44-872.png    
Issue Links:
Problem/Incident
is caused by FRONTIFY-6 API data on all asset types Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Frontify generate the downloadUrl link for the assets by default with an expired date of 7 days.

If you add the parameter (permanent: true), the links will not expire.

This is causing us a lot of incidents in the webpage, because we have to manually delete the asset from the workspace frontifymedia so it will ask to frontify for a new link with another 7 days.

The change has to be done here:

https://git.magnolia-cms.com/projects/INCUBATOR/repos/frontify-dam-connector/browse/src/main/java/info/magnolia/external/dam/frontify/service/FrontifyServiceImpl.java#151,173,185,196

Frontify documentation:

https://developer.frontify.com/d/XFPCrGNrXQQM/graphql-api#/deep-dive/asset-preview-and-download (section Download)

Example:


Generated at Mon Feb 12 02:03:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.