This repository is home to the OneDrive developer documentation. This includes documentation for a portion of the Microsoft Graph that accesses OneDrive and SharePoint content, and documentation for Office 365 file handlers and file pickers.
For easier navigation of content, we recommend consuming this content from the OneDrive Developer Portal or from https://docs.microsoft.com/onedrive/developer.
We welcome contributions from our community (users, customers, partners, MSFT employees, etc.) How you contribute depends on who you are:
-
Community - minor updates: If you are contributing minor updates out of the goodness of your heart, you can find the article in this repository, or visit the article on https://docs.microsoft.com/onedrive/developer and click the Edit link in the article that goes to the GitHub source for the article. Then, just use the GitHub UI to make your updates. Or, you are welcome to fork the repository and submit updates from your fork.
-
Community - new articles: If you're part of the OneDrive or SharePoint community and you want to create a new article, you need to work with an employee to help bring that new content in through a combination of work in the public and private repository.
-
Employees: If you are a technical writer, program manager, or developer from the product team and it's your job to contribute to or author technical articles, you should use the repository in our Visual Studio instance. If you are making substantial changes to an existing article, adding or changing images, or contributing a new article, you need to fork this repository, install Git, a markdown editor, and learn some git commands. See the internal contributor's guide for more information.
Minor corrections or clarifications you submit for documentation and code examples in this repo are covered by the docs.microsoft.com Terms of Use.
If you submit a pull request with new or significant changes to documentation and code examples, we'll send a comment in GitHub asking you to submit an online Contribution License Agreement (CLA) if you are not an employee of Microsoft. We need you to complete the online form before we can accept your pull request.
Community contributors can use the GitHub UI or fork the repo to contribute. Employees should visit the internal contributor's guide for more information about how to contribute to the technical documentation set.
The content in the onedrive-api-docs
repository follows the organization of documentation on https://docs.microsoft.com/onedrive/developer. This repository contains a few root folders:
The \docs folder contains the documentation articles formatted as markdown files with an .md extension.
The \docs folder contains the \media folder for root directory article media files, such as inline images.
The \templates folder contains markdown formatted topic templates when adding a new API or resource to the repository. Please use these templates when authoring a new topic.
The \tests folder contains configuration and Markdown-Scanner scenario definitions which are used for automated testing of the documentation. All pull requests to update the documentation will be validated using these tests, which validate consistency of the documentation and verify that the API implementation matches the documentation.
All the articles in this repository use GitHub flavored markdown. Here's a list of resources.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.