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
{{ message }}
This repository was archived by the owner on Nov 25, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: core/src/plugins/action.share/manifest.xml
+4-20Lines changed: 4 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -343,7 +343,7 @@
343
343
</action>
344
344
<actionname="unshare">
345
345
<processing>
346
-
<serverCallbackmethodName="switchAction"developerComment="Stop sharing a folder, or remove a public link from a file.">
346
+
<serverCallbackmethodName="switchAction"restParams="/file+"developerComment="Stop sharing a folder, or remove a public link from a file.">
347
347
<input_paramdescription="Path of the resource to unshare"name="file"type="path"mandatory="true"/>
348
348
<input_paramdescription="Type of element to load (file or folder)"name="element_type"type="file|repository"mandatory="true"/>
349
349
<input_paramdescription="If the resource is a file, send also the element_id, as many links can be generated for one file"name="element_id"type="string"/>
@@ -352,7 +352,7 @@
352
352
</action>
353
353
<actionname="toggle_link_watch">
354
354
<processing>
355
-
<serverCallbackmethodName="switchAction"developerComment="Toggle a shared element status for being watched or not.">
355
+
<serverCallbackmethodName="switchAction"restParams="/file+"developerComment="Toggle a shared element status for being watched or not.">
356
356
<input_paramdescription="Path of the resource to unshare"name="file"type="path"mandatory="true"/>
357
357
<input_paramdescription="Type of element to load (file or folder)"name="element_type"type="file|repository"mandatory="true"/>
358
358
<input_paramdescription="If the resource is a file, send also the element_id, as many links can be generated for one file"name="element_id"type="string"/>
@@ -361,7 +361,7 @@
361
361
</action>
362
362
<actionname="reset_counter">
363
363
<processing>
364
-
<serverCallbackmethodName="switchAction"developerComment="Reset download counter for a given link generated on a file.">
364
+
<serverCallbackmethodName="switchAction"restParams="/file+"developerComment="Reset download counter for a given link generated on a file.">
365
365
<input_paramdescription="Path of the resource to unshare"name="file"type="path"mandatory="true"/>
366
366
<input_paramdescription="Send also the element_id, as many links can be generated for one file"name="element_id"type="string"/>
0 commit comments