Add modern webservice API functionality to supported API as graph
There are two modern webservices used in SharePoint for getting followed sites, frequented sites, news posts, etc for the current user. As asked about on Github (https://github.com/SharePoint/sp-dev-docs/issues/1689) and as mentioned in this uservoice (https://sharepoint.uservoice.com/forums/329220-sharepoint-dev-platform/suggestions/34075903-api-support-for-followed-sties) a bunch of folks would like to have some kind of official support/usage for this. If this is not possible, we would like to ask to add these functions to Graph / SharePoint REST
Thanks for your feedback! Although we appreciate your time and effort to give us this feedback, it’s not something we’re planning to do right now.
Followed sites is already supported in Microsoft Graph API.
Frequent and news pots are not, but are being looked for, but as this item is bundling numerous items, we cannot track them separately. Those items are however looked for. To enable specific item tracking, please submit items one-by-one.
3 commentsComments are closed
Dave Paylor commented
The Insights section of the Graph API does have detail on sites but the data does not seem to be current: https://graph.microsoft.com/v1.0/me/insights/used?$filter=ResourceVisualization/Type eq 'spsite'
The Graph API does feel like the logical place to get site info - whether it is recent, frequent or followed but would be good to be able to get it from somewhere :)
Agree with Judith.
The webservices as mentioned in the links are:
https://tenant.sharepoint.com/_vti_bin/homeapi.ashx/ (eg: sites/followed/add)
https://eastus3-sphomep.svc.ms/api/v1/ (eg: news?start=0&count=100)