•  
     
    story #12813 upload files with FRS REST API
Summary
Empty
upload files with FRS REST API
Empty

Leveraging what was done for docman REST api, upload will be done following tus.io protocol.

POST /frs_files
{
  "release_id": int,
  "name": "string",
  "file_size": int
}

On success, POST will return a href where client can push content using tus.io protocol.

PUT /upload/files/:reference
Empty
Nouha Terzi (terzino), Denis PILAT (denis_pilat)
Status
Done
Development
Empty
Empty
Details
#12813
Manuel Vacelet (vaceletm)
2019-03-19 17:10
2019-01-23 12:16
3571

References

Follow-ups

  • User avatar
    • Status changed from On going to Done
  • User avatar
    gerrit #14400 integrated into Tuleap 10.11.99.107
  • User avatar
    gerrit #14391 integrated into Tuleap 10.11.99.104
  • User avatar
    gerrit #14349 integrated into Tuleap 10.11.99.94
  • User avatar
    gerrit #14358 integrated into Tuleap 10.11.99.79
  • User avatar
    gerrit #14356 integrated into Tuleap 10.11.99.69.
  • User avatar
    gerrit #14307 integrated into Tuleap 10.11.99.64.
  • User avatar
    The POST representation has been taken from the existing representation of a file. However, we decide to remove properties that are not mandatory to create a file in order to ease the development of this story, and to not let the consumer in the wild (eg. what are acceptable values for arch or type?).

    • Acceptance criteria
  • User avatar
    gerrit #14276 integrated into Tuleap 10.11.99.34.

    • Status changed from To be done to On going
  • User avatar
    Deletion is done in dedicated story #13022

    • Acceptance criteria
  • User avatar
    • Acceptance criteria
    • CC list set to Denis PILAT (denis_pilat), Nouha Terzi (terzino)