Microsoft Graph · Schema
sharingDetail
Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
Properties
| Name | Type | Description |
|---|---|---|
| sharedBy | object | The user who shared the document. |
| sharedDateTime | string | The date and time the file was last shared. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T0 |
| sharingReference | object | Reference properties of the document, such as the URL and type of the document. Read-only |
| sharingSubject | string | The subject with which the document was shared. |
| sharingType | string | Determines the way the document was shared. Can be by a 1Link1, 1Attachment1, 1Group1, 1Site1. |
| @odata.type | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/microsoft.graph.sharingDetail",
"title": "sharingDetail",
"required": [
"@odata.type"
],
"type": "object",
"properties": {
"sharedBy": {
"anyOf": [
{
"$ref": "#/components/schemas/microsoft.graph.insightIdentity"
},
{
"type": "object",
"nullable": true
}
],
"description": "The user who shared the document."
},
"sharedDateTime": {
"pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
"type": "string",
"description": "The date and time the file was last shared. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.",
"format": "date-time",
"nullable": true
},
"sharingReference": {
"anyOf": [
{
"$ref": "#/components/schemas/microsoft.graph.resourceReference"
},
{
"type": "object",
"nullable": true
}
],
"description": "Reference properties of the document, such as the URL and type of the document. Read-only",
"readOnly": true
},
"sharingSubject": {
"type": "string",
"description": "The subject with which the document was shared.",
"nullable": true
},
"sharingType": {
"type": "string",
"description": "Determines the way the document was shared. Can be by a 1Link1, 1Attachment1, 1Group1, 1Site1.",
"nullable": true
},
"@odata.type": {
"type": "string"
}
}
}