Sp.Sites.Lists.Items.getAllItems
GET/clients/:clientId/sp/sites/:siteId/lists/:listId/items
This function retrieves all items from a SharePoint list using the specified list ID.
Request
Responses
- 200
The getAllItems
function is returning a Promise that resolves to an array of SharePoint
list items (Sp.ListItem[]
). The function retrieves all items from a SharePoint list specified by
the listId
parameter using the openSpClient
object.