メインコンテンツへスキップ
GET
/
hubs
/
{hub_id}
Python
client.hubs.get_hub_by_id_v2025_r0(hub_id)
{
  "id": "12345",
  "type": "hubs",
  "title": "Contracts",
  "description": "All the contracts for the company.",
  "created_at": "2012-12-12T10:53:43Z",
  "updated_at": "2012-12-12T10:53:43Z",
  "created_by": {
    "id": "11446498",
    "type": "user",
    "name": "Aaron Levie",
    "login": "ceo@example.com"
  },
  "updated_by": {
    "id": "11446498",
    "type": "user",
    "name": "Aaron Levie",
    "login": "ceo@example.com"
  },
  "view_count": 506,
  "is_ai_enabled": true,
  "is_collaboration_restricted_to_enterprise": true,
  "can_non_owners_invite": true,
  "can_shared_link_be_created": true
}

Documentation Index

Fetch the complete documentation index at: https://developer.box.com/llms.txt

Use this file to discover all available pages before exploring further.

Box SDKのバージョニング戦略について詳しく学ぶ。」

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

ヘッダー

box-version
enum<string>
必須

Version header.

利用可能なオプション:
2025.0

パスパラメータ

hub_id
string
必須

Hubを表す一意の識別子。

HubのIDを確認するには、ウェブアプリでこのHubにアクセスして、URLからIDをコピーします。たとえば、URLがhttps://*.app.box.com/hubs/123の場合、hub_id123です。

レスポンス

Hubオブジェクトを返します。

任意のBox Hubs APIエンドポイントからデフォルトで返されるBox HubのStandard版の表示。

id
string
必須

Box Hubを表す一意の識別子。

Box HubのIDを確認するには、ウェブアプリでBox Hubにアクセスして、URLからIDをコピーします。たとえば、URLがhttps://*.app.box.com/hubs/123の場合、hub_id123です。

:

"12345"

type
enum<string>
必須

値は常にhubsになります。

利用可能なオプション:
hubs
:

"hubs"

title
string

Box Hubのタイトル。

:

"Contracts"

description
string

Box Hubの説明。最初の200文字が返されます。

:

"All the contracts for the company."

created_at
string<date-time>

このフォルダが作成された日時。ルートフォルダやごみ箱フォルダなど、一部のフォルダの場合、この値はnullになる場合があります。

:

"2012-12-12T10:53:43Z"

updated_at
string<date-time>

Box Hubが最後に更新された日時。

:

"2012-12-12T10:53:43Z"

created_by
ユーザー (Mini) · object

このBox Hubを作成したユーザー。

updated_by
ユーザー (Mini) · object

このBox Hubを最後に変更したユーザー。

view_count
integer<int32>

Box Hubの表示回数。

:

506

is_ai_enabled
boolean

AI機能がBox Hubに対して有効になっているかどうかを示します。

:

true

is_collaboration_restricted_to_enterprise
boolean

コラボレーションが企業に制限されているかどうかを示します。

:

true

can_non_owners_invite
boolean

所有者以外のユーザーが他のユーザーをBox Hubに招待できるかどうかを示します。

:

true

Box Hubに対して共有リンクを作成できるかどうかを示します。

:

true