•  
     
    story #12612 upload document via REST route
Summary
Empty
upload document via REST route

Add the new option dowload file in modal + add the corresponding REST route:

Technically:

A new REST route to create the file :

  • POST to create the file
    • return the url of the endpoint where to upload the file

The endpoint to upload the file uses the tus.io protocol.

If file with an existing name already exists we should raise an error.

Expiration time is set to 12H SYSTEM_CHECK will purged the partially updated file whose expiration time has exceed this limitation

We should check that non fully uploaded document are not displayed in old view.

Empty
Empty
Empty
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#12612
Marie Ange Garnier (marieange)
2019-01-02 15:45
2018-12-10 10:02
4221

References

Follow-ups

User avatar
Thomas Gerbet (tgerbet)2018-12-12 11:58
Updating the story to mention that the file will be uploaded with the tus.io protocol.

  • So that
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Status changed from Ready (stalled) to On going
User avatar
  • So that
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • So that
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes