ListItemVersion resource type

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.

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}/items/{item-id}/versions
Get version GET /sites/{site-id}/items/versions/{version-id}
Restore version POST /sites/{site-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 name 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 name Type Description
fields FieldValueSet A collection of the fields and values for this version of the list item.