| author | daspek |
|---|---|
| description | Provides information about the actions that made up an [activity][itemActivity] on an item. |
| ms.date | 09/14/2017 |
| title | ItemActionSet |
| ms.localizationpriority | medium |
| doc_type | resourcePageType |
| ms.subservice | sharepoint |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Provides information about the actions that made up an activity on an item.
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. |
None.
The following JSON representation shows the resource type.
{
"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"},
}Item activity records are currently only available on SharePoint and OneDrive for Business.