ItemActionSet resource type

The ItemActionSet resource provides information about the actions that made up an activity on an item.

Note: Activities is in a limited Preview and not yet available to all tenants.

JSON representation

{
  "comment": {"@odata.type": "microsoft.graph.commentAction"},
  "create": {"@odata.type": "microsoft.graph.createAction"},
  "delete": {"@odata.type": "microsoft.graph.deleteAction"},
  "edit": {"@odata.type": "microsoft.graph.editAction"},
  "mention": {"@odata.type": "microsoft.graph.mentionAction"},
  "move": {"@odata.type": "microsoft.graph.moveAction"},
  "rename": {"@odata.type": "microsoft.graph.renameAction"},
  "restore": {"@odata.type": "microsoft.graph.restoreAction"},
  "share": {"@odata.type": "microsoft.graph.shareAction"},
  "version": {"@odata.type": "microsoft.graph.versionAction"},
  
}

Properties

Below are the actions that are available today. New actions may get logged in the future, so make sure your app is tolerant of handling an itemActionSet without any actions that your app understands.

Property name Type Description
comment commentAction A comment was added to the item.
create createAction An item was created.
delete deleteAction An item was deleted.
edit editAction An item was edited.
mention mentionAction A user was mentioned in the item.
move moveAction An item was moved.
rename renameAction An item was renamed.
restore restoreAction An item was restored.
share shareAction An item was shared.
version versionAction An item was versioned.

Remarks

Item activity records are currently only available on SharePoint and OneDrive for Business.