[ https://issues.apache.org/jira/browse/RANGER-3010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17613850#comment-17613850 ]
Ramachandran commented on RANGER-3010: -------------------------------------- Added QueryParam annotation as part of the existing and new Rest API contract to make it clear understanding for the end users: Existing API's PublicAPIsv2: /api/roles/\{id}/addUsersAndGroups /api/roles/\{id}/removeUsersAndGroups /api/roles/\{id}/removeAdminFromUsersAndGroups RoleREST: /roles/roles/\{id}/addUsersAndGroups /roles/roles/\{id}/removeUsersAndGroups /roles/roles/\{id}/removeAdminFromUsersAndGroups New API's: PublicAPIsv2: /api/roles/name/\{name}/addUsersAndGroups /api/roles/name/\{name}/removeUsersAndGroups /api/roles/name/\{name}/removeAdminFromUsersAndGroups RoleREST: /roles/roles/name/\{name}/addUsersAndGroups /roles/roles/name/\{name}/removeUsersAndGroups /roles/roles/name/\{name}/removeAdminFromUsersAndGroups cc >> [~mad...@apache.org] [~vel] [~pradeep] > Rest API 'addUsersAndGroups' issue > ---------------------------------- > > Key: RANGER-3010 > URL: https://issues.apache.org/jira/browse/RANGER-3010 > Project: Ranger > Issue Type: Improvement > Components: Ranger > Reporter: leo sun > Assignee: Ramachandran > Priority: Major > Attachments: 0001-RANGER-3010-Rest-API-addUsersAndGroups-issue.patch > > Time Spent: 0.5h > Remaining Estimate: 0h > > I want to use Ranger API functions - addUsersAndGroups & removeUsersAndGroups > to manage users and groups of role. But official reference don't have > suitable example for these two APIs. And my all attempts failed. > Another point: For example, I found the input type of addUsersAndGroups is > Boolean on official web, but the input of the implement function is two > string list and one boolean. > I don't know how to use it. Could you help me with this? [~abhayk] -- This message was sent by Atlassian Jira (v8.20.10#820010)