documentSetVersion 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.

Represents the version of a document set item in a list.

Inherits from listItemVersion.

Methods

Method Return type Description
List documentSetVersion collection Get the documentSetVersion resources from the documentSetVersions navigation property.
Create documentSetVersion Create a new documentSetVersion object.
Get documentSetVersion Read the properties and relationships of a documentSetVersion object.
Delete None Delete a documentSetVersion object.
Restore documentSetVersion Restore a documentSetVersion.

Properties

Property Type Description
comment string Comment about the captured version.
createdBy identitySet User who captured the version.
createdDateTime dateTime Date and time when this version was created.
id string The ID of the version. Read-only. Inherited from listItemVersion.
items documentSetVersionItem collection Items within the document set that are captured as part of this version.
lastModifiedBy identitySet Identity of the user which last modified the version. Read-only. Inherited from listItemVersion.
lastModifiedDateTime dateTimeOffset Date and time when the version was last modified. Read-only. Inherited from listItemVersion.
published publicationFacet Indicates the publication status of this particular version. Read-only. Inherited from listItemVersion.
shouldCaptureMinorVersion Boolean If true, minor versions of items are also captured; otherwise, only major versions are captured. The default value is false.

Relationships

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

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.documentSetVersion",
  "comment": "String",
  "createdDateTime": "String (timestamp)",
  "createdBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "id": "String (identifier)",
  "items": [
    {
      "@odata.type": "microsoft.graph.documentSetVersionItem"
    }
  ],
  "lastModifiedBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "lastModifiedDateTime": "String (timestamp)",
  "publication": {
    "@odata.type": "microsoft.graph.publicationFacet"
  },
  "shouldCaptureMinorVersion": "Boolean"
}