Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
A URL with a display label, attached to a plan or task. displayName is the label and webUrl is the destination URL, both returned by default; preview, icon, and content-type metadata are opt-in.
Inherits from plannerDelta.
Methods
| Method | Return type | Description |
|---|---|---|
| List | contentLink collection | Get a list of the contentLink objects and their properties. |
| Create | contentLink | Create a new contentLink object. |
| Get | contentLink | Read the properties and relationships of contentLink object. |
| Update | contentLink | Update the properties of a contentLink object. |
Properties
| Property | Type | Description |
|---|---|---|
| capabilities | contentLinkCapability | Server-computed, read-only capability flags indicating which optional features are enabled for the entity. |
| createdBy | identitySet | Identity of the user (or application) who created the entity. Read-only. |
| displayName | String | Display label for the link. |
| extensions | extensionFieldCollection | Custom extension field values set on the entity. Supports $select. |
| id | String | The unique identifier of the entity. Read-only. Inherited from entity |
| lastModifiedBy | identitySet | Identity of the user (or application) who last modified the entity. Read-only. |
| lastModifiedDateTime | DateTimeOffset | Date and time the entity was last modified. The value is represented in ISO 8601 format and is always in UTC time. Read-only. |
| linkType | contentLinkType | Type of content the link points to. The possible values are: documentReference, webReference, unknownFutureValue. |
| webUrl | String | URL the link points to. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.contentLink",
"id": "String (identifier)",
"displayName": "String",
"linkType": "String",
"webUrl": "String",
"createdBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"lastModifiedBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"lastModifiedDateTime": "String (timestamp)",
"capabilities": {
"@odata.type": "microsoft.graph.contentLinkCapability"
},
"extensions": {
"@odata.type": "microsoft.graph.extensionFieldCollection"
}
}