You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead, it should update the resource. Currently, it does not seem possible to update the resource via the hs_restclient, although such may be possible via the REST API itself. However, we should only need to focus on updating the files (GMS, and whatever format is decided for TR-55 projects). This can readily be done with deleteResourceFile and addResourceFile.
Optionally, the resource can also be versioned, to indicate new changes, like this:
hs.resource('RESOURCE ID').version()
The text was updated successfully, but these errors were encountered:
Currently, POSTing to an existing HydroShare resource simply returns the current value, instead of updating it:
model-my-watershed/src/mmw/apps/export/views.py
Lines 59 to 65 in 9b10846
Instead, it should update the resource. Currently, it does not seem possible to update the resource via the hs_restclient, although such may be possible via the REST API itself. However, we should only need to focus on updating the files (GMS, and whatever format is decided for TR-55 projects). This can readily be done with
deleteResourceFile
andaddResourceFile
.Optionally, the resource can also be versioned, to indicate new changes, like this:
The text was updated successfully, but these errors were encountered: