USGCRP / gcis

Global Change Information System
https://data.globalchange.gov
Other
20 stars 16 forks source link

Allow authorized user to add a file directly with a provided UUID identifier #654

Closed JimBiardCics closed 6 years ago

JimBiardCics commented 6 years ago

Please make a change to allow an authorized user to add a file to the GCIS File table via a PUT on a path like /file/UUID/filename. Allow an audit_note to be associated with the put if you like. (That last is a mere desirement.)

lomky commented 6 years ago

We ended up solving this problem by having the File upload return the GCIS-generated UUID instead.