Skip to content

Latest commit

 

History

History
79 lines (62 loc) · 3.51 KB

File metadata and controls

79 lines (62 loc) · 3.51 KB
author spgraph-docs-team
description The listItemVersion resource represents a previous version of a ListItem resource.
ms.date 09/17/2017
title ListItemVersion
ms.localizationpriority medium
ms.subservice sharepoint
doc_type resourcePageType

ListItemVersion resource type

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

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

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.

JSON representation

{
  "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" }
}