ItemActionSet 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.
The ItemActionSet resource provides information about the actions that made up an activity on an item.
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 | 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.