You could use Graph search to get all SharePoint items in a folder.
Here is an example:
POST https://graph.microsoft.com/v1.0/search/query
{
"requests": [
{
"entityTypes": [
"listItem"
],
"query": {
"queryString": "parentLink:\"https://tenant.sharepoint.com/sites/emilytest/Lists/0214/1\""
},
"fields": [
"id",
"title",
"url"
]
}
]
}
Result:
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.