GroupJoinRequest

Attributs

pathstring
createTimestring
Sortie seule
userstring
Sortie seule
URL de base

https://apis.roblox.com/cloud
La ressource GroupJoinRequest

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

GroupJoinRequest

List Group Join Requests
Bêta

GET /cloud/v2/groups/{group}/join-requests
Périmètres d'application
group:read
RequêteParamètres du chemin
groupstring
Requis
Paramètres de requête
maxPageSizenumber
pageTokenstring
filterstring
Réponse
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}'
Réponse

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

GroupJoinRequest

Accept Group Join Request
Bêta

POST /cloud/v2/groups/{group}/join-requests/{join-request}:accept
Périmètres d'application
group:write
RequêteParamètres du chemin
groupstring
Requis
join-requeststring
Requis
Corps de la requête
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
Bêta

POST /cloud/v2/groups/{group}/join-requests/{join-request}:decline
Périmètres d'application
group:write
RequêteParamètres du chemin
groupstring
Requis
join-requeststring
Requis
Corps de la requête
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 '{}'