52.4.6. 端点前缀 组
有关 Box 组的更多信息,请参阅 https://developer.box.com/reference#group-object。以下端点可以通过前缀 组
调用,如下所示:
box:groups/endpoint?[options]
端点 | 简写别名 | 选项 | 结果 Body 类型 |
---|---|---|---|
createGroup | create | 名称, [provenance, externalSyncIdentifier, description, invitabilityLevel, memberViewabilityLevel] | com.box.sdk.BoxGroup |
addGroupMembership | createMembership | GroupId, userId, role | com.box.sdk.BoxGroupMembership |
deleteGroup | delete | groupId | |
getAllGroups | groups | java.util.Collection | |
getGroupInfo | info | groupId | com.box.sdk.BoxGroup.Info |
updateGroupInfo | updateInfo | groupId, groupInfo | com.box.sdk.BoxGroup |
addGroupMembership | addMembership | GroupId, userId, role | com.box.sdk.BoxGroupMembership |
deleteGroupMembership | deleteMembership | groupMembershipId | |
getGroupMemberships | 成员资格 | groupId | java.uti.Collection |
getGroupMembershipInfo | membershipInfo | groupMembershipId | com.box.sdk.BoxGroup.Info |
updateGroupMembershipInfo | updateMembershipInfo | groupMembershipId, info | com.box.sdk.BoxGroupMembership |
组的 URI 选项
名称 | 类型 |
---|---|
name | 字符串 |
groupId | 字符串 |
userId | 字符串 |
role | com.box.sdk.BoxGroupMembership.Role |
groupMembershipId | 字符串 |
info | com.box.sdk.BoxGroupMembership.Info |