Table of Contents

SharePoint

REST (SharePoint)

SharePoint Representational State Transfer (REST) service.

mindmap Root (REST in SharePoint) REST API Overview Protocol Format Endpoints Lists Sites Users Authentication OAuth App-Only Common Operations GET POST PUT DELETE Use Cases Data Retrieval Integration Custom Applications

REST (Representational State Transfer) is an architectural style that allows you to interact with SharePoint data using standard HTTP requests. SharePoint provides a RESTful web service that enables developers to access and manipulate SharePoint resources such as lists, items, and libraries in a straightforward and flexible manner.

Key Features of SharePoint REST API

Common Use Cases

Basic Example

To retrieve items from a SharePoint list using the REST API, you would perform a GET request to the following endpoint:

GET /_api/web/lists/getbytitle('ListName')/items

This will return a JSON array of items in the specified list.

Authentication

Accessing the REST API in SharePoint typically requires authentication. Depending on the environment (on-premises or SharePoint Online), you may use:

Example REST APIs:

Tools:

SharePoint Articles