The native API currently allows file update (and now file replace) operations but it doesn't appear to allow file delete. This means that because replace only works on published files, it is not possible to update the file contents of a draft dataset without going through the GUI to manually delete the staged file or to delete the entire draft (all files and metadata) through the API. It would be great to be able to delete both unpublished/draft files and to delete files generally from a version (in the way that is currently possible through the GUI).
The native API currently allows file update (and now file replace) operations but it doesn't appear to allow file delete. This means that because replace only works on published files, it is not possible to update the file contents of a draft dataset without going through the GUI to manually delete the staged file or to delete the entire draft (all files and metadata) through the API. It would be great to be able to delete both unpublished/draft files and to delete files generally from a version (in the way that is currently possible through the GUI).