Retrieves all items associated with a Box Hub.
Version header.
次の値に固定: 2025.0
12345
Hubを表す一意の識別子。
HubのIDを確認するには、ウェブアプリでこのHubにアクセスして、URLからIDをコピーします。たとえば、URLがhttps://*.app.box.com/hubs/123
の場合、hub_id
は123
です。
1000
1000
返す項目の1ページあたりの最大数。
JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii
結果が返される開始位置のマーカー。マーカーベースのページ割りを使用している場合に使用されます。
これを使用するには、usemarker
をtrue
に設定する必要があります。
Retrieves the items associated with the specified Box Hub.
Authorization
ヘッダーで指定されているアクセストークンが認識されないか、指定されていない場合に返されます。
Returned if the Box Hub is not found, or the user does not have access to the Box Hub.
予期しないクライアントエラー。
await client.hubItems.getHubItemsV2025R0({
hubId: createdHub.id,
} satisfies GetHubItemsV2025R0QueryParams);
client.hub_items.get_hub_items_v2025_r0(created_hub.id)
await client.HubItems.GetHubItemsV2025R0Async(queryParams: new GetHubItemsV2025R0QueryParams(hubId: createdHub.Id));
{
"entries": [
{
"id": "12345678",
"name": "My File",
"type": "file"
}
],
"limit": 1000,
"next_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii"
}