GroupJoinRequest

Atrybuty

pathstring
createTimestring
Tylko dane wyjściowe
userstring
Tylko dane wyjściowe
Podstawowy adres URL

https://apis.roblox.com/cloud
Zasób 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}/join-requests
Zakresy
group:read
ŻądanieParametry ścieżki
groupstring
Wymagane
Parametry zapytania
maxPageSizenumber
pageTokenstring
filterstring
Odpowiedź:
nextPageTokenstring
GET /cloud/v2/groups/{group}/join-requests

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

{
"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}/join-requests/{join-request}:accept
Zakresy
group:write
ŻądanieParametry ścieżki
groupstring
Wymagane
join-requeststring
Wymagane
Treść żądania
POST /cloud/v2/groups/{group}/join-requests/{join-request}:accept

curl -L -X POST 'https://apis.roblox.com/cloud/v2/groups/{group}/join-requests/{join-request}:accept' \
-H 'x-api-key: {your-api-key}' \
--data '{}'

GroupJoinRequest

Decline Group Join Request
Beta

POST /cloud/v2/groups/{group}/join-requests/{join-request}:decline
Zakresy
group:write
ŻądanieParametry ścieżki
groupstring
Wymagane
join-requeststring
Wymagane
Treść żądania
POST /cloud/v2/groups/{group}/join-requests/{join-request}:decline

curl -L -X POST 'https://apis.roblox.com/cloud/v2/groups/{group}/join-requests/{join-request}:decline' \
-H 'x-api-key: {your-api-key}' \
--data '{}'