listInfo resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

The listInfo complex type provides additional information about a list.

JSON representation

The following JSON representation shows the resource type.

{
  "contentTypesEnabled": false,
  "hidden": false,
  "template": "documentLibrary | genericList | tasks | survey | links | announcements | contacts | ..."
}

Properties

Property Type Description
contentTypesEnabled Boolean If true, indicates that content types are enabled for this list.
hidden Boolean If true, indicates that the list isn't normally visible in the SharePoint user experience.
template String An enumerated value that represents the base list template used in creating the list. Possible values include documentLibrary, genericList, task, survey, announcements, contacts, and more.

Remarks

While most lists created by users have one of the values listed in the previous section, other values are possible as well. Your app should be prepared to handle any values that aren't listed here. For developers familiar with SharePoint's CSOM APIs, the template value corresponds to the SPListTemplateType enumeration.