ShortLinkService.getShortLink Method

Gets a short link from the specified long link.
 

Parameters

longLink

Type: String
The long link to get the short link for.
fileSystemEntryId

Type: String
(optional) The ID of the file system entry to which the short link corresponds, or NULL if the short link does not correspond to a file system entry.
Optional: True
timeToLive

Type: String
(optional) A timespan-formatted string representing the amount of time the short link should be valid. If not specified, the short link will never expire.
Optional: True

Return Value


Type: jQuery.Promise
A promise object that is resolved when the call is complete.