Box Hubコラボレーション
Box Hubコラボレーションオブジェクトは、特定のロールによって定義される権限を含んだBox Hubへのアクセス権限をユーザーまたはグループに付与します。属性と例
属性と例
| プロパティ | 型 | 必須 | 説明 |
|---|---|---|---|
id | string | はい | このコラボレーションの一意の識別子。 |
type | enum<string> | はい | 値は常にhub_collaborationになります。 使用可能なオプション: hub_collaboration. |
hub | 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 | いいえ |
例
{
"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
}
}
}
Box Hubコラボレーション
Box Hubコラボレーションのリスト。属性と例
属性と例
| プロパティ | 型 | 必須 | 説明 |
|---|---|---|---|
entries | array of Box Hubコラボレーション | いいえ | Box Hubコラボレーションのリスト。 |
limit | integer | いいえ | これらのエントリで使用された制限値。許容される最大値を超えていない限り、クエリパラメータのlimitと等しくなります。最大値はAPIによって異なります。 |
next_marker | string | いいえ | 次の検索結果ページの開始場所のマーカー。 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"
}
