I have some URL strings of files that were originally constructed by saving data via the
Parse.File API, but the
Parse.File objects were not preserved. The data is still in the database (AWS, but this should not matter here) and accessible from the URLs.
Is there a way of recreating the
Parse.File objects using these URL strings? AFAIK the API does not directly allow this: file objects apparently are either created from data or fetched from the db.
The only workaround I can think of is to 1) download each file URL, 2) re-upload the data to create a new file object, and 3) delete the old file URL. Should work but doesn’t seem especially elegant
Any help appreciated