From where i can get the official documentation from Microsoft regarding the "Sharelink" REST API endpoint specification, mainly the values and purpose of the parameters passed inside the body. as I can not find any official documentations. any advice please?
1- Method:- POST
2- URL:- _api/web/Lists('ListGUID')/GetItemByID('1')?['ID']}')/Sharelink
3- Body:-
{ "request":{ "createLink":true, "settings":{ "allowAnonymousAccess":true, "linkKind":6, "role":1, "restrictShareMembership":false, "updatePassword":true, "password":"***", "scope":0 } } } now the above link will create an anonymous link with Read-only permission, but not sure how