GroupJoinRequest

特性

pathstring
createTimestring
僅限輸出
userstring
僅限輸出
基本網址

https://apis.roblox.com
GroupJoinRequest資源

{
"path": "groups/123/join-requests/123",
"createTime": "2023-07-05T12:34:56Z",
"user": "users/156"
}

GroupJoinRequest

List Group Join Requests
Beta

GET /cloud/v2/groups/{group_id}/join-requests
範圍
group:read
請求路徑參數
group_idstring
需要
查詢參數
maxPageSizenumber
pageTokenstring
filterstring
回應
nextPageTokenstring
GET /cloud/v2/groups/{group_id}/join-requests

curl -L -X GET 'https://apis.roblox.com/cloud/v2/groups/{group_id}/join-requests?maxPageSize=10&pageToken={string}&filter={string}' \
-H 'x-api-key: {your-api-key}'
回應

{
"groupJoinRequests": [
{
"path": "groups/123/join-requests/123",
"createTime": "2023-07-05T12:34:56Z",
"user": "users/156"
}
],
"nextPageToken": "string"
}

GroupJoinRequest

Accept Group Join Request
Beta

POST /cloud/v2/groups/{group_id}/join-requests/{join_request_id}:accept
範圍
group:write
請求路徑參數
group_idstring
需要
join_request_idstring
需要
請求主體
POST /cloud/v2/groups/{group_id}/join-requests/{join_request_id}:accept

curl -L -X POST 'https://apis.roblox.com/cloud/v2/groups/{group_id}/join-requests/{join_request_id}:accept' \
-H 'x-api-key: {your-api-key}' \
-H 'Content-Type: application/json' \
--data '{}'

GroupJoinRequest

Decline Group Join Request
Beta

POST /cloud/v2/groups/{group_id}/join-requests/{join_request_id}:decline
範圍
group:write
請求路徑參數
group_idstring
需要
join_request_idstring
需要
請求主體
POST /cloud/v2/groups/{group_id}/join-requests/{join_request_id}:decline

curl -L -X POST 'https://apis.roblox.com/cloud/v2/groups/{group_id}/join-requests/{join_request_id}:decline' \
-H 'x-api-key: {your-api-key}' \
-H 'Content-Type: application/json' \
--data '{}'