Преглед на файлове

Updated share AGI documentation

tobychui преди 3 години
родител
ревизия
17a4b1018c
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      AGI Documentation.md

+ 3 - 2
AGI Documentation.md

@@ -755,9 +755,10 @@ requirelib("share");
 #### share functions
 
 ```
-share.shareFile("user:/Desktop/test.pptx", 300); //File virtual path and timeout in seconds.
-share.checkShareExists(shareUUID); //Return true / false
+share.shareFile("user:/Desktop/test.pptx", 300); //File virtual path and timeout in seconds, return UUID of share
+share.getFileShareUUID("user:/Desktop/test.pptx"); //Get the share UUID of a given file, return null if not shared
 share.fileIsShared("user:/Desktop/test.pptx"); //Return true / false
+share.checkShareExists(shareUUID); //Return true / false
 share.removeShare(shareUUID);
 ```