Hi @michael weinhardt ,
Thanks for reaching out to Microsoft!
As per documentation, to enumerate items in a list, you can use the following endpoints:
GET /sites/{site-id}/lists/{list-id}/items: This endpoint retrieves all items in the specified list.
GET /sites/{site-id}/lists/{list-id}/items?expand=fields: This endpoint retrieves all items in the specified list and expands the fields to include additional details.
GET /sites/{site-id}/lists/{list-id}/items?expand=fields(select=Column1,Column2): This endpoint retrieves all items in the specified list and expands the fields to include only the specified columns (Column1 and Column2 in this example).
However, please note that according to the documentation, the optional query parameter to filter based on item ID is not supported for these endpoints.
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".