GroupJoinRequest

Atributos

pathstring
createTimestring
Solo salida
userstring
Solo salida
URL base

https://apis.roblox.com
El recurso 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
Ámbitos
group:read
SolicitudParámetros de ruta
group_idstring
Obligatorio
Parámetros de consulta
maxPageSizenumber
pageTokenstring
filterstring
Respuesta
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}'
Respuesta

{
"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
Ámbitos
group:write
SolicitudParámetros de ruta
group_idstring
Obligatorio
join_request_idstring
Obligatorio
Solicitar cuerpo
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
Ámbitos
group:write
SolicitudParámetros de ruta
group_idstring
Obligatorio
join_request_idstring
Obligatorio
Solicitar cuerpo
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 '{}'