@Path(value="permissions")
public interface IPermissionsResource
| Modifier and Type | Method and Description |
|---|---|
io.apiman.manager.api.beans.idm.UserPermissionsBean |
getPermissionsForCurrentUser()
This endpoint returns all of the permissions assigned to the currently
authenticated user.
|
io.apiman.manager.api.beans.idm.UserPermissionsBean |
getPermissionsForUser(String userId)
This endpoint returns all of the permissions assigned to a specific user.
|
@GET
@Path(value="{userId}")
@Produces(value="application/json")
io.apiman.manager.api.beans.idm.UserPermissionsBean getPermissionsForUser(@PathParam(value="userId")
String userId)
throws UserNotFoundException,
NotAuthorizedException
userId - The user's ID.UserNotFoundExceptionNotAuthorizedException@GET
@Produces(value="application/json")
io.apiman.manager.api.beans.idm.UserPermissionsBean getPermissionsForCurrentUser()
throws UserNotFoundException
UserNotFoundExceptionCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.