'GET /api/groups/{encoded_group_id}/roles/{encoded_role_id}
Displays information about a group role.'

@web.expose_api
@web.require_admin
def show(self, trans, id, group_id, **kwd):

    role_id = id
    decoded_group_id = trans.security.decode_id(group_id)
    decoded_role_id = trans.security.decode_id(role_id)
    item = None
    try:
        group = trans.sa_session.query(trans.app.model.Group).get(decoded_group_id)
        role = trans.sa_session.query(trans.app.model.Role).get(decoded_role_id)
        for gra in group.roles:
            if (gra.role == role):
                item = dict(id=role_id, name=role.name, url=url_for('group_role', group_id=group_id, id=role_id))
        if (not item):
            item = ('role    %s    not    in    group    %s' % (role.name, group.name))
    except Exception as e:
        item = ('Error    in    group_role    API    group    %s    role    %s' % (group.name, role.name))
        log.error((item + (':    %s' % str(e))))
    return item
