{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph Admin Admin.admin users.userActivity API", "version": "1.0.0" }, "items": [ { "info": { "name": "users.userActivity", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Graph Get activities from users", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/users/:user-id/activities", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" }, { "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": "The user's activities across devices. Read-only. Nullable." }, { "info": { "name": "Microsoft Graph Create new navigation property to activities for users", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/users/:user-id/activities", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Create new navigation property to activities for users" }, { "info": { "name": "Microsoft Graph Get activities from users", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/users/:user-id/activities/:userActivity-id", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" }, { "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 users", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/users/:user-id/activities/:userActivity-id", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" }, { "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 users" }, { "info": { "name": "Microsoft Graph Delete navigation property activities for users", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/users/:user-id/activities/:userActivity-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" }, { "name": "userActivity-id", "value": "", "type": "path", "description": "The unique identifier of userActivity" } ] }, "docs": "Microsoft Graph Delete navigation property activities for users" }, { "info": { "name": "Microsoft Graph Get historyItems from users", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/users/:user-id/activities/:userActivity-id/historyItems", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" }, { "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 users", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/users/:user-id/activities/:userActivity-id/historyItems", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" }, { "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 users" }, { "info": { "name": "Microsoft Graph Get historyItems from users", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/users/:user-id/activities/:userActivity-id/historyItems/:activityHistoryItem-id", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" }, { "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 Update the navigation property historyItems in users", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/users/:user-id/activities/:userActivity-id/historyItems/:activityHistoryItem-id", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" }, { "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": "Microsoft Graph Update the navigation property historyItems in users" }, { "info": { "name": "Microsoft Graph Delete navigation property historyItems for users", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/users/:user-id/activities/:userActivity-id/historyItems/:activityHistoryItem-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" }, { "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 users" }, { "info": { "name": "Microsoft Graph Get activity from users", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/users/:user-id/activities/:userActivity-id/historyItems/:activityHistoryItem-id/activity", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" }, { "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/users/:user-id/activities/:userActivity-id/historyItems/$count", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" }, { "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/users/:user-id/activities/$count", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" }, { "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/users/:user-id/activities/recent()", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" }, { "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 }