Skip to content

Latest commit

 

History

History
66 lines (50 loc) · 2.94 KB

File metadata and controls

66 lines (50 loc) · 2.94 KB
author spgraph-docs-team
title bundle resource type
description Facet describing a driveItem that is a logical grouping of other driveItems
ms.localizationpriority medium
ms.subservice sharepoint
doc_type resourcePageType
ms.date 06/06/2024

bundle resource type

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

A bundle is a logical grouping of files used to share multiple files at once. It's represented by a driveItem entity containing a bundle facet and can be shared in the same way as any other driveItem.

The bundle facet on a driveItem identifies an item as a bundle and groups bundle-specific information into a single structure. It's only included on driveItem resources returned from the bundles endpoint.

The bundle resource type itself isn't an entity of its own, and is only a facet on a driveItem. The bundles collection on a drive is of type driveItem, not bundle.

Methods

Method Return type Description
List bundles driveItem collection List all bundles in a drive
Get bundle driveItem Get bundle metadata
Create bundle driveItem Create a new bundle
Add item None Add a driveItem to an existing bundle
Remove item None Remove a driveItem from an existing bundle
Update bundle driveItem Update bundle metadata
Delete bundle None Delete bundle

Properties

Property Type Description
childCount Int32 Number of children contained immediately within this container.
album album If the bundle is an album, then the album property is included

Relationships

None.

JSON representation

{
  "childCount": 3,
  "album": { "@odata.type": "microsoft.graph.album" },
}