Argument | Description | Types / Required |
path | The path of file(s) from which to create sharable URI(s). | string, array
required |
permissions | Permissions to apply to the sharable URI(s).
The default value is "read". | string
not required |
The path argument, enumerating the files, can be specified as:
- A single string representing a file path.
- A single string using wildcard characters "*" and "?" to specify a group of files.
- An array of strings containing strings specified in one of the two above forms.
The permissions argument allows you to set the status of the file when used by other applications. The options include:
The action returns the sharable URI, or array of sharable URIs. An array of strings containing the sharable URIs is returned unless path is a single string that does not contain wildcard characters, in which case a single string is returned.
The action throws an exception if any of its arguments are not specified in a valid form or if the file(s) specified in path do not exist.
{
"action": "System.getSharableUri",
"path": "Data/*.csdb"
}