Get metadata for a list

Returns the metadata for a list.

Prerequisites

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

  • Sites.Read.All
  • Sites.ReadWrite.All
  • Sites.Manage.All
  • Sites.FullControl.All

HTTP request

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

Request body

Do not supply a request body with this method.

Example

Request

GET /sharepoint/sites/{site-id}/lists/{list-id}

Response

HTTP/1.1 200 OK
Content-type: application/json

{
  "id": "1234-112-112-4",
  "name": "MicroFeed",
  "createdDateTime": "2016-08-30T08:32:00Z",
  "lastModifiedDateTime": "2016-08-30T08:32:00Z",
  "list": {
    "hidden": false,
    "baseTemplate": "generic"
    }
}