I want to get this site pages through the API, what do I need to do.

Liu, Yinsheng/刘 垠生 116 Reputation points
2021-11-29T01:36:20.853+00:00

![153099-excel-plwwh3dnoz.png][1] [1]: /api/attachments/153099-excel-plwwh3dnoz.png?platform=QnA

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,810 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,597 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,900 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 33,641 Reputation points Microsoft Vendor
    2021-11-29T07:28:56.877+00:00

    Hi anonymous user ,
    We can get the number of pages viewed across all sites by following api

    GET /reports/getSharePointSiteUsagePages(period='{period_value}')  
    

    Please refer to the following document
    https://learn.microsoft.com/en-us/graph/api/reportroot-getsharepointsiteusagepages?view=graph-rest-1.0


    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.