One of the biggest change in SharePoint 2013 the search service is extended with REST capabilities. This means, it now supports direct access from REST-based clients – includes client-side applications, non .NET applications apart from .NET-applications. It also has a new shorthand notation for accessing the REST API where CSOM URLs can be accessed through the _api folder. This means that now you don’t access them with _vti_bin in the URL and you can directly use _api as shown below
Since a number of REST calls are simple GET operations it is possible to learn the syntax by creating the URL in a browser and looking at the ATOM response being returned. Next are some of examples to get you started:
– access a specific site and retrieves different properties
– only retrieves the Title and ID for a specific site
- retrieves all lists on a specific site
– retrieves a single list based on the title used
– retrieves all items in the list with all the fields returned
– retrieves for all items in the list only the Title and LastName field
– retrieves items in the list where the Title starts with a C and retrieves the Title and LastName field
In the next post, will explore the extensions in the REST API for SharePoint Server 2013.
More information on REST Services, you can refer to:
- Get started with SharePoint 2013 REST service from Microsoft
- Search Engine Changes in SharePoint 2013 In this article, I have tried to capture the major...
- Change Sitecollection URL in SharePoint Recently I got request from one of my client to...
- Enable Napa App for Office Online Development with SharePoint SharePoint 2013 and Office Online Preview have been around since...
- Complete guide to installing SharePoint 15 We have had 3 articles to prepare ourselves for installation...
- Install Windows Server 2012 for SharePoint 15 If you are one of SharePoint lovers and really enthusiastic...
- Announcements (1)
- Code (27)
- Design (4)
- How-to (22)
- Presentations (1)
- Promotions (6)
- Strategy (5)
- Cloud (4)
- Uncategorized (1)
Latest on the Stack
- Team Foundation Server – Build Automation
- Team Foundation Server – Understanding the Architecture
- Web Forms, MVC, Single Page App, Web Pages Comparison
- Method, Delegate and Event Anti-Patterns in C#
- Which one is better : JSON vs. Xml serialization?
- WCF NetTcp Port Sharing on Windows 8+
- What’s the difference between System.String and string?
- HTTP/S WCF – Commonly faced access issues and solutions
- The Encoding saga for English and non-English languages
- Azure Worker Role – Simplified
Follow me on TwitterMy Tweets