Does anyone knows how to use REST API to share a document in sharepoint to someone inside the same organization and external user ?
You could use the below rest api endpoint to share document in SharePoint : /_api/SP.Sharing.DocumentSharingManager.UpdateDocumentSharingInfo
Please refer to this blog for more: http://sharepointfieldnotes.blogspot.com/2014/09/sharing-documents-with-sharepoint-rest.html
Related
Can anybody tell me where can I see a documentation for the sharepoint rest api ? I would like to see documentation like swagger has e.g. endpoints + dto objects. I need to make an integration with sharepoint to have CRUD functional for files. On Microsoft I see an articls that describe how to use it, but can`t find concrete list with endpoints and data tansfer objects.
Here the official Microsoft documentation : SharePoint REST service,
Please read all the part in the left navigation :
Bonus : Also, if you are a beginner and you want to start with SP API, I recommend you to use SP Insider extention, it is a free SharePoint Discovery tool for Developers. It allows you to explore the endpoint in an intuitive way and build your Query easily.
Cordially.
Is it possible to get rally data to SharePoint online list by doing a Rest API call or is there a way to integrate rally to SharePoint.
Please let me know the available option
One option is to write a custom app, create an API Key and embed it into sharepoint via an iFrame.
More details can be found in the SDK Docs: https://rally1.rallydev.com/docs/en-us/saas/apps/2.1/doc/index.html#!/guide/embedding_apps-section-develop-the-app
Edit: I should note that you need to find a way to obscure the apiKey from users. The apiKey should only have read access and should be completely hidden
I would like to store some additional metadata with documents that I am uploading to OneDrive (Business) using the OneDrive API, for example type of document, some additional information to search on , ...
Does anyone know if this is possible at this time? I noticed the following URL
https://github.com/OneDrive/onedrive-api-docs/blob/master/misc/custom-metadata.md
But only support for OneDrive Personal??
To create a new facet, the OneDrive team needs to be informed via mail ?
Before a new custom facet can be used, you need to define its schema and register it with OneDrive. To register your custom facet, contact OneDrive Facet Registration and provide your client_id and schema definition JSON.
Best regards,
Jens
Reviving a post a bit later because my search found this question. I am going through custom facet registration at present. It is necessary to email the OneDrive team, and as part of that I needed to confirm in my reply that this was indeed only for OneDrive personal, not business / Sharepoint.
The e-mail link is shown in the OneDrive dev docs:
https://dev.onedrive.com/misc/custom-metadata.htm
I'm working on a project where I have to import contacts from GMX and web.de. I search for one on their website for developer api but I cannot find any reference document. Are these websites provide any developer api? I see Xing.com uses these services for importing contacts and I believe they must not be using any screen scraping methods. Can some body point me to the right direction please? I appreciate your help.
How can i share my one drive document to other user (in the same domain) through Office 365 REST API.
i checked this link https://msdn.microsoft.com/office/office365/APi/files-rest-operations but can't file any API which can help me.
I am afraid currently we do not have such API to share document to other users directly.
But you can use this one to create a share link and then send it to others.
See this link:
https://dev.onedrive.com/items/sharing_createLink.htm
hope it helps.