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?