Generate Share Link support functions
REST Call URI
Generate a Shared Link
One of the following:
This function generates a link to a file or folder.
Input: The Request Body contains the JSON body required for generation of the Shared Link as required by underlying storage. For example, the following sample JSON body is used if you are using
Boxto generate the shared file and allow a user to preview the document, but not download it:
Output: The JSON file contains the generated shared link and the password. The password is optional if it is generated by the underlying storage, as shown in the following example:
For more information about
BoxAPIs, visit reference#create-a-shared-link-for-a-file.