members
Check Member Role
Changed onCheck whether a member holds one specific role.
Answers has_role for the role you asked about. The role does not have to exist in the server: one that was deleted, or that belongs elsewhere, simply reports false.
A user who is not in the server answers 404.
Requires an API key with the discord.view_members permission.
get/v1/members/{user_id}/roles/{role_id}/
Request
- Base URLhttps://api.monni.fyi (the document declares no server; this is the origin it was published from)
- URLhttps://api.monni.fyi/v1/members/{user_id}/roles/{role_id}/
- AuthAPI key in header X-API-Key
Path parameters
user_idinteger required
role_idinteger required
Response
Successful Response
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info