Add Items To Hub
add_items_to_hubFull Description
Adds files, folders, or web links to a specific hub, enabling content organization within collaborative workspaces. Essential for building and curating hub content by adding relevant materials to the collaborative space.
This tool enables the population of hubs with relevant content, making it easy to organize materials within collaborative workspaces. You can add multiple items at once, supporting efficient hub content management and organization.
Key Features:
- Adds multiple items (files, folders, web links) to hubs in a single operation
- Supports batch operations for efficient content organization
- Works with all Box content types: files, folders, and web links
- Provides confirmation of successful additions with detailed results
Supported Item Types:
file: Box files of any typefolder: Box folders and their contentsweb_link: External web links and bookmarks
<examples> Add a single file to a hub: <input> { "hub_id": "12345", "items": [ {"id": "98765", "type": "file"} ] } </input>
Add multiple items to a hub: <input> { "hub_id": "12345", "items": [ {"id": "98765", "type": "file"}, {"id": "54321", "type": "folder"}, {"id": "11111", "type": "web_link"} ] } </input>
Add resources to a team hub: <input> { "hub_id": "55555", "items": [ {"id": "111111", "type": "folder"}, {"id": "222222", "type": "web_link"}, {"id": "333333", "type": "file"} ] } </input> </examples>
Parameters (2 required)
hub_idstringThe ID of the hub to add items to
itemsarrayArray of items to add to the hub