Microsoft Graph · Schema
sharingLink
Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
Properties
| Name | Type | Description |
|---|---|---|
| application | object | The app the link is associated with. |
| preventsDownload | boolean | If true then the user can only use this link to view the item on the web, and cannot use it to download the contents of the item. Only for OneDrive for Business and SharePoint. |
| scope | string | The scope of the link represented by this permission. Value anonymous indicates the link is usable by anyone, organization indicates the link is only usable for users signed into the same tenant. |
| type | string | The type of the link created. |
| webHtml | string | For embed links, this property contains the HTML code for an |
| webUrl | string | A URL that opens the item in the browser on the OneDrive website. |
| @odata.type | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/microsoft.graph.sharingLink",
"title": "sharingLink",
"required": [
"@odata.type"
],
"type": "object",
"properties": {
"application": {
"anyOf": [
{
"$ref": "#/components/schemas/microsoft.graph.identity"
},
{
"type": "object",
"nullable": true
}
],
"description": "The app the link is associated with."
},
"preventsDownload": {
"type": "boolean",
"description": "If true then the user can only use this link to view the item on the web, and cannot use it to download the contents of the item. Only for OneDrive for Business and SharePoint.",
"nullable": true
},
"scope": {
"type": "string",
"description": "The scope of the link represented by this permission. Value anonymous indicates the link is usable by anyone, organization indicates the link is only usable for users signed into the same tenant.",
"nullable": true
},
"type": {
"type": "string",
"description": "The type of the link created.",
"nullable": true
},
"webHtml": {
"type": "string",
"description": "For embed links, this property contains the HTML code for an <iframe> element that will embed the item in a webpage.",
"nullable": true
},
"webUrl": {
"type": "string",
"description": "A URL that opens the item in the browser on the OneDrive website.",
"nullable": true
},
"@odata.type": {
"type": "string"
}
}
}