Uploaded image for project: 'Frontify'
  1. Frontify
  2. FRONTIFY-15

Add parameter "permanent: true" to downloadUrl

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0.2
    • 1.0.1
    • None

      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:

        Acceptance criteria

              tmiyar Teresa Miyar
              aramirez Alberto Ramirez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: