File 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.
The File resource groups file-related data items into a single structure.
If a DriveItem has a non-null file facet, the item represents a file. In addition to other properties, files have a content relationship that contains the byte stream of the file.
JSON representation
The following JSON representation shows the resource type.
{
"hashes": {"@odata.type": "microsoft.graph.hashes"},
"mimeType": "string"
}
Properties
Property | Type | Description |
---|---|---|
hashes | hashes | Hashes of the file's binary content, if available. Read-only. |
mimeType | string | The MIME type for the file. This is determined by logic on the server and might not be the value provided when the file was uploaded. Read-only. |
Remarks
For more information about the facets on a DriveItem, see DriveItem.
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per