Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

OData \ REST

$
0
0

I am a bit lost in terms and ways to access SharePoint lists thru REST\OData. I found two different syntax:

1. /_api/web/Lists/getByTitle('ListName')/items?$top=5000

2. /_vti_bin/listdata.svc/ShortListName

Only 1st is REST? Where is it endpoint?

Do they both return the same OData xml? Well i checked and it is a bit different. What is the difference?

Why the parameters syntax like ?$top=5000 does not work in the second example?

And ultimately why are there 2 of it and not a single?

Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>