{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph Admin Admin.admin me.userActivity API", "version": "1.0.0" }, "items": [ { "info": { "name": "me.userActivity", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Graph Get user activities", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/activities", "params": [ { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get activities for a given user. Unlike the recent OData function, activities without histories will be returned. The permission UserActivity.ReadWrite.CreatedByApp will apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is particularly active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate" }, { "info": { "name": "Microsoft Graph Create new navigation property to activities for me", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/activities", "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Create new navigation property to activities for me" }, { "info": { "name": "Microsoft Graph Get activities from me", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/activities/:userActivity-id", "params": [ { "name": "userActivity-id", "value": "", "type": "path", "description": "The unique identifier of userActivity" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "The user's activities across devices. Read-only. Nullable." }, { "info": { "name": "Microsoft Graph Update the navigation property activities in me", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/activities/:userActivity-id", "params": [ { "name": "userActivity-id", "value": "", "type": "path", "description": "The unique identifier of userActivity" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Update the navigation property activities in me" }, { "info": { "name": "Microsoft Graph Delete an activity", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/activities/:userActivity-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "userActivity-id", "value": "", "type": "path", "description": "The unique identifier of userActivity" } ] }, "docs": "Delete an existing user activity for your app." }, { "info": { "name": "Microsoft Graph Get historyItems from me", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/activities/:userActivity-id/historyItems", "params": [ { "name": "userActivity-id", "value": "", "type": "path", "description": "The unique identifier of userActivity" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Optional. NavigationProperty/Containment; navigation property to the activity's historyItems." }, { "info": { "name": "Microsoft Graph Create new navigation property to historyItems for me", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/activities/:userActivity-id/historyItems", "params": [ { "name": "userActivity-id", "value": "", "type": "path", "description": "The unique identifier of userActivity" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Create new navigation property to historyItems for me" }, { "info": { "name": "Microsoft Graph Get historyItems from me", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/activities/:userActivity-id/historyItems/:activityHistoryItem-id", "params": [ { "name": "userActivity-id", "value": "", "type": "path", "description": "The unique identifier of userActivity" }, { "name": "activityHistoryItem-id", "value": "", "type": "path", "description": "The unique identifier of activityHistoryItem" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Optional. NavigationProperty/Containment; navigation property to the activity's historyItems." }, { "info": { "name": "Microsoft Graph Delete an activityHistoryItem", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/activities/:userActivity-id/historyItems/:activityHistoryItem-id", "params": [ { "name": "userActivity-id", "value": "", "type": "path", "description": "The unique identifier of userActivity" }, { "name": "activityHistoryItem-id", "value": "", "type": "path", "description": "The unique identifier of activityHistoryItem" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Delete an existing history item for an existing user activity." }, { "info": { "name": "Microsoft Graph Delete navigation property historyItems for me", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/activities/:userActivity-id/historyItems/:activityHistoryItem-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "userActivity-id", "value": "", "type": "path", "description": "The unique identifier of userActivity" }, { "name": "activityHistoryItem-id", "value": "", "type": "path", "description": "The unique identifier of activityHistoryItem" } ] }, "docs": "Microsoft Graph Delete navigation property historyItems for me" }, { "info": { "name": "Microsoft Graph Get activity from me", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/activities/:userActivity-id/historyItems/:activityHistoryItem-id/activity", "params": [ { "name": "userActivity-id", "value": "", "type": "path", "description": "The unique identifier of userActivity" }, { "name": "activityHistoryItem-id", "value": "", "type": "path", "description": "The unique identifier of activityHistoryItem" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Optional. NavigationProperty/Containment; navigation property to the associated activity." }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/activities/:userActivity-id/historyItems/$count", "params": [ { "name": "userActivity-id", "value": "", "type": "path", "description": "The unique identifier of userActivity" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/activities/$count", "params": [ { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph Invoke function recent", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/activities/recent()", "params": [ { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent activityHistoryItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the activityHistoryItem. This means that activities without activityHistoryItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply " } ] } ], "bundled": true }