groupRolesFromIds
Gets a list of roles from role ids.
Parameters
Name | Type | Description |
---|---|---|
roleIds | ArrayNonEmptyIfConst | The ids of roles to get. |
Example
const { data: roles } = await ClassicGroupsApi.groupRolesFromIds({ roleIds: [38353811] });
Example Data
{
"38353811": {
groupId: 5850082,
name: "NamelessGuy2005 - Scriptor",
rank: 255,
},
}
Endpoint
GET /v1/roles