mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
* [ADF-3323] Fixed URL path to Typescript source files * [ADF-3323] Fixed and checked broken links caused by previous bug
2.0 KiB
2.0 KiB
Added, Status, Last reviewed
| Added | Status | Last reviewed |
|---|---|---|
| v2.0.0 | Active | 2018-06-08 |
Shared Links Api service
Finds shared links to Content Services items.
Class members
Methods
- createSharedLinks(nodeId:
string, options:any={}):Observable<SharedLinkEntry>
Creates a shared link available to the current user.- nodeId:
string- ID of the node to link to - options:
any- Options supported by JSAPI - Returns
Observable<SharedLinkEntry>- The shared link just created
- nodeId:
- deleteSharedLink(sharedId:
string):Observable<SharedLinkEntry>
Deletes a shared link.- sharedId:
string- ID of the link to delete - Returns
Observable<SharedLinkEntry>- Null response notifying when the operation is complete
- sharedId:
- getSharedLinks(options:
any={}):Observable<NodePaging>
Gets shared links available to the current user.- options:
any- Options supported by JSAPI - Returns
Observable<NodePaging>- List of shared links
- options:
Details
Content Services allows users to generate URLs that can be shared with other people, even if they don't have a Content Services account. These URLs are known as shared links.
Use getSharedLinks to find all the shared links that are available to
the current user. You can supply a number of options to refine the
search; see the
Alfresco JS API
for more information.