Inside any SharePoint Online sites, we have the following four sharing options: -
Now I am building a custom REST API (one using Power Automate, the other using .NET Core)>> which should generate the above four sharing options using SharePoint REST API. So, from where I can find a full documentation from Microsoft about the related rest service api endpoint and the available options? mainly I want the following scenarios: -
- Create/Generate "Anyone" link with password + View permission
- Create/Generate "People you choose" + View permission + specifying the list of emails (internal & external) + Without sending direct invitation email (only generating the link).
can anyone advice on this please? from where I can find the related documentations from Microsoft which details how to implement the above scenarios using SharePoint REST API ?