Getting List Items
This example shows how to retrieve all list items and iterate through them. You can use the top parameter to request a certain number of results. You can also use the select parameter to select certain fields ($select=id, Title, uri).
JavaScript
function GetListItems(){
$...