Box Developerドキュメント

Hub

A standard representation of a hub, as returned from any hubs API endpoints by default.

このリソースにはAPIの使用時に発生する可能性があるいくつかのバリエーションがあります。

通常、Standardバリアントに含まれるフィールドは、固有のAPIエンドポイントを介してこのリソースがリクエストされたときに返されます。 たとえば、fieldsパラメータが指定されていない場合、IDでファイルを取得すると、これらのフィールドが返されます。

string
12345

The unique identifier that represent a hub.

The ID for any hub can be determined by visiting a hub in the web application and copying the ID from the URL. For example, for the URL https://*.app.box.com/hubs/123 the hub_id is 123.

string
hubs

The value will always be hubs.

次の値に固定: hubs

true

Indicates if non-owners can invite others to the hub.

string (date-time)
2012-12-12T10:53:43Z

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

object

The user who created this hub.

11446498

The unique identifier for this user.

user

The value will always be user.

次の値に固定: user

string (email)
ceo@example.com

The primary email address of this user.

Aaron Levie
50

The display name of this user.

All the contracts for the company.

The description of the hub. First 200 characters are returned.

true

Indicates if AI features are enabled for the hub.

true

Indicates if collaboration is restricted to the enterprise.

string
Contracts

The title given to the hub.

string (date-time)
2012-12-12T10:53:43Z

The date and time when the hub was last updated.

object

The user who last modified this hub.

11446498

The unique identifier for this user.

user

The value will always be user.

次の値に固定: user

string (email)
ceo@example.com

The primary email address of this user.

Aaron Levie
50

The display name of this user.

integer (int32)
506

The number of views for the hub.

レスポンスの例

{
  "id": "12345",
  "type": "hubs",
  "can_non_owners_invite": true,
  "can_shared_link_be_created": true,
  "created_at": "2012-12-12T10:53:43Z",
  "created_by": {
    "id": "11446498",
    "type": "user",
    "login": "ceo@example.com",
    "name": "Aaron Levie"
  },
  "description": "All the contracts for the company.",
  "is_ai_enabled": true,
  "is_collaboration_restricted_to_enterprise": true,
  "title": "Contracts",
  "updated_at": "2012-12-12T10:53:43Z",
  "updated_by": {
    "id": "11446498",
    "type": "user",
    "login": "ceo@example.com",
    "name": "Aaron Levie"
  },
  "view_count": 506
}