Get details of a specific role
curl --request GET \
--url https://api.example.com/api/roles/{id}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/David9604/BackMaqagr/llms.txt
Use this file to discover all available pages before exploring further.
const response = await fetch('https://api.maqagr.com/api/roles', {
headers: {
'Authorization': `Bearer ${token}`
}
});
const data = await response.json();
const role = data.data.roles.find(r => r.role_id === 1);
src/routes/role.routes.jssrc/controllers/roleController.jscurl --request GET \
--url https://api.example.com/api/roles/{id}