•  
     
    story #12812 get FRS file content via REST
Summary
Empty
get FRS file content via REST
Empty

Modify GET /frs_files/:id so download_url point to a new route /file/download/:id

This new route should allow

  • REST authentications (basic, token, accesskey)
  • Web authentication (cookie)

It returns the raw content of the file.

This route replaces the original "download.php" one.

download.php emits a 301 redirect to this new route.

Empty
Nouha Terzi (terzino), Denis PILAT (denis_pilat)
Status
Done
Development
Empty
Empty
Details
#12812
Manuel Vacelet (vaceletm)
2019-05-09 17:07
2019-01-23 12:15
3473

References

Follow-ups

  • User avatar
    • Status changed from On going to Done
  • User avatar

    gerrit #14923 integrated in Tuleap 11.1.99.31

  • User avatar
    Thanks


    Cheers,
    Denis
  • User avatar
    last edited by: Manuel Vacelet (vaceletm) 11 months ago

    It correpond to the following CR https://my.enalean.com/plugins/tracker/?aid=53673 and more specifically https://my.enalean.com/plugins/tracker/?aid=58343

  • User avatar
    HI

    Can you provide the backling to the SLA tracker on https://my.enalean.com, I can't find here where this CR comes from.

    Thanks
  • User avatar
    Hello,

    As this is about the download of a file already uploaded there is no limit on the size. Something that has been uploaded into the FRS should continue to be downloadable until its removed.
    There is no split of the file, the file can be downloaded with one HTTP GET request. However, users/tools will be able to download only a section of the file if they wish to using a range request, see request #13321 and RFC7233 [0] for more information.


    [0] https://tools.ietf.org/html/rfc7233

    • Acceptance criteria
    • Status changed from To be done to On going
  • User avatar
    Hi
    Is there any limit with the file size ?
    an automatic split into chunks for large files ?
    Thanks
  • User avatar
    • Acceptance criteria
    • CC list set to Denis PILAT (denis_pilat), Nouha Terzi (terzino)