GET /me/activities/recent()
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 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 active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate.
Servers
- https://graph.microsoft.com/v1.0
Query parameters
Name | Type | Required | Description |
---|---|---|---|
$orderby[] |
Array | No |
Order items by property values |
$top |
Integer | No |
Show only the first n items |
$count |
Boolean | No |
Include count of items |
$filter |
String | No |
Filter items by property values |
$skip |
Integer | No |
Skip the first n items |
$select[] |
Array | No |
Select properties to be returned |
$expand[] |
Array | No |
Expand related entities |
$search |
String | No |
Search items by search phrases |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.