Enumerate lists in a site

Get the collection of lists for a site.

Prerequisites

One of the following scopes is required to execute this request:

  • Sites.Read.All
  • Sites.ReadWrite.All

HTTP request

GET https://graph.microsoft.com/beta/sharepoint/sites/{site-id}/lists
GET https://graph.microsoft.com/beta/sharepoint:/{site-path}:/lists

Example

Request

GET https://graph.microsoft.com/beta/sharepoint/sites/{site-id}/lists
Response
HTTP/1.1 200 OK
Content-type: application/json

{
  "value": [
    {
      "id": "b57af081-936c-4803-a120-d94887b03864",
      "name": "Documents",
      "createdDateTime": "2016-08-30T08:32:00Z",
      "lastModifiedDateTime": "2016-08-30T08:32:00Z",
      "list": {
        "hidden": false,
        "template": "documentLibrary"
       }
    },
    {
      "id": "1234-112-112-4",
      "name": "MicroFeed",
      "createdDateTime": "2016-08-30T08:32:00Z",
      "lastModifiedDateTime": "2016-08-30T08:32:00Z",
      "list": {
        "hidden": false,
        "template": "generic"
       }
    }
  ]
}