If my list resides here:
http://sharepoint2010m/Lists/VideoPlayerData/AllItems.aspx
How do I get actual items through the o-data service?
Your REST endpoint would be: http://sharepoint2010m/_vti_bin/listdata.svc/VideoPlayerData
In your example, your List lives in the root. However, if you need to get to a List that lives deeper down, you tack on the _vti_bin
after the last site in your URL.
For example, to access a List at:
http://sharepoint2010m/MySite/MySubSite/Lists/MyList/AllItems.aspx
,
you'd ask for:
http://sharepoint2010m/MySite/MySubSite/_vti_bin/listdata.svc/MyList
Microsoft also has a helpful article called Using the REST Interface you might want to check out.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With