Muokkaa

Jaa


documentSetVersion resource type

Namespace: microsoft.graph

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

Inherits from listItemVersion.

Methods

Method Return type Description
List documentSetVersion collection Get a list of the versions of a document set item in a list.
Create documentSetVersion Create a new version of a document set item in a list.
Get documentSetVersion Read the properties and relationships of a documentSetVersion object.
Delete None Delete a version of a document set in a list.
Restore documentSetVersion Restore a document set version.

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