用于创建SendLink共享链接的REST API方法 [英] REST API method for creating SendLink sharing links
问题描述
我正在尝试查找有关可用于创建SendLink共享链接的REST API方法的信息,如以下博文中所述:  ; https:/ /techcommunity.microsoft.com/t5/Microsoft-OneDrive-Blog/Introducing-a-new-secure-external-sharing-experience/ba-p/112624
I'm trying to find information on the REST API method that I can use to create SendLink sharing links, as described in the following blog post: https://techcommunity.microsoft.com/t5/Microsoft-OneDrive-Blog/Introducing-a-new-secure-external-sharing-experience/ba-p/112624
I可以创建组织共享链接,匿名链接等,但我找不到有关新方法SendLink共享选项的API方法的详细信息。
I can create organization sharing links, anonymous link, etc, but I can't find details on the API method(s) for the newer SendLink sharing option.
干杯,
John
推荐答案
嗨约翰,
这是一个
共享功能。用户可以使用它来生成访问链接并发送带有用户链接的电子邮件。
It is a Sharing feature in modern view. User can use it to generate a access link and send email with link to user.
我们可以使用
REST API与Web.CreateOrganizationSharingLink方法和Web.CreateOrganizationSharingLink方法创建匿名链接和组织内部链接。
要通过电子邮件发送这些链接,我们需要使用_api / SP.Utilities.Utility.SendEmail方法。创建链接后,将链接发送到电子邮件正文并发送电子邮件给
用户。
以下是使用REST API发送电子邮件的演示:
http://www.letsharepoint.com/how-to-send-email-in-sharepoint-onlineoffice-365-using-rest-api/
一个博客,其中包含有关CSOM或REST for SharePoint中可用的外部共享API的详细信息,可以帮助您:
最好的问候,
Linda 张
这篇关于用于创建SendLink共享链接的REST API方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!