question

SaadMuhammadSyed-1265 avatar image
0 Votes"
SaadMuhammadSyed-1265 asked AmosWu-MSFT edited

Site Page comments extraction in Sharepoint using Graph Api

Is there a way to perform this extraction via graph api?
or any other method
regards

sharepoint-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AmosWu-MSFT avatar image
0 Votes"
AmosWu-MSFT answered AmosWu-MSFT edited

I do not find a Graph API endpoint to get the comments of a site page in the document.
You may try to use SharePoint Rest API to get the comments.

 /_api/lists/getbytitle('Site Pages')/items(pageID)/comments

More information about this endpoint:

  1. Getting likes and comments from modern pages

  2. Working with the Page Comments REST API in SharePoint Communication sites


If the response is helpful, please click "Accept Answer" and upvote it.
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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.