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. 此字串的格式為 Timestamp

updateTimestring
僅限輸出

The timestamp when the group was last updated. 此字串的格式為 Timestamp

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
}