*此內容是使用 AI(Beta 測試版)翻譯,可能含有錯誤。若要以英文檢視此頁面,請按一下這裡

Group

內置 Roblox 的迷你社群,用於通訊、討論和其他用途。

特性

pathstring

群組的資源路徑。

格式:groups/{group_id}.

createTimestring
僅限輸出

群組創建時的時戳。. 此字串的格式為 Timestamp

updateTimestring
僅限輸出

群組上次更新時的時戳。. 此字串的格式為 Timestamp

idstring
僅限輸出

一個唯一標識群組的ID。.

displayNamestring

群組的名稱。

必須不為空。有最大限制為 50 個字元。.

descriptionstring

群組的說明。

最大限制為 1000 個字元。.

ownerstring
僅限輸出

所有者的資源路徑。

如果群組被放棄且沒有所有者,此欄位不會返回。.

memberCountnumber
僅限輸出

群組內的會員總數。.

publicEntryAllowedboolean

群組是否允許公眾進入。.

lockedboolean
僅限輸出

群組是否被鎖定。

鎖定的群組是 Roblox 已經管理/禁止的群組。.

verifiedboolean
僅限輸出

群組是否擁有已驗證的徽章。.

基本網址

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

取得群組
Beta

GET /cloud/v2/groups/{group_id}

取得指定的群組。

請求路徑參數
group_idstring
需要

群組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
}