Retrieves all items associated with a Box Hub.
This operation is performed by calling function getHubItemsV2025R0.
See the endpoint docs at API Reference.
await client.hubItems.getHubItemsV2025R0({
hubId: createdHub.id,
} satisfies GetHubItemsV2025R0QueryParams);
GetHubItemsV2025R0QueryParams
GetHubItemsV2025R0OptionalsInputThis function returns a value of type HubItemsV2025R0.
Retrieves the items associated with the specified Box Hub.
Adds and/or removes Box Hub items from a Box Hub.
This operation is performed by calling function manageHubItemsV2025R0.
See the endpoint docs at API Reference.
await client.hubItems.manageHubItemsV2025R0(createdHub.id, {
operations: [
{
action: 'add' as HubItemOperationV2025R0ActionField,
item: new FolderReferenceV2025R0({ id: folder.id }),
} satisfies HubItemOperationV2025R0,
],
} satisfies HubItemsManageRequestV2025R0);
string
https://*.app.box.com/hubs/123 the hub_id is 123. Example: “12345”HubItemsManageRequestV2025R0
ManageHubItemsV2025R0OptionalsInputThis function returns a value of type HubItemsManageResponseV2025R0.