ListItemVersion resource type
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/{item-id}/versions/{version-id} |
Restore version | POST /sites/{site-id}/items/{item-id}/versions/{version-id}/restore |
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" }
}
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. |