Group

A mini-community within Roblox for communication, discussions, and more.

属性

pathstring

The resource path of the group.

Format: groups/{group_id}.

createTimestring
仅输出

The timestamp when the group was created. 此字符串格式为 FieldMask

updateTimestring
仅输出

The timestamp when the group was last updated. 此字符串格式为 FieldMask

idstring
仅输出

A unique ID that identifies the group.

displayNamestring

The name of the group.

Must be non-empty. Has a maximum limit of 50 characters.

descriptionstring

The description of the group.

Has a maximum limit of 1000 characters.

ownerstring
仅输出

The resource path of the owner.

If the group is abandoned and has no owner, this field is not returned.

memberCountnumber
仅输出

The total number of members within a group.

publicEntryAllowedboolean

Whether the group allows public entry.

lockedboolean
仅输出

Whether the group is locked.

A locked group is a group that has been moderated/banned by Roblox.

verifiedboolean
仅输出

Whether the group has the verified badge.

基本网址

https://apis.roblox.com
Group 资源

{
"path": "groups/123",
"createTime": "2023-07-05T12:34:56Z",
"updateTime": "2023-07-05T12:34:56Z",
"id": "7",
"displayName": "Roblox",
"description": "Official fan club of Roblox!",
"owner": "users/21557",
"memberCount": 10196297,
"publicEntryAllowed": true,
"locked": true,
"verified": true
}

Group

Get Group
Beta

GET /cloud/v2/groups/{group_id}

Gets the specified group.

请求路径参数
group_idstring
必填

The group ID.

答复Group
GET /cloud/v2/groups/{group_id}

curl -L -X GET 'https://apis.roblox.com/cloud/v2/groups/{group_id}' \
-H 'x-api-key: {your-api-key}'
答复

{
"path": "groups/123",
"createTime": "2023-07-05T12:34:56Z",
"updateTime": "2023-07-05T12:34:56Z",
"id": "7",
"displayName": "Roblox",
"description": "Official fan club of Roblox!",
"owner": "users/21557",
"memberCount": 10196297,
"publicEntryAllowed": true,
"locked": true,
"verified": true
}