> ## 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 Hubコラボレーション リソース

Box Hub内のコラボレーションを管理するために使用される、一連のエンドポイント。

## Box Hubコラボレーション

Box Hubコラボレーションオブジェクトは、特定のロールによって定義される権限を含んだBox Hubへのアクセス権限をユーザーまたはグループに付与します。

<Accordion title="属性と例">
  | プロパティ                            | 型                                                                   | 必須  | 説明                                                                                                            |
  | -------------------------------- | ------------------------------------------------------------------- | --- | ------------------------------------------------------------------------------------------------------------- |
  | `id`                             | `string`                                                            | はい  | このコラボレーションの一意の識別子。                                                                                            |
  | `type`                           | `enum<string>`                                                      | はい  | 値は常に`hub_collaboration`になります。 使用可能なオプション: `hub_collaboration`.                                                |
  | `hub`                            | [Box Hub (Base)](/ja/reference/v2025.0/hubs-resources#box-hub-base) | いいえ |                                                                                                               |
  | `accessible_by`                  | `Box Hubにアクセスできるユーザー`                                               | いいえ |                                                                                                               |
  | `role`                           | `string`                                                            | いいえ | Box Hubに付与されるアクセスレベル。使用可能な値は`editor`、`viewer`、`co-owner`です。                                                   |
  | `status`                         | `enum<string>`                                                      | いいえ | コラボレーション招待のステータス。ステータスが`pending`の場合、`login`と`name`は空の文字列を返します。 使用可能なオプション: `accepted`, `pending`, `rejected`. |
  | `acceptance_requirements_status` | `object`                                                            | いいえ |                                                                                                               |

  ```json 例 theme={null}
  {
    "id": "12345678",
    "type": "hub_collaboration",
    "hub": {
      "id": "12345",
      "type": "hubs"
    },
    "accessible_by": {
      "id": "11446498",
      "type": "user",
      "name": "Aaron Levie",
      "login": "ceo@example.com"
    },
    "role": "editor",
    "status": "accepted",
    "acceptance_requirements_status": {
      "terms_of_service_requirement": {
        "is_accepted": true,
        "terms_of_service": {
          "id": "11446498",
          "type": "terms_of_service"
        }
      },
      "strong_password_requirement": {
        "enterprise_has_strong_password_required_for_external_users": true,
        "user_has_strong_password": true
      },
      "two_factor_authentication_requirement": {
        "enterprise_has_two_factor_auth_enabled": true,
        "user_has_two_factor_authentication_enabled": true
      }
    }
  }
  ```
</Accordion>

## Box Hubコラボレーション

Box Hubコラボレーションのリスト。

<Accordion title="属性と例">
  | プロパティ         | 型                                    | 必須  | 説明                                                                             |
  | ------------- | ------------------------------------ | --- | ------------------------------------------------------------------------------ |
  | `entries`     | array of [Box Hubコラボレーション](#box-hub) | いいえ | Box Hubコラボレーションのリスト。                                                           |
  | `limit`       | `integer`                            | いいえ | これらのエントリで使用された制限値。許容される最大値を超えていない限り、クエリパラメータの`limit`と等しくなります。最大値はAPIによって異なります。 |
  | `next_marker` | `string`                             | いいえ | 次の検索結果ページの開始場所のマーカー。 `null` を指定できます。                                           |

  ```json 例 theme={null}
  {
    "entries": [
      {
        "id": "12345678",
        "type": "hub_collaboration",
        "hub": {
          "id": "12345",
          "type": "hubs"
        },
        "accessible_by": {
          "id": "11446498",
          "type": "user",
          "name": "Aaron Levie",
          "login": "ceo@example.com"
        },
        "role": "editor",
        "status": "accepted",
        "acceptance_requirements_status": {
          "terms_of_service_requirement": {
            "is_accepted": true,
            "terms_of_service": {
              "id": "11446498",
              "type": "terms_of_service"
            }
          },
          "strong_password_requirement": {
            "enterprise_has_strong_password_required_for_external_users": true,
            "user_has_strong_password": true
          },
          "two_factor_authentication_requirement": {
            "enterprise_has_two_factor_auth_enabled": true,
            "user_has_two_factor_authentication_enabled": true
          }
        }
      }
    ],
    "limit": 1000,
    "next_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii"
  }
  ```
</Accordion>
