| author | spgraph-docs-team |
|---|---|
| description | or a collection of items that should be treated as a collection instead of individual items. |
| ms.date | 09/10/2017 |
| title | Package |
| ms.localizationpriority | medium |
| doc_type | resourcePageType |
| ms.subservice | onedrive |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
The Package resource indicates that a DriveItem is the top level item in a "package" or a collection of items that should be treated as a collection instead of individual items.
An example of a package is a OneNote notebook. While the notebook is made up of files and folders that represent the contents of the notebook, the top level item that represents the notebook has a package facet to indicate to clients that this is a collection of data that should be treated special.
DriveItems with the package facet do not include a folder or file facet but are conceptually similar to an item with a folder facet.
| Property Name | Type | Description |
|---|---|---|
| type | string | Indicates the type of package. While oneNote is the only currently defined value, you should expect other package types to be returned and handle them accordingly. |
None.
{
"type": "oneNote"
}For more information about the facets on a DriveItem, see DriveItem.