Box Developerドキュメント

Box Hub

A standard representation of a Box Hub, as returned from any Box Hubs API endpoints by default.

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

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

string
12345

The unique identifier that represent a Box Hub.

The ID for any Box Hub can be determined by visiting a Box 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

値は常にhubsになります。

次の値に固定: hubs

true

Indicates if non-owners can invite others to the Box Hub.

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

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

object

The user who created this Box Hub.

11446498

このユーザーの一意の識別子。

user

値は常にuserになります。

次の値に固定: user

string (email)
ceo@example.com

このユーザーのプライマリメールアドレス。

Aaron Levie
50

このユーザーの表示名。

All the contracts for the company.

The description of the Box Hub. First 200 characters are returned.

true

Indicates if AI features are enabled for the Box Hub.

true

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

string
Contracts

The title given to the Box Hub.

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

The date and time when the Box Hub was last updated.

object

The user who last modified this Box Hub.

11446498

このユーザーの一意の識別子。

user

値は常にuserになります。

次の値に固定: user

string (email)
ceo@example.com

このユーザーのプライマリメールアドレス。

Aaron Levie
50

このユーザーの表示名。

integer (int32)
506

The number of views for the Box 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
}