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: -
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 ?
did you try to create a shareable link with Graph API? https://learn.microsoft.com/en-us/graph/api/driveitem-createlink?view=graph-rest-1.0&tabs=http
Yes, it's not SharePoint REST API as indicated in your question, but this API is well documented by Microsoft, and probably more future-proof.