ListItemVersion 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 listItemVersion resource represents a previous version of a ListItem resource.

Tasks on ListItemVersion resources

The following tasks are available for listItemVersion resources.

Common task HTTP method
List versions GET /sites/{site-id}/lists/{list-id}/items/{item-id}/versions
Get version GET /sites/{site-id}/lists/{list-id}/items/versions/{version-id}
Restore version POST /sites/{site-id}/lists/{list-id}/items/versions/{version-id}/restore

JSON representation

{
  "content": { "@odata.type": "Edm.Stream" },
  "fields": { "@odata.type": "microsoft.graph.fieldValueSet" },
  "id": "string",
  "lastModifiedBy": { "@odata.type": "microsoft.graph.identitySet" },
  "lastModifiedDateTime": "2016-01-01T15:20:01.125Z",
  "published": { "@odata.type": "microsoft.graph.publicationFacet" }
}

Properties

Property Type Description
id string The ID of the version. Read-only.
lastModifiedBy IdentitySet Identity of the user which last modified the version. Read-only.
lastModifiedDateTime DateTimeOffset Date and time the version was last modified. Read-only.
published PublicationFacet Indicates the publication status of this particular version. Read-only.

Relationships

The following table defines the relationships that the driveItemVersion resource has to other resources.

Relationship Type Description
fields FieldValueSet A collection of the fields and values for this version of the list item.