編輯

共用方式為


addIn resource type

Namespace: microsoft.graph

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.

Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams might configure add-ins for File Handler functionality. The custom behavior lets services like Microsoft 365 call the application in the context of a document the user is working on.

Properties

Property Type Description
id GUID The unique identifier for the addIn object.
properties keyValue collection The collection of key-value pairs that define parameters that the consuming service can use or call. You must specify this property when performing a POST or a PATCH operation on the addIns collection. Required.
type string The unique name for the functionality exposed by the app.

JSON representation

The following JSON representation shows the resource type.

{
  "id": "GUID",
  "properties": [{"@odata.type": "microsoft.graph.keyValue"}],
  "type": "String"
}