Box Developerドキュメント

Hub Collaboration

A hub collaboration object grants a user or group access to a hub with permissions defined by a specific role.

string
12345678

このコラボレーションの一意の識別子。

string
hub_collaboration

The value will always be hub_collaboration.

次の値に固定: hub_collaboration

true

コンテンツを所有する企業が、コンテンツのコラボレーションに強力なパスワードを要求するかどうか、または外部コラボレータに対して漏えいが確認されたパスワードの検出を適用するかどうか。

true

ユーザーのアカウントに対して、強力なパスワードの要求と漏えいが確認されたパスワードの検出が設定されているかどうか。強力なパスワードが要求されていない場合、このフィールドはnullになります。

true

サービス利用規約に同意済みかどうか。利用規約への同意が必要ない場合、このフィールドはnullです。

コラボレーションが承認される前に同意する必要があるサービス利用規約。 利用規約への同意が必要ない場合、このフィールドはnullです。

11446498

このサービス利用規約の一意の識別子。

terms_of_service

The value will always be terms_of_service.

次の値に固定: terms_of_service

true

このコンテンツを所有する会社が、このコンテンツでのコラボレーションを行うために2要素認証を有効にする必要があるかどうか。

true

ユーザーが2要素認証を有効にしているかどうか。2要素認証が必要ない場合、このフィールドはnullです。

object object

アクセス権限が付与されるユーザーまたはグループ。

The bare basic representation of a hub.

string
editor

The level of access granted to hub. Possible values are editor, viewer, and co-owner.

string
accepted

コラボレーション招待のステータス。ステータスがpendingの場合、loginnameは空の文字列を返します。

次の値のいずれか1つ: accepted,pending,rejected

レスポンスの例

{
  "id": "12345678",
  "type": "hub_collaboration",
  "acceptance_requirements_status": {
    "strong_password_requirement": {
      "enterprise_has_strong_password_required_for_external_users": true,
      "user_has_strong_password": true
    },
    "terms_of_service_requirement": {
      "is_accepted": true,
      "terms_of_service": {
        "id": "11446498",
        "type": "terms_of_service"
      }
    },
    "two_factor_authentication_requirement": {
      "enterprise_has_two_factor_auth_enabled": true,
      "user_has_two_factor_authentication_enabled": true
    }
  },
  "accessible_by": {
    "id": "11446498",
    "type": "user",
    "login": "ceo@example.com",
    "name": "Aaron Levie"
  },
  "hub": {
    "id": "12345",
    "type": "hubs"
  },
  "role": "editor",
  "status": "accepted"
}