/share_link
POST /system/share_link
POST /system/share_linkCreate a new share link.
Access token in the Authorization header:
Authorization: Bearer <token>.
The URI path to shorten, must start with /.
^\/ISO date and time when the share link expires. Defaults to one year.
Optional alias that can be used instead of the randomly generated short id to access the share link. Only charaters defined in RFC 3968 are allowed.
^[a-zA-Z0-9][a-zA-Z0-9\-_~\.]*[a-zA-Z0-9]$New share link entry
The target path of the share link URL.
^\/The randomly generated id that is used to access the link via <external_url>/share/<share_id>.
^[a-zA-Z0-9]+$The user set alias to access the link via <external_url>/share/<alias>.
^[a-zA-Z0-9][a-zA-Z0-9\-_~\.]*[a-zA-Z0-9]$Timestamp when the short link was created.
Timestamp when the short link expires.
The share link could not be created. The code field identifies
the specific validation failure — invalid path, invalid alias,
expiration in the past, or a collision with an existing link.
No authenticated user. The request must carry a valid access token.
GET /system/share_link/{id}
GET /system/share_link/{id}Redirect to url referenced by given id, if available
Access token in the Authorization header:
Authorization: Bearer <token>.
Shortened hash or alias set by user
Successful redirect
No share link entry for the given id (or it has expired). The
response carries code: ShareLinkInvalid.
No content
Last updated