Use the Microsoft Graph API to work with Project Rome
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.
Project Rome is a Microsoft initiative to build a platform that enables app developers to build great cross-device experiences. Project Rome enables different capabilities that connect different services and client endpoints when the user signs in with the same Microsoft account or work or school account. This allows you to implement cross-device and cross-platform experiences that are centered around user tasks rather than devices.
The following key capabilities are exposed via Microsoft Graph to help you enable cross-device experiences.
Activities
Activities in Microsoft Graph enable you to drive user engagement with your apps across devices and platforms. An activity is the unit of user engagement, and consists of three components:
- A deep link
- A visual representation
- Content metadata that describes the activity, using the https://schema.org/ shared vocabulary
When a session is created by an application, a history item is added to the activity to reflect the period of user engagement. Each time a user reengages with an activity, a new history item is added to the activity to accrue user engagement.
When an application publishes user activity objects, the object will show up in some of the new UI surfaces in Windows; for example, Cortana Notifications and Timeline. You can specify both rich metadata (to allow activities to be presented in just the right context) and rich visuals (using Adaptive Card markup) in your activity objects.
You can use the following Microsoft Graph APIs to create and retrieve user activities:
- Create or replace activity
- Get activities
- Get recent activities
- Delete an activity
- Create or replace a history item
- Delete a history item
Devices (deprecated)
You can use Project Rome APIs in Microsoft Graph to:
- Discover and connect to user's devices
- Remotely launch apps on those devices
- Send messages to your apps on those devices
With these APIs, you can build apps that create rich experiences that transcend a single device. For example, you can extend your app to launch on a bigger screen. Or you can create a companion experience for an app on another of the user's devices.
You can use the following Microsoft Graph APIs to communicate with other Windows devices:
Roaming data
Access Windows data stored in the cloud via the cloud clipboard and Windows settings APIs.
The Cloud Clipboard feature in Windows enables users to copy and paste items such as text, images, and links across their applications and devices. You can use the cloud clipboard APIs in Microsoft Graph to:
The Windows setting API in Microsoft Graph enables users and authorized third parties acting on behalf of users to retrieve their Windows operating system settings data stored in the Microsoft cloud. For details about using the Windows setting API, see Use the Windows settings API.